New Model #1647
closedICOM ID-5100A
100%
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
Updated by Barry Evans over 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.
Updated by Patrick Joles over 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!
Updated by David Grimm over 9 years ago
I am also very interested in support for the 5100. I would be happy to work with any developers....
Updated by Eric Dropps over 9 years ago
I am working on this now and have a prototype driver functional.
Updated by Amardeep Chana over 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.
Updated by Patrick Joles almost 8 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?
Updated by Patrick Joles almost 8 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?
Updated by Tim Smith almost 8 years ago
- Subject changed from Support for ICOM ID-5100A to ICOM ID-5100A
Updated by Bernhard Hailer over 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?
Updated by Marc Rieffel about 2 years ago
Is this radio still unsupported as of 2022?
Updated by Dan Smith about 2 years 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.
Updated by Barry Evans about 2 years 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.
Updated by Dan Smith about 2 years 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!
Updated by Dan Smith about 2 years 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.
Updated by Marc Rieffel about 2 years 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
Updated by Dan Smith about 2 years 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.
Updated by Anton Verhulst about 2 years ago
- File id5100 chirp.img id5100 chirp.img added
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 :-(.
Updated by Dan Smith about 2 years 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!
Updated by Anton Verhulst about 2 years ago
- File debugAfterReadFrom Radio.log debugAfterReadFrom Radio.log added
- File debugAfterWriteToRadio.txt debugAfterWriteToRadio.txt added
Uploading to the radio failed twice in a row at the the (approx.) 90% done mark. Relevant files attached.
Updated by Anton Verhulst about 2 years ago
- File 5100dataplate.jpg 5100dataplate.jpg added
- File 5100error.jpg 5100error.jpg added
- File ChirpScreenShot.png ChirpScreenShot.png added
Updated by Dan Smith about 2 years 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!
Updated by Dan Smith about 2 years ago
Well, unfortunately bug #10130 also affects the windows build, so better stick on the 1119 build until 1121 ... Sorry.
Updated by Marc Rieffel about 2 years ago
- File debug.5100.20221120.log debug.5100.20221120.log added
- File Icom_ID-5100_20221120.asitcame.chirp.img Icom_ID-5100_20221120.asitcame.chirp.img added
- File ICOM_ID-5100_20221110.asitcame.cs5100.icf ICOM_ID-5100_20221110.asitcame.cs5100.icf added
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.
Updated by Dan Smith about 2 years 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.
Updated by Marc Rieffel about 2 years ago
- File debug.5100.20221120.upload.log debug.5100.20221120.upload.log added
- File Icom_ID-5100_20221120.img Icom_ID-5100_20221120.img added
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.
Updated by Marc Rieffel about 2 years 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.
Updated by Dan Smith about 2 years 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.
Updated by Marc Rieffel about 2 years 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.
Updated by Dan Smith about 2 years 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!
Updated by Anton Verhulst almost 2 years ago
I do not see the File->Load Module option on the daily 20221121 version
Updated by Anton Verhulst almost 2 years ago
- File debug.log-AfterRead debug.log-AfterRead added
- File debug.log-AfterWrite debug.log-AfterWrite added
- File Icom_ID-5100_20221121.img Icom_ID-5100_20221121.img added
On the daily-20221121 version, the read from radio succeeded but the write failed. used the id5100.py from #30
Updated by Anton Verhulst almost 2 years ago
- File debug.log-AfterRead debug.log-AfterRead added
- File debug.log-AfterWrite debug.log-AfterWrite added
- File Icom_ID-5100_20221121.img Icom_ID-5100_20221121.img added
On the daily-20221121 version, the read from radio succeeded but the write failed. used the id5100.py from #30
Updated by Anton Verhulst almost 2 years ago
- File debug.log-AfterWrite debug.log-AfterWrite added
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.
Updated by Dan Smith almost 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Applied in changeset commit:bb80488772e6.
Updated by Dan Smith almost 2 years 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 :)
Updated by Anton Verhulst almost 2 years ago
- File id5100SD.JPG id5100SD.JPG added
- File id5100screen.jpg id5100screen.jpg added
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.
Updated by Dan Smith almost 2 years 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.
Updated by Anton Verhulst almost 2 years ago
- File SDfiles.jpg SDfiles.jpg added
- File SDerror.jpg SDerror.jpg added
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.
Updated by Anton Verhulst almost 2 years ago
- File set20221122.icf set20221122.icf added
Updated by Dan Smith almost 2 years 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.
- File->Save as
- Change the file type to ICF
- Save it with a shorter name
Updated by Anton Verhulst almost 2 years ago
- File set20221122.icf set20221122.icf added
yeah, I shoulda known better. However, the result is the same. "Data error. Reboot the ID-5100."
Updated by Dan Smith almost 2 years 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 :)
Updated by Dan Smith almost 2 years 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!
Updated by Anton Verhulst almost 2 years ago
- File set5100icf.icf set5100icf.icf added
Immediate data error when loading from disk
Updated by Dan Smith almost 2 years 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!
Updated by Anton Verhulst almost 2 years ago
- File emptydirs.JPG emptydirs.JPG added
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
Updated by Dan Smith almost 2 years 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!
Updated by Anton Verhulst almost 2 years ago
- File 5100_20221128.icf 5100_20221128.icf added
- File debug.log debug.log added
No visible change, sorry.
Updated by Dan Smith almost 2 years 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!
Updated by Dan Smith almost 2 years 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?
- Save to SD on the radio
- Edit with chirp (change something)
- Save the ICF (different filename just to be sure you get the updated version)
- 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!
Updated by Anton Verhulst almost 2 years ago
- File Set20221129_01.icf Set20221129_01.icf added
- File Set20221129_02.icf Set20221129_02.icf added
Dan, glad to help out. It's for the "greater good". All below worked fine.
- I loaded the 20221128 CHIRP image onto the 5100 from a previously saved file.
- Loaded that image to the radio via the cable.
- Wrote the radio image to the SD as set20221129_01
- Successfully loaded that image from the SD to the radio.
- Transferred the SD to the computer, loaded set20221129_01 via chirp and added a repeater
- Wrote the image to the SD as set20221129_02
- Transferred the card back the the radio and successfully loaded the _02 image.
Updated by Dan Smith almost 2 years 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!