Forum Discussion
Altera_Forum
Honored Contributor
19 years agoThe target board stuff was deprecated as of 5.1. The target "board" design is no longer needed for successful flash programming. The current editions of the manual clearly state this fact.
Tommy, you do need to spend some more time reading the flash user's guide, but, it probably also makes sense to try the '--debug' option on the nios2-flash-programmer, via CLI. Following is a sample of what you should be seeing:$ nios2-flash-programmer -c 1 --debug --base=0x0
Using cable "Nios II Evaluation Board ", 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 01 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 01 05 04 00 17 02 00 05 00 01 7F 00 00 ................
30: 01 00 00 00 00 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 05 PRI13...........
10: 01 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
Device size is 8MByte
Erase regions are:
offset 0: 128 x 64K
Device supports AMD style programming algorithm
Multi-byte programming with 32 byte buffer
Sector erase timeout is 16s
Word program timeout is 256us
Buffer program timeout is 4ms
Leaving target processor paused You will, obviously, get a different message... The output should help you to decide what the issue is... Best Regards, - slacker