Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Valued Contributor III
745 Views

DE2-115 Board - Can not erase Flash

Hi everyone, 

 

i am trying to erase the Flash memory on my DE2-115 Board, so i can push a new file to it. 

The problem is, it says: "Erase failed at offset 0". Maybe the table is corrupt?  

 

$ nios2-flash-programmer --base=0xd0800000 --debug --erase-all Using cable "USB-Blaster ", device 1, instance 0x00 Resetting and pausing target processor: OK Found CFI table in 8 bit mode Raw CFI query table read from device: 0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 51 51 52 52 59 59 02 02 00 00 40 40 00 00 00 00 QQRRYY....@@.... 30: 00 00 00 00 00 00 27 27 36 36 00 00 00 00 07 07 ......''66...... 40: 07 07 0A 0A 00 00 03 03 05 05 04 04 00 00 17 17 ................ CFI query table read from device: 10: 51 52 59 02 00 40 00 00 00 00 00 27 36 00 00 07 QRY..@.....'6... 20: 07 0A 00 03 05 04 00 17 02 00 05 00 02 07 00 20 ............... 30: 00 7E 00 00 01 00 00 00 00 00 00 00 00 00 00 00 .~.............. CFI extended table read from device: 0: 50 52 49 31 33 10 02 01 00 08 00 00 02 B5 C5 02 PRI13........... 10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ Read autoselect code 01-7E (in 8 bit mode) No CFI override data for Device size is 8MByte Erase regions are: offset 0: 8 x 8K offset 10000: 127 x 64K Device supports AMD style programming algorithm Multi-byte programming with 32 byte buffer Sector erase timeout is 16s Word program timeout is 1ms Buffer program timeout is 4ms : Checksumming existing contents 00000000 : Needs erasing 00002000 : Needs erasing 00004000 : Needs erasing 00006000 : Needs erasing 00008000 : Needs erasing 0000A000 : Needs erasing 0000C000 : Needs erasing 0000E000 : Needs erasing 00010000 : Needs erasing 00020000 : Needs erasing 00030000 : Needs erasing 00040000 : Needs erasing 00050000 : Needs erasing 00060000 : Needs erasing 00070000 : Needs erasing 00080000 : Needs erasing 00090000 : Needs erasing 000A0000 : Needs erasing 000B0000 : Needs erasing 000C0000 : Needs erasing 000D0000 : Needs erasing 000E0000 : Needs erasing 000F0000 : Needs erasing 00100000 : Needs erasing 00110000 : Needs erasing 00120000 : Needs erasing 00130000 : Needs erasing 00140000 : Needs erasing 00150000 : Needs erasing 00160000 : Needs erasing 00170000 : Needs erasing 00180000 : Needs erasing 00190000 : Needs erasing 001A0000 : Needs erasing 001B0000 : Needs erasing 001C0000 : Needs erasing 001D0000 : Needs erasing 001E0000 : Needs erasing 001F0000 : Needs erasing 00200000 : Needs erasing 00210000 : Needs erasing 00220000 : Needs erasing 00230000 : Needs erasing 00240000 : Needs erasing 00250000 : Needs erasing 00260000 : Needs erasing 00270000 : Needs erasing 00280000 : Needs erasing 00290000 : Needs erasing 002A0000 : Needs erasing 002B0000 : Needs erasing 002C0000 : Needs erasing 002D0000 : Needs erasing 002E0000 : Needs erasing 002F0000 : Needs erasing 00300000 : Needs erasing 00310000 : Needs erasing 00320000 : Needs erasing 00330000 : Needs erasing 00340000 : Needs erasing 00350000 : Needs erasing 00360000 : Needs erasing 00370000 : Needs erasing 00380000 : Needs erasing 00390000 : Needs erasing 003A0000 : Needs erasing 003B0000 : Already erased 003C0000 : Already erased 003D0000 : Already erased 003E0000 : Already erased 003F0000 : Already erased 00400000 : Already erased 00410000 : Already erased 00420000 : Already erased 00430000 : Already erased 00440000 : Already erased 00450000 : Already erased 00460000 : Already erased 00470000 : Already erased 00480000 : Already erased 00490000 : Already erased 004A0000 : Already erased 004B0000 : Already erased 004C0000 : Already erased 004D0000 : Already erased 004E0000 : Already erased 004F0000 : Already erased 00500000 : Already erased 00510000 : Already erased 00520000 : Already erased 00530000 : Already erased 00540000 : Already erased 00550000 : Already erased 00560000 : Already erased 00570000 : Already erased 00580000 : Already erased 00590000 : Already erased 005A0000 : Already erased 005B0000 : Already erased 005C0000 : Already erased 005D0000 : Already erased 005E0000 : Already erased 005F0000 : Already erased 00600000 : Already erased 00610000 : Already erased 00620000 : Already erased 00630000 : Already erased 00640000 : Already erased 00650000 : Already erased 00660000 : Already erased 00670000 : Already erased 00680000 : Already erased 00690000 : Already erased 006A0000 : Already erased 006B0000 : Already erased 006C0000 : Already erased 006D0000 : Already erased 006E0000 : Already erased 006F0000 : Already erased 00700000 : Already erased 00710000 : Already erased 00720000 : Already erased 00730000 : Already erased 00740000 : Already erased 00750000 : Already erased 00760000 : Already erased 00770000 : Already erased 00780000 : Already erased 00790000 : Already erased 007A0000 : Already erased 007B0000 : Already erased 007C0000 : Already erased 007D0000 : Already erased 007E0000 : Already erased 007F0000 : Needs erasing Checksums took 2.2s 00000000 ( 0%): Erasing Erase failed at offset 0 Leaving target processor paused  

 

Has anybody a hint for me? 

 

With best regards, 

Jan
Tags (1)
0 Kudos
0 Replies