Support for L05.00.05 Firmware
jejdouay opened this issue · comments
I have a bright new MD-1702 with the Firmware L05.00.05.
Using the tool I could not do anything except reading the version id or read the FW
After trying to get the codeplug inside the radio, the firmware got damaged and nothing is working any more.
Trying to get the FW back in is also not working, I guess this firmware uses a different protocol.
Can you add support for this firmware ?
btw, the bootloader from the DM1702-V2 says DM1706-V2... Interesting isn't it ?
Thanks in advance !
Just to clarify, you were able to read the firmware but not the codeplug? And you tried to flash codeplug/firmware with the tool when it was not working? I don't have access to any device with L05.00.05, so I cannot test it and check the communication protocol neither now nor in foreseeable future.
Can you contact me and send me at least the backed-up firmware, I may have a look at it if it is possible to flash it to some device (but if the bootlader says DM1706-V2, it may be totally different).
Did you back up the codeplug in official application before uploading the wrong one? If so, try to flash the codeplug from it back (or the default codeplug budled with CPS), but if you tried to flash the firmware back, you might have broken something.
Maybe the seller can provide the firmware and CPS for the official flashing application for you? Bootloader will still work, so it should be possible to reflash everything from scratch.
You may try a different tool for codeplug download/upload, e.g. for Retevis RT-72 which uses the newer protocol added to this tool (for L02 firmware). But do not flash the extracted firmware with it, it uses encrypted firmware files! This may help to flash the normal CPS (if it uses C1.00.01.001).
BTW, did you try the ./md1702_dfu.py versions before trying to flash? What values did it return (remove the DeviceID serial number), especially concerning the CPS format?
Mine (for the new protocol) looks like this:
FWVersion = L02.02.001
RefDate = 2018-07-10
DataFormat = D1.00.02.002
GPSFormat = S1.00.01.001
CPSFormat = C1.00.01.001
Voices = 0x14b000 - 0x159fff
HZKFont = 0x0fb000 - 0x141fff
Recordings = 0x000000 - 0x000000
Settings = 0x001000 - 0x0fafff
Logo = 0x145000 - 0x14afff
Unknown1 = 0x142000 - 0x144fff
CSVContacts = 0x246000 - 0xffffff
OK, after some discussion and experiments the firmware L05.00.05 itself works with the CPS, but the bootloader for MD1706-V2 is not supported, flashing of the firmware is broken.
Unfortunately, I only have the older radios with V1 bootloader and backups of L05.00.05.bin and L02.02.001.bin.
But I thought I have disabled flashing of V2 bootloader in my code to prevent bricking. If you have tried to flash using stock CPS with L5.00.05.bin, it probably failed due to the firmware encryption/decryption. Maybe ask your seller to provide you with your version of the firmware for official CPS?