Author Topic: Backup Firmware DG1022  (Read 7876 times)

0 Members and 1 Guest are viewing this topic.

Offline tv84

  • Super Contributor
  • ***
  • Posts: 2242
  • Country: pt
Re: Backup Firmware DG1022
« Reply #25 on: May 27, 2021, 09:14:38 pm »
Sure it is. Altera doesn't store its programming. It loads it on-the-fly from the EEPROM once the equipment starts.

BTW, you NVRAM dump has a 0x30000 offset displacement from what it should have. So, I would say that it is if you loaded a .GEL out of place by 0x30000 bytes.
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 2242
  • Country: pt
Re: Backup Firmware DG1022
« Reply #26 on: May 27, 2021, 09:19:55 pm »
One of my files is the bootloader.

00000040 - 000002C0  00019982  20000000  0000  0000  00000000  [000002C0-00019C41]

You must place the blue block at the red address in the NVRAM dump! (remember that address 0x20000000 = offset 000000 in the dump)
 

Offline JimKnopf

  • Contributor
  • Posts: 25
  • Country: 00
Re: Backup Firmware DG1022
« Reply #27 on: June 14, 2021, 07:30:30 pm »
@tv84 Today i tried to flash the modified ldr file. The file is attached as zip file.
I could not erase the memory before writing. After writing i could not verify it. The DG1022 does not start.

Please, can someone send me a flashdump or proper prepared ldr file for DG1022?
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 2242
  • Country: pt
Re: Backup Firmware DG1022
« Reply #28 on: June 14, 2021, 08:30:01 pm »
I've asked for external help BUT you should further investigate the not being able to verify.

Because, even with a correct dump, if you can't write/verify the thing correctly, it is useless.
 

Offline JimKnopf

  • Contributor
  • Posts: 25
  • Country: 00
Re: Backup Firmware DG1022
« Reply #29 on: June 15, 2021, 10:00:37 am »
@tv84 OK, i used shorter wires and reduced clock speed (1 MHz instead of 6 MHz). Writing and  verifying worked.

But the device will not start.
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 2242
  • Country: pt
Re: Backup Firmware DG1022
« Reply #30 on: June 15, 2021, 10:22:13 am »
That's good news. I'll try to get some help.
 

Offline JimKnopf

  • Contributor
  • Posts: 25
  • Country: 00
Re: Backup Firmware DG1022
« Reply #31 on: June 15, 2021, 02:43:55 pm »
@tv84 I found out that the problem was related to the clock speed rather than wire length. The clock signal on the Segger clone becomes unstable at more than 3MHz.
 

Offline JimKnopf

  • Contributor
  • Posts: 25
  • Country: 00
Re: Backup Firmware DG1022
« Reply #32 on: June 21, 2021, 06:45:01 pm »
@tv84 Any idea why i can't programm the address space 0x0000 - 0x3fff? When i programm the nvram via jtag, the mentioned area is empty.

I tried different programmers now: TIAO Tumpa, Olimex Tiny-H, Segger j-link clone. Always the same result.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf