Project

General

Profile

Actions

Bug #10286

closed

Yaesu FT-25 Offset doubles

Added by Pichayut Sombat almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
01/18/2023
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next (py3)
Model affected:
Yaesu FT-25
Platform:
Linux
Debug Log:
I read the instructions above:

Description

It happened both when uploading to the radio and downloading from the radio. The offset value in the software will always doubles from the real offset on the radio no matter it's plus or minus duplex. For example, If I programmed the offset -0.600 on the radio itself, it'd be shown as -1.200 on the chirp, also happened the other way around.

Worked fine using official "FT-25_EXP" software from the Yaesu sites.


Files

chirp_debug-9sreuyr6.txt (35.8 KB) chirp_debug-9sreuyr6.txt Pichayut Sombat, 01/18/2023 06:29 PM
Yaesu_FT-25R_20230120.img (8.52 KB) Yaesu_FT-25R_20230120.img Pichayut Sombat, 01/20/2023 11:21 AM
chirp_debug-y8hhxq9_.txt (2.93 KB) chirp_debug-y8hhxq9_.txt Pichayut Sombat, 01/20/2023 11:21 AM
Screenshot (5).png (137 KB) Screenshot (5).png Pichayut Sombat, 01/20/2023 11:21 AM
20230120_181029.jpg (1020 KB) 20230120_181029.jpg Pichayut Sombat, 01/20/2023 11:54 AM
ft4.py (51.3 KB) ft4.py 61ff219d Dan Smith, 01/20/2023 10:38 PM
20230123_184036.jpg (1.12 MB) 20230123_184036.jpg Pichayut Sombat, 01/23/2023 11:44 AM
Yaesu_FT-25R_20230123.img (8.52 KB) Yaesu_FT-25R_20230123.img Pichayut Sombat, 01/23/2023 12:11 PM
Yaesu_FT-25E_20230123.img (8.52 KB) Yaesu_FT-25E_20230123.img Pichayut Sombat, 01/23/2023 12:11 PM
FT-25E.png (42.2 KB) FT-25E.png Pichayut Sombat, 01/23/2023 12:11 PM
FT-25R.png (42.5 KB) FT-25R.png Pichayut Sombat, 01/23/2023 12:11 PM
(FT-25E) chirp_debug-62akz8qi.txt (3.86 KB) (FT-25E) chirp_debug-62akz8qi.txt Pichayut Sombat, 01/23/2023 12:11 PM
(FT-25R) chirp_debug-jvzd7rpy.txt (3.84 KB) (FT-25R) chirp_debug-jvzd7rpy.txt Pichayut Sombat, 01/23/2023 12:11 PM
ft4.py (52.5 KB) ft4.py Bernhard Hailer, 02/15/2023 01:23 AM
ft4.py (52.7 KB) ft4.py 13b4782f Dan Smith, 03/18/2023 07:39 AM

Related issues 1 (0 open1 closed)

Related to Bug #9713: Chirp reads Yaesu FT65R saved offset different valueClosedBernhard Hailer01/18/2022

Actions
Actions #2

Updated by Dan Smith almost 2 years ago

Perhaps Dan or Bernhard can figure this out. It looks like there's definitely some frequency multiplier stuff in the code.

It would help if you would attach a .img file of your radio and call out specifically which memories are affected, and how they appear on the radio.

Also, please confirm that this reproduces on chirp-next as any fixes are going to have to happen against that version (you reported this against daily).

Updated by Pichayut Sombat almost 2 years ago

I now switched to the next version, the error still occurs. I'm not sure if this is relevant but there might be multiple version of FT-25, I've seen 2 of the official software version, EXP and US_EU. And the chirp's debugs also raised the ID suspect warning in this case. Maybe it'd be a good idea to have another radio tested after the fixes, my radio was bought in Thailand(afaik it's locally advertised and sold as FT-25R/E), I'm not sure if the USA EU or Exported version would be affected.

Thanks for the fast response!

Actions #4

Updated by Pichayut Sombat almost 2 years ago

I forgot to specify. On the latest img it's on memory 4. It showed -0.600 on the radio's settings but -1.200 on Chirp

Actions #5

Updated by Pichayut Sombat almost 2 years ago

Seems to occur on it's brbother too, FT-65. (Bug #9713)

Actions #6

Updated by Dan Smith almost 2 years ago

Are you using the FT-25R but actually have an FT-25E? Also is your FT-65 branded as an E model?

I'm surprised that the US/EU versions would differ in how they store their offsets like this, but I suppose it's possible.

Actions #7

Updated by Dan Smith almost 2 years ago

  • Related to Bug #9713: Chirp reads Yaesu FT65R saved offset different value added
Actions #8

Updated by Dan Smith almost 2 years ago

Can you try the attached module? Enable developer mode with Help->Enable Developer Mode, then restart, File->Load Module and choose this file.

Please check with your FT-25 and FT-65 by selecting the E variant when you download. Old images will still open as the R variant, so you should download fresh.

Please test VHF and UHF frequencies in as many permutations as you can think of, and also attach a debug log here of the download from each please.

Actions #9

Updated by Dan Smith almost 2 years ago

  • Status changed from New to Feedback
  • Chirp Version changed from daily to next (py3)
Actions #10

Updated by Pichayut Sombat almost 2 years ago

Sorry for the confusion, actually, I only have one which I just noticed that it's stated on the back plate as FT-25R (monoband VHF version since UHF is kinda not allowed in Thailand). The FT-65(R) I've mentioned are from the other issue (#9713) which is not mine. I'll upload the results soon.

Updated by Pichayut Sombat almost 2 years ago

Here are the results. I've saved the memory directly on the radio itself on memory 3, 145.6750 with -0.6000 offset. On the CHIRP (latest next with ft4.py module loaded), selecting FT-25E reads the offset correctly as -0.6000 but using FT-25R Model still reads it wrong as -1.2000.

Actions #12

Updated by Bernhard Hailer almost 2 years ago

  • Assignee set to Bernhard Hailer

I'll have a look, but please allow some time.
Indeed, there are some multipliers at work, and they differ from model to model (FT-25 vs. FT-65), and apparently from regions to regions (R vs. E), too. I developed using an R model, so I'm a bit surprised that this fails.

Thanks for the helpful files!

Actions #13

Updated by Steven Hiscocks almost 2 years ago

I just tested the offsets on my FT-65E and didn't have any issues. Value matched between radio and CHIRP. Tested with CHIRP next-20230126.

Actions #14

Updated by Bernhard Hailer almost 2 years ago

  • % Done changed from 0 to 20

Started to work on this. Sorry, be patient, I need to get up to speed with Chirp-next.
I have an FT.25R for testing.

Actions #15

Updated by Bernhard Hailer almost 2 years ago

  • % Done changed from 20 to 30
  • Platform changed from Windows to Linux

Got Chirp-next running after installing Linux Mint from scratch and cloning repository. Getting there.

Actions #16

Updated by Bernhard Hailer almost 2 years ago

  • % Done changed from 30 to 40

Ok, so I tested this with my FT-25R, which I bought in the US. It looks exactly like yours. "FT-25" on the front, "FT-25R" under the battery.
When I program it with an offset of +0.6 MHz, it works correctly...

The interesting thing is that there is a multiplier in the code. The multipliers for FT-25/65 and FT-4 are different, with the one for the FT-25/65 being twice the value of the one for the FT-4 (50 vs. 25 kHz). Looking into this ticket, and also #9713, I'm beginning to suspect that the multipliers are applied using some mechanism we haven't caught on yet.

I did some digging, and based on some of your input, I came to this conclusion:

I now switched to the next version, the error still occurs. I'm not sure if this is relevant but there might be multiple version of FT-25, I've seen 2 of the official software version, EXP and US_EU. And the chirp's debugs also raised the ID suspect warning in this case. Maybe it'd be a good idea to have another radio tested after the fixes, my radio was bought in Thailand(afaik it's locally advertised and sold as FT-25R/E), I'm not sure if the USA EU or Exported version would be affected.

I think this might be the key, actually. Can you try the US_EU OEM software version? If that one fails as well, then we have the solution: Export versions come with a modified multiplier, and I need to add a sub driver.

I'm somewhat confused, because you added two images: one for an FT-25R, the other for an FT-25E. I assume it's your FT-25R radio, but the OEM software has two selections? The images are practically identical.

Actions #17

Updated by Pichayut Sombat over 1 year ago

Ok, so I tested this with my FT-25R, which I bought in the US. It looks exactly like yours. "FT-25" on the front, "FT-25R" under the battery.
When I program it with an offset of +0.6 MHz, it works correctly...

I always wondered if this problems occured since CHIRP supports it and not a single issues mentioned it (until I've found one but with FT-65 #9713). Now I only hope it's not just my supplier or unit's fault from the factory.

I'm somewhat confused, because you added two images: one for an FT-25R, the other for an FT-25E. I assume it's your FT-25R radio, but the OEM software has two selections? The images are practically identical.

To clarify, I use the file name according to the selected version in the softawre I've useed to download from the radio. Both 'FT-25R' and 'FT-25E' files are the images downloaded from my only radio (FT-25R , the onne I've shown in the previous reply) which I programmed the frequency and offset directly using keypad on it. I was thinking it may be useful because one raised an ID error which may be relevant to the problem.

I think this might be the key, actually. Can you try the US_EU OEM software version? If that one fails as well, then we have the solution: Export versions come with a modified multiplier, and I need to add a sub driver.

Yeah, I have both US_EU and EXP version of software but from my experiences recently, none of them raised an error both reading or writing with my 'FT-25R' radio which is surprising. But I will try it again and will report in later. So I should try uploading to the radio using different OEM software versions and read it with CHIRP is that correct? Do I need try with the latest next build or with that old modified module one from Dan?

Thanks for still following up on this, lately I have some exam and studies to take so I may reply a lot slower, but I will try to do the best I could on the issue!

Actions #18

Updated by Bernhard Hailer over 1 year ago

Thank you, this is very helpful! Based on your description, I think there's probably a flag in the radio which defines the scaler in use. There are a few bytes in the radio's memory of which we don't know what they do. I will compare your image with mine and find out.

Meanwhile, yes, you should try uploading to the radio using different OEM software versions and read it with CHIRP. Thanks!

Actions #19

Updated by Bernhard Hailer over 1 year ago

That flag apparently comes with the radio ID. An FT-25 identifies with "IFT-15R\0\0V100\v0\v0". The last byte is 0x00 indeed for me, but for you it's 0x03. So here may be the solution. I'll try to get more information about the European version of this radio; perhaps it gives me some insight for building a matrix.

Actions #20

Updated by Bernhard Hailer over 1 year ago

Attached is a modified driver. You can test as follows:

  1. Open Chirp software.
  2. In Help, checkmark "Developer mode".
  3. End and restart Chirp.
  4. In File menu, select "Load module" and load the attached file.
  5. Test.

Please check:

  • whether the offsets are coming out correctly,
  • and whether there's no ID warning anymore in the debug log. Please share your observations and the debug log. Thanks!
Actions #21

Updated by Dan Smith over 1 year ago

  • File ft4.py added

Here's another driver to test. I'm fixing one thing for Bernhard but I don't have a radio to test with so if I could get a confirmation from one of the other people here, I'd appreciate it.

See LoadingTestModules for procedure to load this into your CHIRP.

Actions #22

Updated by Dan Smith over 1 year ago

  • File deleted (ft4.py)
Actions #23

Updated by Dan Smith over 1 year ago

Actions #24

Updated by Anonymous over 1 year ago

  • Status changed from Feedback to Closed
  • % Done changed from 40 to 100
Actions

Also available in: Atom PDF