Forum Discussion
Altera_Forum
Honored Contributor
12 years ago@ gmpstr : interseting. Maybe the resolved type "std_logic_vector" is not good for inout. The unresolved "std_ulogic_vector" could be good
@asickrishna : In a Nios II command Shell (see Windows start menu/programs/altera/... or "C:\altera\12.0sp1\nios2eds\Nios II Command Shell.bat" ) nios2-flash-programmer --debug --base=0x10800000 You will get something like this
this is an example
Using cable "USB-Blaster ", 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
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