On Wed Sep 29 18:15:07 PDT 2021, Dan Smith wrote:
[kosta] I have tested them against the ICF files, which plainly put is simply a hex dump representation of the binary image.. Currently ICF files are opened as read only, so in theory if we had a mechanism to serialize from image to ICF we could run the tests?
Okay, I forget if you can open as ICF and then save as .img. Technically you should be able to, but I can't remember if the UI will let you. Either way, if we're going to get someone to test these (and we should) we should just get images from them at the same time.
[kosta] I can certainly understand the hesitancy, however given that they are clearly marked as experimental could we consider releasing these in hopes that some user may attempt to run them and thus is more likely to provide an image? As it stands with no support for these radios, users are not provided any mechanism in which to generate an image to begin with... By releasing the experimental drivers we increase the likelihood of potentially receiving feedback and/or getting an image from some user - and assuming their expectations are tempered, impact to the community should be low. This does not alleviate our desire to test on actual hardware, but considering the scarcity of some of these radios it may be something to think about...
Yeah, to me experimental means "we think this works but probably isn't perfect." It's a far cry from "this has never talked to a real radio" IMHO.
Users can load the .py as a module to test it, so if there are users asking for these in a bug, you should be able to send that to them to let them try it before we commit.
--Dan
I have one of these radios, so I'm reviving this thread more than a year later :)
I found this thread on the list archives, so I went ahead and grabbed the patchset of three, fixed a few compilation issues that kept it from working (manglings of @ by the list software / using `mem.number` in the `_set_memory` function), and dropped it into /Applications/CHIRP.app/Contents/Resources/chirp/chirp/drivers/icv80.py on my Mac. Those changes as a single commit: https://github.com/billatq/chirp/commit/ef9f1b4c0d7ed20bc31b10767c5df59d9a054c48
I found that while I'm able to clone into chirp, I can't clone back out into the radio.
Does anyone have any suggestions for where to look next? I'm assuming that the ICV80_MEM_FORMAT is likely incorrect?
Additionally, for testing purposes, what's the best way to capture an image from my radio? I didn't see anything obvious in the documentation, but I could easily have missed something.
--Bill
Error from the console is as follows:
====
ERROR: Failed to communicate with the radio
Traceback (most recent call last):
File "/Applications/CHIRP.app/Contents/Resources/chirp/chirp/drivers/icf.py", line 489, in clone_to_radio
return _clone_to_radio(radio)
File "/Applications/CHIRP.app/Contents/Resources/chirp/chirp/drivers/icf.py", line 476, in _clone_to_radio
raise errors.RadioError("Did not get clone result from radio")
RadioError: Did not get clone result from radio
ERROR: -- Exception: --
ERROR: Traceback (most recent call last):
File "/Applications/CHIRP.app/Contents/Resources/chirp/chirp/ui/clone.py", line 253, in run
self.__radio.sync_out()
File "/Applications/CHIRP.app/Contents/Resources/chirp/chirp/drivers/icv80.py", line 187, in sync_out
icf.IcomCloneModeRadio.sync_out(self)
File "/Applications/CHIRP.app/Contents/Resources/chirp/chirp/drivers/icf.py", line 871, in sync_out
clone_to_radio(self)
File "/Applications/CHIRP.app/Contents/Resources/chirp/chirp/drivers/icf.py", line 492, in clone_to_radio
raise errors.RadioError("Failed to communicate with the radio: %s" % e)
RadioError: Failed to communicate with the radio: Did not get clone result from radio
ERROR: ----------------
ERROR: Clone failed: Failed to communicate with the radio: Did not get clone result from radio
ERROR: --- Exception Dialog: Failed to communicate with the radio: Did not get clone result from radio ---
ERROR: None
ERROR: ----------------------------
====