can't backup FLASH

Anything specifically related to the DM-1801 version of the firmware
Post Reply
KI5PGJ
Posts: 30
Joined: Tue Jul 06, 2021 1:10 pm

can't backup FLASH

Post by KI5PGJ » Sat Oct 02, 2021 3:02 pm

I tried to in OpenGD77 to a DM-1801 today, on reboot I get "CAL DATA ERROR"

I then found the instructions here, https://www.opengd77.com/viewtopic.php?t=836 , however when I select Backup Flash nothing occurs, except OpenGD77 Support page goes gray. I can backup EEPROM and MCU ROM using OpenGD77 Support, but Backup Flash does not work.

Any ideas on how to proceed?

This is the first DM-1801 I tried to upgrade to OpenGD77 after succesfully upgrading 3 different Radioditty GD77.

thanks

User avatar
F1RMB
Posts: 2517
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: can't backup FLASH

Post by F1RMB » Sat Oct 02, 2021 5:59 pm

Hi,

Hmmm, that sounds bad.
What did happen if you try to backup the calibration data ?


Cheers.
---
Daniel

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: can't backup FLASH

Post by VK3KYY » Sat Oct 02, 2021 8:49 pm

CAL DATA ERROR is triggered if the data at the beginning of the calibration data area does not match what is normally in that area.

Zip your flash backup data and piut it somewhere we can download iit from.

Its possible the calibration data is corrupt, but the CAL data doesn't change much for each radio, so using CAL data from another DM1801 will probably work.

KI5PGJ
Posts: 30
Joined: Tue Jul 06, 2021 1:10 pm

Re: can't backup FLASH

Post by KI5PGJ » Sat Oct 02, 2021 10:26 pm

I can't get flash backup data. When I try to backup flash nothing happens, from my first post "however when I select Backup Flash nothing occurs, except OpenGD77 Support page goes gray. I can backup EEPROM and MCU ROM using OpenGD77 Support, but Backup Flash does not work."

So I can backup EEPROM and MCU ROM, but not Flash. I'll try to backup Calibration data after I post this and followup with result.

I don't have access to any other DM-1801, just qty 3 GD77. I was "trying" to help a fellow ham get OpenGD77, after I told him how happy I am with it.

thanks

KI5PGJ
Posts: 30
Joined: Tue Jul 06, 2021 1:10 pm

Re: can't backup FLASH

Post by KI5PGJ » Sat Oct 02, 2021 10:33 pm

DM1801-CalibrationBackup-Failure.JPG
DM1801-CalibrationBackup-Failure.JPG (41.17 KiB) Viewed 6290 times
Calibration backup failed.
F1RMB wrote:
Sat Oct 02, 2021 5:59 pm
Hi,

Hmmm, that sounds bad.
What did happen if you try to backup the calibration data ?


Cheers.
---
Daniel

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: can't backup FLASH

Post by VK3KYY » Sat Oct 02, 2021 10:57 pm

Thats strange

USB CPS functions are explicitly enabled if there is a Cal data error

Code: Select all

		showErrorMessage("CAL DATA ERROR");
		USB_DeviceApplicationInit();
		die(true, false);
The die() function when set to true, still enables CPS functionality

I'll re-test on one of my radios to see if the CPS works if Cal check fails

User avatar
F1RMB
Posts: 2517
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: can't backup FLASH

Post by F1RMB » Sat Oct 02, 2021 10:59 pm

Hi,

Okay.
And what is happening when you try to backup the flash (it can take some time before seeing the progress bar to move) ?


Cheers.
---
Daniel

KI5PGJ
Posts: 30
Joined: Tue Jul 06, 2021 1:10 pm

SOLVED Re: can't backup FLASH

Post by KI5PGJ » Sat Oct 02, 2021 11:23 pm

okay, this is all my fault, in other words I screwed up.

The only radios I'd installed OpenGD77 on were Radioditty GD77 which is the only firmware I'd downloaded. So that is what I used on the DM1801, which of course it isn't meant for. I just downloaded OpenDM1801 firmware and installed it on the DM-1801 and it worked correctly as expected.

Backup of Flash and Calibration worked as they should too.

I apologize for the noise, perhaps in the future someone else will load the wrong version of the firmware, find this post and resolve their issue without asking the same stupid thing I did.

73
Liz

VK3KYY
Posts: 7473
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: SOLVED Re: can't backup FLASH

Post by VK3KYY » Sun Oct 03, 2021 2:51 am

KI5PGJ wrote:
Sat Oct 02, 2021 11:23 pm
okay, this is all my fault, in other words I screwed up.

The only radios I'd installed OpenGD77 on were Radioditty GD77 which is the only firmware I'd downloaded. So that is what I used on the DM1801, which of course it isn't meant for. I just downloaded OpenDM1801 firmware and installed it on the DM-1801 and it worked correctly as expected.

Backup of Flash and Calibration worked as they should too.

I apologize for the noise, perhaps in the future someone else will load the wrong version of the firmware, find this post and resolve their issue without asking the same stupid thing I did.

73
Liz
No worries

Its hard for us to check whether people are installing the correct firmware, for the radio.

If we did attempt to do this, I think it would cause more problems with false negatives etc when things change in the firmware.

KI5PGJ
Posts: 30
Joined: Tue Jul 06, 2021 1:10 pm

Re: SOLVED Re: can't backup FLASH

Post by KI5PGJ » Sun Oct 03, 2021 3:42 pm

VK3KYY wrote:
Sun Oct 03, 2021 2:51 am
No worries

Its hard for us to check whether people are installing the correct firmware, for the radio.

If we did attempt to do this, I think it would cause more problems with false negatives etc when things change in the firmware.
I figured if there was a way to determine which model radio the CPS was interacting with y'all would have already implemented it.

I'm having a blast with DMR and the GD77/DM1801 with OpenGD77/OpenDM1801.

From my conversations with other people a lot give up on DMR because of the complexities with creating a codeplug for their radio, this includes people who have shelved GD77 with stock firmware. I've convinced the one's with GD77 to load OpenGD77, the other one's I highly recommend they buy a GD77 or DM1801, install y'all's code and try again.

73
Liz

Post Reply