Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi,
--- Quote Start --- I have the "No CFI table found" error when I try to program --- Quote End --- I guess you get problem with Flash. To run without downloading to the flash : 1) To test memories with Altera programs, you have to configure the FPGA with factory configuration (it is just a press button, or you can download via Quartus programmer) 2) You can run a software without downnloading programm to the flash : In NIOS II IDE/SBT/EDS, you do "run as > ... hardware". By doing this, you download the programm to the RAM and run from here. So, you can run the Altera memory test software To create the diagnostic programm, in nios ii ide/sbt, create software from templates, you will find "hello world", "hello world small".... To debug the Flash, you can laucnh a similar command in NIOS II Shell command : nios2-flash-programmer --debug --base=0x0 --- Quote Start --- Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Found CFI table in 16 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 00 52 00 59 00 02 00 00 00 40 00 00 00 00 00 Q.R.Y.....@..... 30: 00 00 00 00 00 00 27 00 36 00 00 00 00 00 07 00 ......'.6....... 40: 07 00 0A 00 00 00 03 00 05 00 04 00 00 00 17 00 ................ 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 08 02 01 01 04 00 00 01 B5 C5 02 PRI13........... 10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 ................ 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 0001-227E (in 16 bit mode) No CFI override data for [FLASH-0001-227E] 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 Leaving target processor paused --- Quote End ---