Page 1 of 1

[Corrupted official firmware] Radio won't enter the bootloader

Posted: Sat Apr 03, 2021 12:32 am
by KF0EYZ
Good Evening!

I am totally new when it comes to Ham radio and am jumping in the deep end starting with a DMR radio. I got a good deal on a Radioddity GD 77 which is quite nice but I have maybe backed myself into a corner while playing around with firmware updates. I first used the official Radioddity software to update the firmware and I ended up with version 4.02.06 I downloaded the OPENGD77 software and was trying to upgrade the to the open firmware and for the life of me I can not get my radio into firmware update mode. I have done everything under the sun to no avail. Any tips tricks or advice? Under device info it does say that I have ROM:Error_01 if that helps.

Sorry for the first post being nothing but bellyaching.

KF0EYZ

Re: [Corrupted official firmware] Radio won't enter the bootloader

Posted: Sat Apr 03, 2021 12:56 am
by VK3KYY
slondeen wrote:
Sat Apr 03, 2021 12:32 am
I downloaded the OPENGD77 software and was trying to upgrade the to the open firmware and for the life of me I can not get my radio into firmware update mode. I have done everything under the sun to no avail. Any tips tricks or advice? Under device info it does say that I have ROM:Error_01 if that helps.

Sorry for the first post being nothing but bellyaching.

KF0EYZ
Just hold both buttons in on the side of the radio and then turn it on.

The green LED should turn on, but nothing gets displayed on the screen.

Then use the OpenGD77 CPS to install the firmware.

https://github.com/rogerclarkmelbourne/ ... taller.exe

No special driver is needed to update

Re: [Corrupted official firmware] Radio won't enter the bootloader

Posted: Sat Apr 03, 2021 7:14 pm
by KF0EYZ
I do that but it it does not enter firmware update mode. Is there something else you can do to force or reset it?

Re: New To HAM and the GD77

Posted: Sat Apr 03, 2021 8:47 pm
by VK3KYY
Is the radio new?

The only reason I have see for this is when the program memory in the CPU got partially corrupted.

I guess also if the buttons on the side don't work, would have the same effect.

With the official firmware, you can assign the 2 buttons below the PTT to various functions, so make sure that both of those buttons actually work.


BTW. Which radio do you have?

Some DM-1801 radios have a different bootloader / firmware loader, which doesn't turn on the green LED.

The only way to know that the radio is in upload mode is that the display is blank, but it appears as a USB HID device when you plug it ionto a computer

Re: [Corrupted official firmware] Radio won't enter the bootloader

Posted: Sat Apr 03, 2021 10:34 pm
by VK3KYY
BTW.

I have changed your login to your callsign as its site policy for people to use their callsign if they have one

Re: [Corrupted official firmware] Radio won't enter the bootloader

Posted: Mon Apr 05, 2021 3:09 am
by KF0EYZ
After talking with the good folks at Radioddity The bootloader corrupted its self and I will have to exchange out that unit to get a new one. Bad luck for me but good to know that I was not going crazy. Thanks you all who responded with advice on the matter.

Re: [Corrupted official firmware] Radio won't enter the bootloader

Posted: Mon Apr 05, 2021 3:58 am
by VK3KYY
KF0EYZ wrote:
Mon Apr 05, 2021 3:09 am
After talking with the good folks at Radioddity The bootloader corrupted its self and I will have to exchange out that unit to get a new one. Bad luck for me but good to know that I was not going crazy. Thanks you all who responded with advice on the matter.
OK.

If Radioddity weren't willing to give you a new radio, there is a hardware solution to this, but it involves taking the radio to pieces and also buying a hardware programmer.


BTW.

This problem with the bootloader is caused by bad programming in the bootloader.

The developers who programmed the bootloader added a copy protection check system, which checks some bytes in the program ROM of the CPU.

However, due to bugs in the official firmware, those bytes can get overritten or cleared, which results in either it not being possible to enter the bootloader, or in extreme cases the main firmware also not running, as it also has some copy protection code which checks some other memory which also gets overwritten.

I ended up having to create hacked versions of the bootloader, to remove the copy protection, which people had to install using a hardware programmer connected to the main PCB