Project

General

Profile

Actions

New Model #1647

closed

ICOM ID-5100A

Added by Barry Evans almost 10 years ago. Updated over 1 year ago.

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

100%

Estimated time:
Equipment Loan/Gift Offered:
No
I read the instructions above:

Description

Respectfully request support for the new ICOM ID-5100A radio. Exported icom icf file is attached and I'll provide any other exports as need and can perform testing on MacOS, Linux, and Windows.

ICOM ID-5100: http://www.icomamerica.com/en/products/amateur/mobile/id5100a/


Files

Set20140520_01.icf (605 KB) Set20140520_01.icf Support for ICOM ID-5100A Barry Evans, 05/20/2014 01:44 PM
id5100.py (8.28 KB) id5100.py 12ab9f9c24ea3f3938a3731dde4ebec73df09cd4 Dan Smith, 11/18/2022 12:17 AM
id5100.py (9.48 KB) id5100.py 47dec3fa495f43d457247f741c3a08a1ff2ead88 Dan Smith, 11/19/2022 04:09 PM
id5100 chirp.img (169 KB) id5100 chirp.img Anton Verhulst, 11/19/2022 11:54 PM
debugAfterReadFrom Radio.log (41.5 KB) debugAfterReadFrom Radio.log Anton Verhulst, 11/20/2022 04:35 PM
debugAfterWriteToRadio.txt (46.9 KB) debugAfterWriteToRadio.txt Anton Verhulst, 11/20/2022 04:35 PM
5100dataplate.jpg (334 KB) 5100dataplate.jpg Anton Verhulst, 11/20/2022 04:37 PM
5100error.jpg (191 KB) 5100error.jpg Anton Verhulst, 11/20/2022 04:37 PM
ChirpScreenShot.png (77 KB) ChirpScreenShot.png Anton Verhulst, 11/20/2022 04:37 PM
id5100.py (9.48 KB) id5100.py 0f3bcaeb Dan Smith, 11/20/2022 05:06 PM
id5100.py (10.7 KB) id5100.py 9a12033f Dan Smith, 11/20/2022 08:31 PM
debug.5100.20221120.log (42.9 KB) debug.5100.20221120.log Marc Rieffel, 11/20/2022 10:24 PM
Icom_ID-5100_20221120.asitcame.chirp.img (255 KB) Icom_ID-5100_20221120.asitcame.chirp.img Marc Rieffel, 11/20/2022 10:24 PM
ICOM_ID-5100_20221110.asitcame.cs5100.icf (401 KB) ICOM_ID-5100_20221110.asitcame.cs5100.icf Marc Rieffel, 11/20/2022 10:24 PM
debug.5100.20221120.upload.log (73.9 KB) debug.5100.20221120.upload.log Marc Rieffel, 11/20/2022 10:57 PM
Icom_ID-5100_20221120.img (255 KB) Icom_ID-5100_20221120.img Marc Rieffel, 11/20/2022 10:57 PM
id5100.py (10.5 KB) id5100.py b6db9284 Dan Smith, 11/21/2022 12:14 AM
debug.5100.upload.verbose.log (46.4 KB) debug.5100.upload.verbose.log Marc Rieffel, 11/21/2022 02:52 AM
scr1.png (157 KB) scr1.png file options Anton Verhulst, 11/21/2022 04:18 PM
debug.log-AfterRead (44.1 KB) debug.log-AfterRead Anton Verhulst, 11/21/2022 04:42 PM
debug.log-AfterWrite (45.6 KB) debug.log-AfterWrite Anton Verhulst, 11/21/2022 04:42 PM
Icom_ID-5100_20221121.img (255 KB) Icom_ID-5100_20221121.img Anton Verhulst, 11/21/2022 04:42 PM
debug.log-AfterRead (44.1 KB) debug.log-AfterRead Anton Verhulst, 11/21/2022 04:42 PM
debug.log-AfterWrite (45.6 KB) debug.log-AfterWrite Anton Verhulst, 11/21/2022 04:42 PM
Icom_ID-5100_20221121.img (255 KB) Icom_ID-5100_20221121.img Anton Verhulst, 11/21/2022 04:42 PM
debug.log-AfterWrite (46.2 KB) debug.log-AfterWrite Anton Verhulst, 11/21/2022 05:00 PM
id5100SD.JPG (28.4 KB) id5100SD.JPG SD card contents as seen by the PC Anton Verhulst, 11/22/2022 03:43 PM
id5100screen.jpg (226 KB) id5100screen.jpg SD card as seen by the radio Anton Verhulst, 11/22/2022 03:43 PM
SDfiles.jpg (179 KB) SDfiles.jpg Anton Verhulst, 11/22/2022 04:19 PM
SDerror.jpg (187 KB) SDerror.jpg Anton Verhulst, 11/22/2022 04:19 PM
set20221122.icf (169 KB) set20221122.icf Anton Verhulst, 11/22/2022 04:29 PM
set20221122.icf (406 KB) set20221122.icf Anton Verhulst, 11/22/2022 07:08 PM
set5100icf.icf (401 KB) set5100icf.icf Anton Verhulst, 11/23/2022 07:54 PM
emptydirs.JPG (32.9 KB) emptydirs.JPG Anton Verhulst, 11/23/2022 11:06 PM
5100_20221128.icf (401 KB) 5100_20221128.icf Anton Verhulst, 11/28/2022 02:09 PM
debug.log (43 KB) debug.log Anton Verhulst, 11/28/2022 02:09 PM
Set20221129_01.icf (401 KB) Set20221129_01.icf Anton Verhulst, 11/29/2022 06:43 PM
Set20221129_02.icf (401 KB) Set20221129_02.icf Anton Verhulst, 11/29/2022 06:43 PM

Related issues

Has duplicate New Model #3189: Icom ID-5100 DeluxeClosed01/20/2016

Actions
Has duplicate New Model #3199: Icom ID-5100Closed01/21/2016

Actions
Has duplicate New Model #4931: Icom ID-5100aClosed06/21/2017

Actions
Has duplicate New Model #10128: id5100 beta test on the 11/19/22 buildClosed11/19/2022

Actions
Has duplicate New Model #9934: Icom ID-5100aRejected07/04/2022

Actions
Actions #1

Updated by Barry Evans almost 10 years ago

I can provide access to radio via either linux account or remote desktop connected PC if a developer has interest and needs to test.

Actions #2

Updated by Patrick Joles about 9 years ago

Whats the possibility priority can get increased on support for ICOM ID-5100A? Please :)

PS: I'm donating to the cause and will be happy to be tester for you!

Actions #3

Updated by David Grimm about 9 years ago

I am also very interested in support for the 5100. I would be happy to work with any developers....

Actions #4

Updated by Eric Dropps over 8 years ago

I am working on this now and have a prototype driver functional.

Actions #5

Updated by Amardeep Chana almost 8 years ago

Eric Dropps wrote:

I am working on this now and have a prototype driver functional.

Hello, is there any way I can help? I have an ID-5100A and am a software developer. I'd love to help get this across the finish line. Please let me know. Thanks.

Actions #6

Updated by Bob Recny over 7 years ago

Also interested here.

Actions #7

Updated by Patrick Joles over 7 years ago

Eric Dropps wrote:

I am working on this now and have a prototype driver functional.

Have you completed the prototype, can we help test it?

Actions #8

Updated by Patrick Joles over 7 years ago

Patrick Joles wrote:

Whats the possibility priority can get increased on support for ICOM ID-5100A? Please :)

PS: I'm donating to the cause and will be happy to be tester for you!

I'm happy to donate more if that will give priority to the support of this radio?

Actions #9

Updated by Tim Smith about 7 years ago

  • Subject changed from Support for ICOM ID-5100A to ICOM ID-5100A
Actions #10

Updated by Bernhard Hailer almost 4 years ago

  • Status changed from New to Feedback
  • Chirp Version changed from 0.4.0 to daily

I am working on this now and have a prototype driver functional.

Eric, would you still be interested in sharing your driver?

Actions #11

Updated by Marc Rieffel over 1 year ago

Is this radio still unsupported as of 2022?

Actions #12

Updated by Dan Smith over 1 year ago

  • Target version deleted (0.4.1)

As of 2022, no developers have one of these nor have had enough desire to seek one out. If you don't like that, I suggest you talk to your vendors. Vote with your wallet!

That said, I'm starting to experiment with a preliminary driver (despite not having one of these locally). If a few people could attach their full and meaty ICF files here, I'd appreciate it. Please also report which version of the 5100 (and firmware if available) you're using. My understanding is that the radio has evolved over time, so we will probably need some samples to be able to support them.

Since I don't have one locally, I'm thinking about adding support to CHIRP for writing ICF files, which would at least let 5100 owners program via SD card.

Actions #13

Updated by Barry Evans over 1 year ago

Hard to believe this is still going 8 years later. I attached my ICF in the opening here, I don't believe I ever patched my radio but could produce a new ICF file if needed.

Actions #14

Updated by Dan Smith over 1 year ago

Hi Barry, why is it hard to believe? This is an expensive (for a developer) radio that's very complex to work on. Without a manufacturer or vendor offering a long-term loan or donation, this is pretty much how it works. The chinese companies are pumping donated radios into developers' hands, so that's clearly where the effort is going.

And yes, thanks for your ICF file. It only had two channels in it, so basically the same as the empty file I can create with the OEM software. I'm looking for heavily configured files with lots of options changed, which helps make sure that chirp is parsing real-world data well. It's not critical to have these, but it helps improve confidence :)

Your file is reported by CS-5100 as "old form" and has a version of 1 inside it, where the current version is 3. If you have added a lot more to your radio since then, I'd be interested in a more complete "version 1 file".

Thanks!

Actions #15

Updated by Dan Smith over 1 year ago

I'm attaching a module for some initial testing. If any brave souls are willing, I'd appreciate a quick read on whether or not this is a total dumpster fire situation.

To load this you need to turn on developer mode in chirp in the Help menu. Then restart chirp and you can File->Load Module this file for that session.

This driver should ideally be able to read ICF files generated from the radio or the CS-5100 software. As of tomorrow, CHIRP should be able to also File->Save As ICF files from this driver, which hopefully the radio will read directly off the SD card. Looking for confirmation of this from someone.

This may support downloading from the radio, I doubt it will work to upload to the radio (but it may). If you try uploading to the radio, be sure you have a backup of the radio first as the radio will reset itself if it decides it doesn't like what it sees.

Please report on your success or failures, which exact model you have and ideally the firmware involved. Please attach ICF and .img files of whatever you try. And of course, debug logs per the usual bug reporting guidelines.

Actions #16

Updated by Marc Rieffel over 1 year ago

I was able to download the module, enable developer features, and load the module.

That's as far as I can get right now, as my newly acquired used 5100 is still in a box, not yet connected, and I'm about to leave town for a few days.

The progress is very much appreciated, though! (And the explanation of demo radio supply from manufacturers is very informative.)

[FWIW, my other recent acquisition, an ID-51A plus2, also currently lacks Chirp support. That one, though, I've connected and configured. When I'm back next week, if there were a similar test module for it, I could try it easily.]

Thanks

Actions #17

Updated by Dan Smith over 1 year ago

This is an updated id5100.py module to test with today's build of chirp. With the 20221119 build and this module, chirp should be able to open/edit/save ICF files generated by the radio on the SD card and keep the versions the same so that the radio will honor them (hopefully).

I've still received no feedback on this test build, so I'd really appreciate if someone can test it.

Actions #18

Updated by Anton Verhulst over 1 year ago

Tested on the 20221119 version. I can download from the radio and the img file had the correct repeater names, frequencies, and PL tones. I can not (or don't know how) to get the radio settings such as microphone sensitivity, etc. The .img file is attached. I'm a CHIRP newbie and would be happy to upload the dbg files (and any others) if I knew where to find them :-(.

Actions #19

Updated by Dan Smith over 1 year ago

Hi Tony,

Thanks for the image, I'll have a look through it. Here's how to get your debug log:

https://chirp.danplanet.com/projects/chirp/wiki/How_to_report_issues#Getting-your-debug-log

Can you tell me which exact 5100 you have? (original, deluxe, etc)

Also, have you tried uploading to the radio? It might actually work, and if not, the debug log from that process would be helpful. Make sure you have a backup of your radio first. It won't hurt anything (Icom radios are bulletproof), but if it fails, the radio will reset.

Thanks!

Actions #20

Updated by Anton Verhulst over 1 year ago

Uploading to the radio failed twice in a row at the the (approx.) 90% done mark. Relevant files attached.

Actions #22

Updated by Dan Smith over 1 year ago

Excellent, thanks, I'll dig into this.

Actions #23

Updated by Dan Smith over 1 year ago

Okay, this is my best quick guess, let me know if it helps. Also, if you could update to today's build, there is some extra logging in there that will help. Also, if you could capture a debug log of the actual read from radio as well as the write, that would help. Your debugAfterReadFromRadio.log looks like you restarted chirp between the read and the debug log, which means the read wasn't captured.

Also, do you have the ability to try via SD card? I'm also interested if chirp will open/edit/save an ICF file from the radio's SD card and have the radio agree to load the ICF file.

Thanks!

Actions #24

Updated by Dan Smith over 1 year ago

Well, unfortunately bug #10130 also affects the windows build, so better stick on the 1119 build until 1121 ... Sorry.

Actions #25

Updated by Dan Smith over 1 year ago

More investigation, here's an updated module more likely to work.

Actions #26

Updated by Marc Rieffel over 1 year ago

Just unboxed and plugged in my (used) ICOM ID-5100A (with an orange "Deluxe" sticker on the box). Loaded the driver. Started read-from-radio. It auto-detected the 5100 radio, gave me the unsupported radioactive warning, but seemed to load through completion. Saved the config. This was the setup of the guy I got it from, as it came. So I don't know what's "supposed" to be there. Looks like D-STAR wasn't set up. But it looks reasonable. Tried a couple of the channels that I recognized and they seemed fine.

.img and debug.log attached.

I haven't yet tried write-to-radio from CHIRP.

I then fired up the CS-5100 software, latest version downloaded from Icom. Did a download. Looked at the channels etc. and they seemed consistent with what CHIRP found. Did save-as, resulting .icf attached.

Let me know if any specific tests I should try.

Thanks again.

Actions #27

Updated by Dan Smith over 1 year ago

Great, thanks. That's with my most recent module from ~2hr ago right?

Based on Tony's report, downloading from the radio looks to be sorted, it's the upload that still needs some work. If you can try that, it'd be great.

Also, if you can try the SD card approach, I'm also hoping that will work.

Actions #28

Updated by Marc Rieffel over 1 year ago

Confirmed, this was the version of the module you uploaded ~2h ago, post #25.

I just tried an upload and it got about 3/4 through and then the radio did "ERROR" flashing, and Chirp "An error has occurred. Failure to communicate ... Did not get clone result".

Attached are the .img that I saved in CHIRP before uploading and the debug.log from the failed upload.

Actions #29

Updated by Marc Rieffel over 1 year ago

... and after power cycling, the radio had seemingly lost all of its programming, memories, etc. Not a problem, as it's a new-to-me radio and I have an ICOM generated backup anyway.

And I don't have an SD card handy right now, but may be able to scrounge one up over the next week or two.

Actions #30

Updated by Dan Smith over 1 year ago

Yeah, that's what Icom radios do when a clone in fails - they reset. It's one of the the things that make them bulletproof. Yaesu radios tend to just sh*t the bed and leave their memory in an unknown state.

Your debug log looks like it's not running the latest module and/or the code I'm intending to have run isn't getting hit like it should. So, hopefully that's the reason. Just to clarify, when chirp was about 75% done, the radio stopped and reported error, then chirp kept on plowing through and then failed at the end with "did not get clone result" right? That's consistent with what I think is happening, which is that the module isn't adjusting its memory size for your model, which appears to be up-to-date. It's sending the v1 format by default (but should have updated itself when you downloaded).

I'm attaching another one with a little more verbosity to help figure out why that didn't happen.

Actions #31

Updated by Marc Rieffel over 1 year ago

I tried with the special build I got for the ID-51, and the verbose module from post #30 above, and I watched the progress bars more carefully. Download from radio was fine. On the upload, the radio bar got to at or very near the end, then popped up its ERROR. At that time, the CHIRP progress bar was about 60%. CHIRP continued progressing its bar, but when it got to the end gave its "An error has" message.

debug.log attached.

Actions #32

Updated by Dan Smith over 1 year ago

Aha, I think I see the problem. I'll circle back with another thing to try tomorrow, but it'll be after work.

Thanks!

Actions #33

Updated by Anton Verhulst over 1 year ago

I do not see the File->Load Module option on the daily 20221121 version

Actions #34

Updated by Anton Verhulst over 1 year ago

Never mind... brain dead

Actions #35

Updated by Anton Verhulst over 1 year ago

On the daily-20221121 version, the read from radio succeeded but the write failed. used the id5100.py from #30

Actions #36

Updated by Anton Verhulst over 1 year ago

On the daily-20221121 version, the read from radio succeeded but the write failed. used the id5100.py from #30

Actions #37

Updated by Anton Verhulst over 1 year ago

This time I closed CHIRP before snagging the log after the write failed. I spent 40+ years developing operating systems (mostly Unix/Linux) but I'm a CHIRP noob.

Actions #38

Updated by Dan Smith over 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:bb80488772e6.

Actions #39

Updated by Dan Smith over 1 year ago

  • Status changed from Closed to In Progress

Okay, so tomorrow's build will have the 5100 driver in it.

The radio behaves quite differently depending on its firmware version. What will be in tomorrow's build seems to work for the latest version (OEM software v1.20 or so). Tony your radio appears to be the latest as well, but please do report back to confirm.

If anyone else has a not-up-to-date 5100, it would be great if you could use tomorrow's build, do a download, and post a debug log.

You all owe Marc Rieffel a debt of gratitude for excellent remote testing help, so tell him thanks :)

Actions #40

Updated by Anton Verhulst over 1 year ago

Good news. I can read and write to the 5100 using a programming cable. The radio looks good afterward. I still can't (or don't know how) to see the radio settings. The properties tab does nothing, FWIW.

I'm having trouble cloning from the SD card. I copied the .img created by the daily-20221122 to the 5100\setting directory on the SD card. When inserted into the radio, it only shows the, previously created, 'set20221120_01' image. I don't know much of this is caused by any user error.

Actions #41

Updated by Dan Smith over 1 year ago

Hi Tony, great news on the cloning. On the settings, let me paste something from another bug I recently wrote up:

In general, I don't spend a lot of time decoding the settings in the radio (i.e. the stuff under the Settings tab) except for very popular radios. The channels are very laborious to enter manually on the radio, and decoding the channel format once works for all 1000 memories. The settings on the other hand are ALL different and a lot of work. Thus, there's a lot of bang-for-buck on the channels, much less so on the settings.

If there's something specific in the settings that is likely to be helpful to have exposed in chirp, I can see about adding it for you, but no promises. It takes an enormous amount of time to decode all of them (especially for a complex radio like this) and other volunteers have spent years decoding all the bits from simpler and wildly more popular radios like the UV5R.

On the SD issue, there are two things. First, I've found that the radios don't like files with long names. Try changing your filename to something shorter (less than or equal to the length of the filename the radio creates) and it should see it.

Second, the radio can't read the .img file that chirp creates by default. However, when you go to File->Save As, you can change the type to "ICF file" which will create something with a .icf extension and hopefully the radio will read that.

Actions #42

Updated by Anton Verhulst over 1 year ago

The radio now sees the file after renaming to a smaller .icf. However, I get an error when I try to load it. The radio works normally after a reboot.

I understand the difficulties of supporting the settings of all radios. But, to me, this limits the usefulness of CHIRP.

Actions #43

Updated by Dan Smith over 1 year ago

Can you attach the ICF file you tried?

Actions #45

Updated by Dan Smith over 1 year ago

Okay, that's not an actual ICF file, that's an image. Did you rename the file and just change the extension or did you re-save it out of CHIRP with the file type changed? The radio definitely won't read it in that format.

  1. File->Save as
  2. Change the file type to ICF
  3. Save it with a shorter name
Actions #46

Updated by Anton Verhulst over 1 year ago

yeah, I shoulda known better. However, the result is the same. "Data error. Reboot the ID-5100."

Actions #47

Updated by Dan Smith over 1 year ago

Thanks Tony, I see at least one problem your ICF file, which I hope is the thing causing it not to work. I'll be back :)

Actions #48

Updated by Dan Smith over 1 year ago

Tony, if you could try today's build (1123) again with the ICF files and SD card, that would be appreciated. Assume any ICF you created with earlier builds is bad, so start from either a .img or a fresh download and File->Save As, ICF.

There was one other difference in your file that is not wrong, just different, so if it still doesn't work, please attach the ICF you're using so I can make sure it's right.

Thanks!

Actions #49

Updated by Anton Verhulst over 1 year ago

Immediate data error when loading from disk

Actions #50

Updated by Dan Smith over 1 year ago

Hmm, okay, thanks Tony. That one looks "right" to me, so I'm not sure why the radio won't eat it. I'll have to do some more digging I guess. Thanks for your help!

Actions #51

Updated by Anton Verhulst over 1 year ago

Not sure if this is useful but directories were created on the SD card but all are empty. Also tried the various load options but the results were the same

Actions #52

Updated by Dan Smith over 1 year ago

Okay, I spent my entire thanksgiving holiday break bashing my head against the ICF-on-SD problem, but I think I got it. The desktop software generates a hash at the end of the file that it is happy to ignore if it's missing. However, the radio is not. Tomorrow's build will include code to generate that hash, which will hopefully make the radio happy.

Tony, if you (or anyone else) gets a chance to try again with tomorrow's build (20221128), I'd be very appreciative. If it doesn't work, please include the icf file you use and the debug log, as there is some extra logging added to help.

Thanks!

Actions #53

Updated by Anton Verhulst over 1 year ago

No visible change, sorry.

Actions #54

Updated by Dan Smith over 1 year ago

Okay, that file has the hash as expected. I'll check with the software to see if it generates a different one for that image.

Sorry to keep wasting your time, but I sure appreciate the help!

Actions #55

Updated by Dan Smith over 1 year ago

Tony, looking at your debug log, I see you're downloading from the radio, generating the ICF file and then trying that from the SD card. Could you try a different workflow for me?

  1. Save to SD on the radio
  2. Edit with chirp (change something)
  3. Save the ICF (different filename just to be sure you get the updated version)
  4. Load from SD on the radio

I'm also curious about the behavior. On my ID31, it goes through a long initial phase to check the file before it then goes to actually load it (i.e. two progress bars from empty to full). Before the hash fix with today's build, it would fail after the checking phase before the loading one. Does yours go through the checking part or does it fail immediately? If it fails immediately, then I expect the hash isn't the problem.

Thanks!

Actions #56

Updated by Anton Verhulst over 1 year ago

Dan, glad to help out. It's for the "greater good". All below worked fine.

  1. I loaded the 20221128 CHIRP image onto the 5100 from a previously saved file.
  2. Loaded that image to the radio via the cable.
  3. Wrote the radio image to the SD as set20221129_01
  4. Successfully loaded that image from the SD to the radio.
  5. Transferred the SD to the computer, loaded set20221129_01 via chirp and added a repeater
  6. Wrote the image to the SD as set20221129_02
  7. Transferred the card back the the radio and successfully loaded the _02 image.
Actions #57

Updated by Dan Smith over 1 year ago

  • Status changed from In Progress to Closed

FANTASTIC news! Thanks so much!

This is more than you need to know, but the ICF format for recent radios has another field at the top that appears to be a bitmask of features or something that I haven't figured out. It doesn't get sent to the radio during a clone, and strangely the software seems to reset it when it opens an ICF file with some values, but also changes a bunch of random stuff in memory when it does. I'm unsure of the meaning of this, so I can't really predict what it needs to be. However, CHIRP can do what the radio does, which is keep that value the same and not mangle the other memory locations, as if you had two radios and shared an SD between them. Maybe some day I'll figure it out, but I assume that people that want to avoid using a cable are happy to get an ICF from the radio first, edit that, and then import again.

I'm going to go ahead and mark this as done now. Any additional feature requests for the 5100 can go into a new ticket.

Thanks much to Tony and Mark for all the debugging help!

Actions

Also available in: Atom PDF