qdmr icon indicating copy to clipboard operation
qdmr copied to clipboard

[GD-73] Cannot write codeplug

Open sgofferj opened this issue 1 year ago • 1 comments
trafficstars

Reading the codeplug works now but qdmr doesn't write it.

Branch: origin/414-relax-gd73-linking-errors Commit: b8cbe8ddbaba06bc21812eac627916c39cde6576

Log output:

Debug in lib/usbdevice.cc@228: Search for a device matching VID:PID 1206:227 at bus 1, device 10.
Debug in lib/usbdevice.cc@239: Found device on bus=1, device=10 with 1206:227.
Debug in lib/usbdevice.cc@228: Search for a device matching VID:PID 1206:227 at bus 1, device 10.
Debug in lib/usbdevice.cc@239: Found device on bus=1, device=10 with 1206:227.
Debug in lib/radio.cc@61: Try to detect radio at USB C7000 HT: bus 1, device 10.
Debug in lib/c7000device.cc@147: Try to detect USB C7000 interface USB C7000 HT: bus 1, device 10.
Debug in lib/c7000device.cc@161: Matching device found at bus 1, device 10 with vendor ID 1206 and product ID 227.
Debug in lib/c7000device.cc@201: Connected to C7000 device USB C7000 HT: bus 1, device 10.
Debug in lib/gd73_interface.cc@21: Entered prog mode. Response: 0000000000000000000000000000000006000000d8ce03004e060400d8ce030008.
Debug in lib/gd73_interface.cc@78: Start codeplug read, seqnr=ffffh.
ERROR in lib/c7000device.cc@302: Cannot receive response from device: Retry count of 10 exceeded.
ERROR in lib/gd73_interface.cc@61: Cannot send write command.
ERROR in lib/gd73.cc@240: Cannot upload codeplug.
Debug in lib/c7000device.cc@263: Close C7000 interface.
Debug in lib/c7000device.cc@263: Close C7000 interface.

sgofferj avatar Jun 01 '24 09:06 sgofferj

Reading and writing fails for me randomly with high frequency too. Retry until you succeed (at most three times for me). This however, is certainly a bug in qdmr or a quirk of the radio I need to address. So I'll keep this issue open.

hmatuschek avatar Jul 15 '24 06:07 hmatuschek

Does this issue still exists with the current master branch?

hmatuschek avatar May 29 '25 21:05 hmatuschek

I'll try and report back

sgofferj avatar May 30 '25 11:05 sgofferj

Still reproducible with qdmr-0.12.3. It seems the original software can sometimes pause a bit and continue writing after while. When this happens with the qdmr it seems it doesn't wait and outputs error. Maybe some timeout could be used?

yarda avatar Sep 06 '25 22:09 yarda