Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for L05.00.05 Firmware #5

Open
jejdouay opened this issue Jan 28, 2021 · 5 comments
Open

Support for L05.00.05 Firmware #5

jejdouay opened this issue Jan 28, 2021 · 5 comments

Comments

@jejdouay
Copy link

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 !

@OK2MOP
Copy link
Owner

OK2MOP commented Jan 28, 2021

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.

@jejdouay
Copy link
Author

jejdouay commented Jan 28, 2021 via email

@OK2MOP
Copy link
Owner

OK2MOP commented Jan 28, 2021

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

@OK2MOP
Copy link
Owner

OK2MOP commented Jan 29, 2021

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.

@OK2MOP
Copy link
Owner

OK2MOP commented Sep 21, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants