well after that I had made the board description there were a few things I had to edit manually,by using a text editor, in the .ptf file. Somehow there were a few things missing but with a reference design I was able to get it working.
But when I try to load something in the flash, not the EPCS, I'm getting the " no CFI table found at adress 0x000000"
what I have tried is:
use the CLI with the debug function, which gives me the following result:
$ nios2-flash-programmer --cable="Usb-blaster " --device=3
-base=0x0 --debug
Using cable "USB-Blaster ", device 3, instance 0x00
Resetting and pausing target processor: OK
No CFI table found at address 0x0000000A
Original contents (after writing 0xF0 and 0xFF to address 0x0000000A):
0: FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F ................
10: FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F ................
20: FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F ................
30: FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F ................
40: FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F FF 7F ................
Contents after writing 0x98 to address 0x000000B4:
Same after writing 0x98 to address 0x0000005F:
Same after writing 0x98 to address 0x0000015E:
0: 98 18 98 18 98 18 98 18 98 18 98 18 98 18 98 18 ................
10: 98 18 98 18 98 18 98 18 98 18 98 18 98 18 98 18 ................
20: 98 18 98 18 98 18 98 18 98 18 98 18 98 18 98 18 ................
30: 98 18 98 18 98 18 98 18 98 18 98 18 98 18 98 18 ................
40: 98 18 98 18 98 18 98 18 98 18 98 18 98 18 98 18 ................
Contents after writing 0x0098 to address 0x0000015E:
Same after writing 0x0098 to address 0x000000B4:
Same after writing 0x0098 to address 0x000002B2:
0: 98 00 98 00 98 00 98 00 98 00 98 00 98 00 98 00 ................
10: 98 00 98 00 98 00 98 00 98 00 98 00 98 00 98 00 ................
20: 98 00 98 00 98 00 98 00 98 00 98 00 98 00 98 00 ................
30: 98 00 98 00 98 00 98 00 98 00 98 00 98 00 98 00 ................
40: 98 00 98 00 98 00 98 00 98 00 98 00 98 00 98 00 ................
Contents after writing 0x00000098 to address 0x000002B2:
Same after writing 0x00000098 to address 0x0000015E:
Same after writing 0x00000098 to address 0x0000055A:
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: 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 ................
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Ignored possible autoselect code 90-90 as no override data
present in section
Ignored possible autoselect code 0090-0090 as no override data
present in section
Ignored possible autoselect code 00000000-00000000 as no override data
present in section
Leaving target processor paused
Slacker you were saying in some other posts that I should compare this data with the datasheet from my flash (Spansion S29JL064H)
How do I do this? Could you please explain it to me? My quess is that I should compare the addres and the data that is written here to the flash with the address and data in the datasheet? Am i right in this?
I also tried to give the .ptf file a few extra lines with REFDES in it, as described by tommycp in the thread" flash made me crazy for several days,no cfi table"
any help is appreciated:D
hmmz seems nobody has a clue? there must be someone how knows how to solve this???