hmatuschek / qdmr

A GUI application for configuring and programming cheap DMR radios under Linux and MacOS X.
https://dm3mat.darc.de/qdmr/
GNU General Public License v3.0
211 stars 45 forks source link

[GD-73] Cannot write codeplug #443

Open sgofferj opened 2 months ago

sgofferj commented 2 months ago

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.
hmatuschek commented 1 month ago

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.