Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

Can't restore factory image to CFI Flash in Cyclone V GT dev board

Seadog
Beginner
498 Views

I have a Cyclone V GT development board with a corrupted factory image in the CFI flash.  I have been able to update the User 1 image via the Board Update Portal.  But attempts to restore the factory image (per Section 4 of the User Guide) have all failed.  This is what I get if I run the command nios2-flash-programmer.exe -base=0x0000000 restore_c5gt_fpga_bup.flash --debug

 

No CFI table found at address 0x0000000A

Original contents (after writing 0xF0 and 0xFF00FF to address 0x0000000A):
0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
Contents after writing 0x980098 to address 0x000000B4:
0: 4F F9 04 00 FF FF FF FF FF FF FF FF FF FF FF FF O...............
10: FF FF FF FF FF FF 51 00 56 00 59 00 01 00 00 00 ......Q.V.Y.....
20: 0A 00 01 00 00 00 00 00 00 00 00 00 17 00 20 00 .............. .
30: 85 00 95 00 09 00 0A 00 0A 00 00 00 03 00 02 00 ................
40: 02 00 00 00 1B 00 01 00 00 00 0A 00 00 00 02 00 ................
Contents after writing 0x980098 to address 0x0000015E:
0: 4F F9 04 00 FF FF FF FF FF FF FF FF FF FF FF FF O...............
10: FF FF FF FF FF FF D1 00 52 00 59 00 01 00 00 00 ........R.Y.....
20: 0A 00 01 00 00 00 00 00 00 00 00 00 17 00 20 00 .............. .
30: 85 00 95 00 19 00 0A 00 0A 00 00 00 01 00 02 00 ................
40: 02 00 00 00 1B 00 01 00 00 00 0A 00 00 00 02 00 ................
Contents after writing 0x00980098 to address 0x000002B2:
Same after writing 0x980098 to address 0x0000005F:
Same after writing 0x980098 to address 0x000000B4:
Same after writing 0x00980098 to address 0x0000055A:
0: 4F F9 04 00 FF FF FF FF FF FF FF FF FF FF FF FF O...............
10: FF FF FF FF FF FF 51 00 52 00 59 00 01 00 00 00 ......Q.R.Y.....
20: 0A 00 01 00 00 00 00 00 00 00 00 00 17 00 20 00 .............. .
30: 85 00 95 00 09 00 0A 00 0A 00 00 00 01 00 02 00 ................
40: 02 00 00 00 1B 00 01 00 00 00 0A 00 00 00 02 00 ................
Contents after writing 0x00980098 to address 0x0000015E:
0: 4F F9 04 00 FF FF FF FF FF FF FF FF FF FF FF FF O...............
10: FF FF FF FF FF FF 51 00 52 00 59 00 01 00 00 00 ......Q.R.Y.....
20: 0A 00 01 00 00 00 00 00 00 00 00 00 17 00 20 00 .............. .
30: 85 00 95 00 09 00 0A 00 1A 00 00 00 01 00 02 00 ................
40: 02 00 00 00 1B 00 01 00 00 00 0A 00 00 00 02 00 ................
Contents after writing 0x980098 to address 0x0000015E:
0: 4F F9 04 00 FF FF FF FF FF FF FF FF FF FF FF FF O...............
10: FF FF FF FF FF FF 51 00 52 00 59 00 01 00 00 00 ......Q.R.Y.....
20: 0A 00 01 00 00 00 00 00 00 00 00 00 17 00 20 00 .............. .
30: 85 00 95 00 09 00 0B 00 0A 00 00 00 01 00 02 00 ................
40: 02 00 01 00 1B 00 01 00 00 00 0A 00 00 00 02 00 ................
Contents after writing 0x980098 to address 0x000002B2:
0: 4F F9 04 00 FF FF FF FF FF FF FF FF FF FF FF FF O...............
10: FF FF FF FF FF FF 51 00 52 00 59 00 01 00 00 00 ......Q.R.Y.....
20: 0A 00 03 00 00 00 00 00 00 00 00 00 17 00 20 00 .............. .
30: 85 00 95 00 09 00 0A 00 0A 00 00 00 01 00 02 00 ................
40: 02 00 00 00 1B 00 01 00 00 00 0A 00 00 00 02 00 ................
Ignored possible autoselect code 4F-04 as no override data
present in section [FLASH-4F-04]
Ignored possible autoselect code F94F-0005 as no override data
present in section [FLASH-F94F-0005]
Ignored possible autoselect code 0004F94F-FFFFFFFF as no override data
present in section [FLASH-0004F94F-FFFFFFFF]

Leaving target processor paused

 

 

Is there a way to fix this?

 

Thanks.

0 Kudos
0 Replies
Reply