Bug #10824
closedYaesu FT-50R Upload Issue
100%
Description
I am having a strange problem when I attempt to upload to my Yaesu FT-50R handheld. I follow all of the correct preparatory steps, and the radio reports "WAIT". When I click "OK" to begin the upload, CHIRP reports "CHIRP failed to communicate with radio (can only concatenate str (not "bytes") to str)". I have tried this on two PC's including one Windows 10 box and one Windows 11 box with the same results. The programming cable uses the Prolific chipset with the PL2303TA chipset. Under Windows 10, it is installed with the Prolific version 3.8.42 dated 02/22/2023. Under Windows 11, the Prolific driver is version 1.12.0 as a means of forcing Windows 11 to recognize the programming cable and talk to it.
The system will download from the radio with no problem. I reset the radio to factory settings because some of the memories were reporting "index out of range", and I wanted a clean start with this radio that I recently acquired. I can program the radio manually, and that programming shows up properly when I download the radio into CHIRP.
The .IMG files of both a factory data file and the data file that I am attempting to upload are attached, as is the debug log file.
Files
Updated by Dan Smith about 1 year ago
- Has duplicate Bug #10825: Yaesu FT-50R Upload Issue added
Updated by Dan Smith about 1 year ago
Can you test this module? See LoadingTestModules for instructions.
Updated by Christopher Prioli about 1 year ago
Module loaded OK, but on upload attempt, errmess RADIO DID NOT ACK BLOCK 1 was returned, then on next attempt reported original error. Current debug log is attached.
Updated by Dan Smith about 1 year ago
Okay, it's hard to tell but I think maybe you opened your existing .img file, then loaded the module, then tried an upload, is that right? If so, you need to load the module first (in a freshly-started chirp), then open the .img file, then try to do an upload. I should update the instructions to clarify that...
Updated by Christopher Prioli about 1 year ago
- File debug.log debug.log added
- File debuglog.old debuglog.old added
- File cap0844.jpg cap0844.jpg added
OK... I had actually done both before, but just now I did the following:
- Open a fresh CHIRP instance
- Load the new module
- Open the .IMG file
- Attempt the upload
I received the error message shown in the attached screen image. The earlier debug log and a new clean one are also attached.
Thanks for the help...
Updated by Dan Smith about 1 year ago
Okay, I see another issue. The ft50 is a bit of a strange one compared to the other similar models and has a different upload routine. I didn't write this driver so I have to stumble through it. Here's another one to try. Thanks!
Updated by Christopher Prioli about 1 year ago
Same error message. Current debug log is attached.
Updated by Dan Smith about 1 year ago
Okay, but that change did make it slightly more correct. Another one to try here with another correction which also adds some more logging to hopefully see what's going on.
This is difficult and frustrating to do remotely without hands on a radio, so I appreciate your patience. Hopefully we'll just grind through them and it'll click :)
Updated by Christopher Prioli about 1 year ago
Same thing from my end. Here is the newest debug log...
Updated by Dan Smith about 1 year ago
Okay, that definitely looks like it's doing the right thing now (i.e. actually sending to the radio what we expect and getting the echo back from the cable). But, it's not getting any response from the radio. To be clear, you're putting the radio into clone mode and pushing whatever button is required to get it ready to receive the image (i.e. when it says WAIT), right? What does the radio do when this all happens? Does it stay in WAIT state or change to something else?
Updated by Christopher Prioli about 1 year ago
The radio stays in the WAIT mode. I am following all of the requisite preparatory steps. Powering on the radio with PTT and the VFO knob pressed, then pressing the MON switch to put the radio into the WAIT condition.
Updated by Christopher Prioli about 1 year ago
BTW -- Once an upload is attempted, the radio will NOT come out of the WAIT condition unless the battery is removed. IDK if that helps any...
Updated by Dan Smith about 1 year ago
Hmm, okay, well, I'm about out of ideas. Here's one last attempt that slows it down a bunch from what the original driver author intended. See if this at least changes behavior at all. If not, we'll probably have to wait for a developer that has access to one to lay hands on it.
Updated by Christopher Prioli about 1 year ago
Dan -- I had a breakthrough here. I got to thinking about the Prolific chipset driver and its sometimes strange behavior. I decided to see what happens if I roll it back to an earlier version of the chipset driver. As you may have seen from the original bug report, on my Windows 10 machine, the driver was version 3.8.42 dated 02/22/2023. I rolled it back to version 3.6.81.357 dated 09/04/2015 and the upload worked. It took a while for the upload to complete, but complete it did.
I am SORRY to have put you through all of this. I was considering sourcing a programming cable with the FTDI chipset to see if that worked any better, and I may still do that. If I do, I will let you know the results of that test. It was thinking about the FTDI alternative that made me think about changing the driver.
Thank you for your patience and working with me through this. It is the least that I could do to bear with you and all of the trial-and-error work. I must compliment you on your superb efforts. Thank you very much for the great job and for the superb application. I actually taught a class on using CHIRP at my local radio club not too long ago... and I will do so again, I am sure. I am considered to be the CHIRP guru at our local club (believe or not!)
This may be a good note to post somewhere, wherever this type of information would get posted, in case somebody else experiences it.
73
Updated by Dan Smith about 1 year ago
Okay, no worries, I was going to suggest re-checking drivers and connections but nobody ever wants to hear that ;)
But before you go, we need to make sure we capture which one worked. The latest one I attached is not what we want to give to everyone else because it's massively slowed down. So can you make sure that the "3b585b41" does work? Maybe attach a debug log for me showing that you loaded that one and did the upload so I can sanity check the module version and the log? If so, I'll queue this up for the main build to make sure we fix it for everyone.
Thanks!
Updated by Christopher Prioli about 1 year ago
Well, bad news. I could not duplicate the upload. I reset the radio back to factory and went to repeat the process with a clean debug log, but the same error repeatedly occurs. I guess that I will have to locate and try an FTDI cable. I really believe at this point that the Prolific chipset is at fault here. I will let you know what happens...
Updated by Dan Smith about 1 year ago
Okay, make sure you're loading the module each time. It does not stay in chirp after you close and must be loaded for every session.
Updated by Dan Smith about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset github|7ac0a159811011205b1d76cdeda9180382b1c98f.
Updated by Dan Smith about 1 year ago
I merged what we had before because it was obviously better than what was there, even if it might not fully fix the problem. It'll be in tomorrow's build which will make further testing easier.