Project

General

Profile

Actions

Bug #11300

closed

Alinco DR-735T: "Unsupported radio model"

Added by Jay Mottern 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/12/2024
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next
Model affected:
Alinco DR-735T
Platform:
Linux
I read the instructions above:
Yes

Description

I've just installed the 20240410 version of CHIRP-NEXT from the Python wheel on my Debian Bullseye shack computer, connected a programming cable (one of those with several different connectors: I used the 3mm TRS plug which I connected to the jack nearest to the fan as per the Cloning instructions in the Alinco DR-735T's manual) and tried to download from the radio (which is brand-new, I just got it on Wednesday.) CHIRP tells me "Failed to download from radio. Unsupported radio model."


Files

alinco_dr735t.py (13.1 KB) alinco_dr735t.py Dan Smith, 04/12/2024 06:44 PM
chirp_debug-7aio2trl.txt (6.24 KB) chirp_debug-7aio2trl.txt Jay Mottern, 04/12/2024 06:52 PM
chirp_debug-n_c58jvn.txt (8.4 KB) chirp_debug-n_c58jvn.txt Jay Mottern, 04/20/2024 06:14 PM
chirp_debug-u4rep7kp.txt (5.02 KB) chirp_debug-u4rep7kp.txt Jay Mottern, 04/20/2024 06:14 PM
alinco_dr735t.py (13.2 KB) alinco_dr735t.py Potentially dangerous modified DR735 driver Dan Smith, 04/20/2024 08:37 PM
Alinco_DR735T_20240421.img (62.7 KB) Alinco_DR735T_20240421.img Jay Mottern, 04/20/2024 08:59 PM
alinco_dr735t.py (13.5 KB) alinco_dr735t.py Second, potentially dangerous DR-735T driver Jacob Calvert, 04/21/2024 07:43 AM
chirp-error-issue-11300.txt (3.41 KB) chirp-error-issue-11300.txt Jay Mottern, 04/21/2024 11:26 PM
Alinco_DR735T_20240422.img (62.7 KB) Alinco_DR735T_20240422.img Jay Mottern, 04/21/2024 11:26 PM
Screenshot_2024-04-22_11-32-28.png (152 KB) Screenshot_2024-04-22_11-32-28.png Jay Mottern, 04/21/2024 11:26 PM
alinco_dr735t.py (13.5 KB) alinco_dr735t.py Third, potentially dangerous DR-735T driver Jacob Calvert, 04/22/2024 05:50 AM
alinco_dr735t.py (15.4 KB) alinco_dr735t.py Fourth, potentially dangerous DR-735T driver Jacob Calvert, 04/22/2024 06:04 AM
Alinco_DR735T_20240423.img (62.7 KB) Alinco_DR735T_20240423.img Jay Mottern, 04/22/2024 05:08 PM
chirp_debug-eitrj9sm.txt (3.99 KB) chirp_debug-eitrj9sm.txt Jay Mottern, 04/22/2024 06:15 PM
tuningstepsauto.png (128 KB) tuningstepsauto.png Jay Mottern, 04/23/2024 04:36 PM
Actions #1

Updated by Dan Smith 7 months ago

Can you retry with this and capture the resulting debug log? It'll help show what ID it's actually getting. Instructions here: LoadingTestModules

Actions #2

Updated by Jay Mottern 7 months ago

Dan Smith wrote in #note-1:

Can you retry with this and capture the resulting debug log? It'll help show what ID it's actually getting. Instructions here: LoadingTestModules

Done.

Actions #3

Updated by Dan Smith 7 months ago

Okay, thanks. It's getting absolutely nothing from the radio, so I suspect cabling or radio configuration issues. I don't have this radio though so I'm copying the author to see if he has suggestions.

Also, unrelated, but note that tomorrow's build will be dropping support for python 3.9, which I see you're running in bullseye (by default).

Actions #4

Updated by Jay Mottern 7 months ago

Dan Smith wrote in #note-3:

Okay, thanks. It's getting absolutely nothing from the radio, so I suspect cabling or radio configuration issues. I don't have this radio though so I'm copying the author to see if he has suggestions.

Also, unrelated, but note that tomorrow's build will be dropping support for python 3.9, which I see you're running in bullseye (by default).

So it looks like I'll have to locate and buy Alinco's programming cable and try again (and also figure out how to upgrade python3 since there's no newer version in the repositories.) Thanks, Dan. 73 de DW7GDL.

Actions #5

Updated by Jacob Calvert 7 months ago

I think it's probably a cable/physical layer issue as well. I saw that the
USB device is a CH340. I have read elsewhere (
https://www.transmission1.net/viewtopic.php?t=59212) some folks using those
USB-serial chips have an issue with it due to the strong PU resistance on
the TX line. I tested with a homebrew cable from this schematic (
http://n0dim.com/Documents/Build-a-OPC-478U-Clone-200727.pdf) and used an
FTDI USB-serial chip and used a 47k PU.

On Fri, Apr 12, 2024, 9:04 PM Jay Mottern redmine@chirpmyradio.com wrote:

Actions #6

Updated by Dan Smith 7 months ago

Yeah, there has been a sharp increase in the number of seriously terrible aftermarket cables recently, so it's easy to believe that's the problem I think. It's unfortunate for sure.

Note that upgrading to debian bookworm will get you python 3.11.

Updated by Jay Mottern 7 months ago

I've upgraded to Bookworm and have Python3 version 3.11 now. I installed
the 2014-04-19 version of CHIRP-NEXT and I bought the Alinco ERW-7
programming cable. I'm having the same problem. I wonder, could it be a
baudrate issue?

On 4/13/24 11:15, Dan Smith wrote:

Actions #8

Updated by Dan Smith 7 months ago

Nope, the baud rate is set by chirp. Also, your debug log indicates that it's actually talking to the radio now, but the model string (DR735TE) is different from what the driver expects (DR735TN). Is yours the european version perhaps? I imagine we can make the driver just accept either string, but I'll defer to Jacob for that. Happy to cook up a test driver for you to try if that's the case.

Actions #9

Updated by Jay Mottern 7 months ago

It says it's a T on the box and manual and I was able to put it into
crossband repeater mode once, but I bought it in the Philippines so
heaven knows what firmware they put into it. Usually, radios from the
Big Three purchased here are US versions but this is my first ever
Alinco (I'm usually a Yaesu guy.) Maybe it's an Asian or Japanese
version that's an odd hybrid of the T and E?

If a modification to make CHIRP support both versions of the radio is
what's needed to let me access it from my computer, and if it isn't
going to brick my radio, I'm all for it and will be happy to help test it.

73.

On 4/21/24 09:31, Dan Smith wrote:

Actions #10

Updated by Dan Smith 7 months ago

Yaesus are really fragile when it comes to this sort of thing. I'm not sure about Alincos because I don't have has much experience with them, which has me a bit timid. I certainly can't promise it's safe. I think the best thing would be to wait for Jacob to opine about robustness. Perhaps we can also just download an image from it and see if it looks basically identical. Certainly most of the geo-variants are identical, but there's one example I can think of (a Yaesu of course) that has multiple things under the same badge but that differ quite a bit between the variations.

Actions #11

Updated by Jay Mottern 7 months ago

How can I download an image from the radio?

Off-topic but I wish all radios were as simple as my Retevis RT95 VOX.
Unfortunately I needed a dual band radio with a 6 pin mini DIN data jack
and the Alinco is the only one I could find unless you count the
counterfeit Yaesu FT-7900Rs from China. No one with a used radio that
had that jack was willing to part with them, so now I'm stuck with the
Alinco.

I can program it from the radio and mic and it works OK, but when
something doesn't work properly I miss being able to look at everything
in CHIRP so I can see what I did wrong. :)

By the way, I was able to use Alinco's "memory editor" in Windows 10
yesterday to communicate with the radio, but unfortunately (or
fortunately, maybe, as I dislike Windows) the only way I could get
Bookworm to install was to do a full disk installation which wiped out
my Windows partitions. All Alinco's app did was save the memory and
settings to a .csv file anyway.

73.

On 4/21/24 10:32, Dan Smith wrote:

Actions #12

Updated by Dan Smith 7 months ago

Here's a modified version of the driver that will accept your model string. I would advise you to download an image only (assuming that works) and attach it here for inspection, which might tell us something. If you try an upload, that's up to you, but that's where the danger would be. If it were a kenwood or icom, I'd have no problem at all. On a Yaesu, I wouldn't.

Load it with LoadingTestModules as before.

Actions #13

Updated by Jay Mottern 7 months ago

I had to add a couple of repeaters real quick so you wouldn't just get
an empty file.

On 4/21/24 11:38, Dan Smith wrote:

Actions #14

Updated by Dan Smith 7 months ago

Okay, so, the two channels you added look reasonably similar to the format of the example file we have in the tree. However, as you probably noticed, the rest of the file is "blanked" in a different way than the example file, which is why you see all the failed-to-load memories after that.

So at the very least, we'll need a variant driver for the other one that handles that difference. But, let's wait for Jacob to (hopefully) chime in after he has a chance to have a look.

Actions #15

Updated by Jay Mottern 7 months ago

OK, I've been waiting for almost 2 weeks. I can wait longer. No rush,
and thanks for your work. 73.

On 4/21/24 12:08, Dan Smith wrote:

Actions #16

Updated by Jay Mottern 7 months ago

Now that I'm finally able to download from the radio I tried a couple of
experiments, just FYI. (More data for you even if it turns out not to be
relevant to the issue.)

After a complete, factory reset I set advanced set menu item 33, memory
channel mode selection, to MEMORY L/R to give me separate memories for
the left and right VFOs. I added a bunch of marine band VHF channels to
the one on the left (I plan to use the left VFO as a scanner) and
entered 439.9875MHz in the right VFO as I plan to use it along with the
6 pin mini DIN TNC jack as a wide-range POCSAG paging transmitter for
DAPNET (https://hampager.de/) then downloaded an image in CHIRP. The far
left column in the image was entirely red and none of my programmed
frequencies appeared. I recall that yesterday when I used Alinco's
memory editor tool there was a long list of I assume common memory
channels, followed by a list of ones whose memory names began with an L,
followed by another whose names began with an r (lower case) and these
were where my programmed frequencies appeared. (I wish I had saved that
csv file before I lost my Windows installation during the Linux upgrade.)

I changed menu item 33 to MEMORY COMMON and reprogrammed all of the
frequencies then downloaded in an image in CHIRP again. This time all of
my frequencies show up but all the rows afterward are red in the first
column, just like the earlier image with the two repeaters. Furthermore,
when I try to enter a name for 439.9875 in CHIRP it says Invalid edit:
unable to find a supported tuning step for 439.987500. (The tuning step
for the right VFO is set to 12.5.)

Don't know if this is helpful or not.

73.

On 4/21/24 12:08 PM, Dan Smith wrote:

Actions #17

Updated by Jacob Calvert 7 months ago

Hi Jay, Dan,

The DR735TE is most likely the European variant based on how Alinco names their other radios and firmware files as far as I can tell.

As far as the 0xFF values for blank channels: I just full factory reset my DR-735TN unit and read back the memory and that's what they are on factory reset, but when you blank one with the Alinco programmer, it's all 0x00, so that's where the 0xFF's are coming from. I attached a modified version of the driver which will accept those 0xFF channels and deal with them accordingly.

On the L/R channels vs. common: I only implemented the 1000 common channels first. The L/R channels (and the special call channels) follow the common ones in memory it seemed from my snooping, but I did not implement them yet. Also, tuning step per channel is not supported (at least not by the Alinco programmer) so I removed it.

If you can read your radio correctly with this driver, I think it can be written as well, but I can't be sure with the model being different.

73

Updated by Jay Mottern 7 months ago

Jacob:

That module is able to read from the radio without coloring all of the
empty line numbers red in the first column left of the frequency fields,
but as soon as I try adding a new frequency in an empty row it turns
red, and when I tab over to the Name field CHIRP says invalid edit:
frequency 0.000000 is out of supported range. The attached .txt file is
the contents of the terminal in which I started CHIRP.

73, Jay

On 4/21/24 22:46, Jacob Calvert wrote:

Actions #19

Updated by Jacob Calvert 7 months ago

Jay, that was my fault. In modifying the driver to deal with the 0xFF blanked channels, I set everything to 0 on cleared... of course 0.00MHz is not valid haha! Give this attached one a go, where it is corrected.

Actions #20

Updated by Jacob Calvert 7 months ago

Jay, one last change here: I need to default the extended properties as well (things like the Tx/Rx/Stby color, heterodyne mode, etc.). I've done that in this latest upload.

Actions #21

Updated by Jay Mottern 7 months ago

Jacob:

It's 99% working, thank you! I can download an image from the radio,
save then modify it to add a repeater, then upload it. I can add names
to channel entries too, except for the DAPNET frequency of 439.9875MHz.
It still tells me "unable to find a supported tuning step for 438,987500"

(While you're in there, is it possible to make the row with the column
titles slightly taller? Titles with two words one atop the other, like
"tone mode" and "tone squelch", are partially cut off on the top and
bottom.)

On 4/22/24 21:05, Jacob Calvert wrote:

Actions #22

Updated by Dan Smith 7 months ago

(While you're in there, is it possible to make the row with the column
titles slightly taller? Titles with two words one atop the other, like
"tone mode" and "tone squelch", are partially cut off on the top and
bottom.)

This has nothing to do with the driver, it's a core CHIRP thing. It is probably a result of whatever GTK theme ends up getting loaded for you, and as you probably know, linux UI themes are a huge surface to cover. If you can show me a screenshot and also maybe indicate what themes you're running I might be able to have a look at this. But, we should keep it separate from the driver work.

Actions #23

Updated by Jay Mottern 7 months ago

OK, I'll try different GTK themes.

Speaking of the driver issue, I forgot to attach the debug log for the
error I get after trying to name the 439.9875 memory channel in CHIRP.

On 4/23/24 08:13, Dan Smith wrote:

Actions #24

Updated by Jacob Calvert 7 months ago

@Jay Boehme, glad to hear it worked. @Daniel Fiechter, I will tidy up these changes, test, and drop them in a PR in the next week or so.

Actions #25

Updated by Jay Mottern 7 months ago

Should I open a new bug report about 12.5KHz not being recognized as a
valid tuning step?

On 4/24/24 00:23, Jacob Calvert wrote:

Actions #26

Updated by Dan Smith 7 months ago

The 12.5kHz step thing is driver-specific so it's related. I haven't tried to reproduce or look at why the driver is rejecting it. Jacob, I'd like to get this fix out as soon as we can, so if you don't have time to look into the 12.5kHz thing before you get it into a PR I can have a look.

Actions #27

Updated by Jay Mottern 7 months ago

BTW, the available tuning steps are Auto, 5, 6.25, 8.33, 10, 12.5, 15,
20, 25, 30, 50 and 100 KHz. The attachment shows what the setting "Auto"
represents.

On 4/24/24 07:21, Dan Smith wrote:

Actions #28

Updated by Jacob Calvert 7 months ago

I think I know the problem for the tuning step also. I can get it into the
same PR, but I am traveling until next week and won't be able to test it
until then, but if you want to fix it before then please do and I'll just
PR for the European version addition and factory reset fixes.

73

On Tue, Apr 23, 2024, 6:36 PM Jay Mottern redmine@chirpmyradio.com wrote:

Actions #29

Updated by Dan Smith 7 months ago

Can I just land the latest version here? You said you had cleanups to do, but I haven't diff'd it to see what those are. Not a huge deal to wait, but I can do the paperwork of landing it and working in the 12.5kHz thing so you don't have to.

Actions #30

Updated by Dan Smith 7 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #31

Updated by Dan Smith 7 months ago

I meant to comment here that I just applied the change here (fixing a few things it regressed related to detection and logging the model string). I also added 12.5 to the available tuning step list, which seemed to work for me. We can do further cleanups if necessary and if the 12.5 fix wasn't actually sufficient, please open another bug.

Thanks!

Actions

Also available in: Atom PDF