Page 1 of 4

CPS partial restores of Flash memory

Posted: Sat Jun 06, 2020 5:58 am
by VK3KYY
Because people are failing to backup Flash and EEPROM memory after installing the firmware, and then getting the LOW BT VERSION error when they reinstall some versions of the official firmware.

I've had to update the CPS to allow these people to restore just the lower 64k of Flash memory, so that the Hardware Version data is restored.

See

https://github.com/rogerclarkmelbourne/ ... /R20200606

I've also had to upload my backups for the GD-77, DM-1801 and RD-5R to here.

https://github.com/rogerclarkmelbourne/ ... er/backups

Use the partial backups of "Flash_lower_64k" Not the full flash backup, as this will overwrite your individual calibration data

i.e
DM-1801 https://github.com/rogerclarkmelbourne/ ... er_64k.bin
GD-77 https://github.com/rogerclarkmelbourne/ ... er_64k.bin
RD-5R https://github.com/rogerclarkmelbourne/ ... er_64k.bin


But before you restore. Please backup your EEPROM and Flash and the MCU and save the files somewhere safe

Re: CPS partial restores of Flash memory

Posted: Mon May 17, 2021 12:07 pm
by Torax
today wanted to try the file "Flash_lower_64k.bin file" to transfer with cps software

do I have to flash under eeprom restore or flash restore?

i think flash restore is correct or not?

Re: CPS partial restores of Flash memory

Posted: Mon May 17, 2021 9:17 pm
by VK3KYY
Try restoring the flash first

If it still does not work then restore the EEPROM

Re: CPS partial restores of Flash memory

Posted: Wed May 19, 2021 7:31 am
by Torax
want to give feedback :D

everything worked (special thanks go to VK3KYY) 8-)

Re: CPS partial restores of Flash memory

Posted: Wed May 19, 2021 9:51 pm
by VK3KYY
Excellent

Re: CPS partial restores of Flash memory

Posted: Thu May 20, 2021 8:38 pm
by KC2NPZ
Roger, your links are all broken

Re: CPS partial restores of Flash memory

Posted: Thu May 20, 2021 9:32 pm
by VK3KYY

Re: CPS partial restores of Flash memory

Posted: Sun May 23, 2021 2:21 pm
by Torax
unfortunately, I have to report that the second device does not work

the message comes low bt version

It was about the language encryption that I urgently need for the security service

and why the encryption only works with version 2.1.9 and not with 2.2.5 is a mystery to me

getting the firmware 2.2.5 on the device is not a problem, but version 2.1.9 does not work on my other device

I think the problem can be found in the bootloader or mcu rom ??

Re: CPS partial restores of Flash memory

Posted: Sun May 23, 2021 11:36 pm
by VK3KYY
Torax wrote:
Sun May 23, 2021 2:21 pm
unfortunately, I have to report that the second device does not work

the message comes low bt version

It was about the language encryption that I urgently need for the security service

and why the encryption only works with version 2.1.9 and not with 2.2.5 is a mystery to me

getting the firmware 2.2.5 on the device is not a problem, but version 2.1.9 does not work on my other device

I think the problem can be found in the bootloader or mcu rom ??

I just had a look at the backup data taken from my radio, and it begins with this

Code: Select all

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  42 46 3A 42 46 31 38 30 31 5F 56 32 2E 31 00 00  BF:BF1801_V2.1..
00000010  52 4F 4D 3A 57 32 35 51 31 36 2D 32 4D 42 00 00  ROM:W25Q16-2MB..

Download HXD

https://mh-nexus.de/en/hxd/

Open the flash backup file

Change that version text to

2.2 instead of 2.1

Save the file under a different name

Re:Install the opengd77

restore that updated file

Re-install the version 2.2.5 into the radio and see if that fixes it


BTW. This is precisely why the User Guide tells everyone to backup their Flash and EEPROM files after installing the OpenGD77 firmware

https://github.com/LibreDMR/OpenGD77_Us ... thing-else

Re: CPS partial restores of Flash memory

Posted: Mon May 24, 2021 10:56 am
by Torax
right at the beginning after the installation of open gd firmware i made a backup


I uploaded the backups (you can have a look at them if you want)



I'll try the thing with the hex editor (I have experience with hex editors

Backup DM 1801 :

https://www.upload.ee/files/13170857/Ba ... 1.zip.html

Zip File !!!!!