Altera_Forum
Honored Contributor
19 years agoHow to rebuild a lost CFI table
When I tried to download my design in to the Nios2 board, I got the "No CFI table found at address 0x01000000" error from the Nios2 IDE. I followed the instructions in the User Guide of Programmer and obtained the following message from the command line programmer tool:
/cygdrive/e/altera/kits/nios2_60/examples [SOPC Builder]$ nios2-flash-programmer.exe --debug --base=0x01000000 Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 Resetting and pausing target processor: OK No CFI table found at address 0x01000000 Original contents (after writing 0xF0 and 0xFF to address 0x01000000): 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 0x98 to address 0x010000AA: Same after writing 0x0098 to address 0x01000154: Same after writing 0x00000098 to address 0x010002A8: Same after writing 0x98 to address 0x01000055: Same after writing 0x0098 to address 0x010000AA: Same after writing 0x00000098 to address 0x01000154: Same after writing 0x98 to address 0x01000154: Same after writing 0x0098 to address 0x010002A8: Same after writing 0x00000098 to address 0x01000550: 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 ................ Leaving target processor paused /cygdrive/e/altera/kits/nios2_60/examples [SOPC Builder]$ I downloaded the data sheet of the Am29LV065D Flash chip from www.alldatasheet.com and found that the entire CFI table is missing. From the data sheet, I learned how should the CFI table look like, but I don't know how to rebuild it or what tool should I use?? Please help!! Thank you very much!!!!