Project

General

Profile

Actions

Bug #10824

closed

Yaesu FT-50R Upload Issue

Added by Christopher Prioli over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/05/2023
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next
Model affected:
Yaesu FT-50R
Platform:
Windows
I read the instructions above:

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

Yaesu_FT-50_FACTORY.img (3.81 KB) Yaesu_FT-50_FACTORY.img FT-50R Factory Data File Christopher Prioli, 09/05/2023 11:01 AM
Yaesu_FT-50_20230905_1356.img (5.11 KB) Yaesu_FT-50_20230905_1356.img FT-50R Data File for Upload Christopher Prioli, 09/05/2023 11:01 AM
ft50.py (20.6 KB) ft50.py b0765e69 Dan Smith, 09/05/2023 02:56 PM
debug.log (8.55 KB) debug.log Christopher Prioli, 09/05/2023 03:16 PM
debug.log (6.51 KB) debug.log Current debug log Christopher Prioli, 09/05/2023 03:40 PM
debuglog.old (881 Bytes) debuglog.old Previous debug log Christopher Prioli, 09/05/2023 03:40 PM
cap0844.jpg (399 KB) cap0844.jpg Error Message Christopher Prioli, 09/05/2023 03:41 PM
ft50.py (20.6 KB) ft50.py 78382569 Dan Smith, 09/05/2023 04:00 PM
debug.log (6.43 KB) debug.log Debug log 1903 hrs Christopher Prioli, 09/05/2023 04:03 PM
ft50.py (20.7 KB) ft50.py 3b585b41 Dan Smith, 09/05/2023 04:09 PM
debug.log (6.75 KB) debug.log Debug log 1917 hrs Christopher Prioli, 09/05/2023 04:18 PM
ft50.py (20.7 KB) ft50.py 73e46396 Dan Smith, 09/05/2023 04:55 PM

Related issues 1 (0 open1 closed)

Has duplicate Bug #10825: Yaesu FT-50R Upload IssueRejected09/05/2023

Actions
Actions #1

Updated by Dan Smith over 1 year ago

  • Has duplicate Bug #10825: Yaesu FT-50R Upload Issue added
Actions #2

Updated by Dan Smith over 1 year ago

Can you test this module? See LoadingTestModules for instructions.

Actions #3

Updated by Christopher Prioli over 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.

Actions #4

Updated by Dan Smith over 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 over 1 year ago

OK... I had actually done both before, but just now I did the following:

  1. Open a fresh CHIRP instance
  2. Load the new module
  3. Open the .IMG file
  4. 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...

Actions #6

Updated by Dan Smith over 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!

Actions #7

Updated by Christopher Prioli over 1 year ago

Same error message. Current debug log is attached.

Actions #8

Updated by Dan Smith over 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 :)

Actions #9

Updated by Christopher Prioli over 1 year ago

Same thing from my end. Here is the newest debug log...

Actions #10

Updated by Dan Smith over 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?

Actions #11

Updated by Christopher Prioli over 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.

Actions #12

Updated by Christopher Prioli over 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...

Actions #13

Updated by Dan Smith over 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.

Actions #14

Updated by Christopher Prioli over 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

Actions #15

Updated by Dan Smith over 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!

Actions #16

Updated by Christopher Prioli over 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...

Actions #17

Updated by Dan Smith over 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.

Actions #18

Updated by Dan Smith over 1 year ago

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

Updated by Dan Smith over 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.

Actions

Also available in: Atom PDF