Forum Discussion
Altera_Forum
Honored Contributor
16 years ago<div class='quotetop'>QUOTE (MSchmitt @ Aug 8 2009, 04:31 PM) <{post_snapback}> (index.php?act=findpost&pid=23463)</div>
--- Quote Start --- all reported values are 8 bit the upper 8 bit are always 00 check if you flash is in 8 bit mode next check if you use 16bit mode that nios adr 0 is not connected as adr bit 0 it is always 0 in 16 bit accesses nios a1 should go to flash a0, but some manufacures like spansion label adr bit 0 as a-1 if it is a 16 bit device with 8bit mode. regards michael[/b] --- Quote End --- thanks 'MSchmitt' , i have cheched my board and the flash is working under 16bit mode. nios A1 is connected to flash a0,sst39vf3201 dosent have a-1 pin, a0 is addressed a byte! perhaps i discriped it not deeply , i provide the nios2-flashprogrammer --debug --base=0 : Using cable "ByteBlasterII [LPT1]", 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: BF 00 5B 23 01 00 FF FF 01 00 FF FF FF FF FE 00 ..[#............ 10: FF FF FF FF 18 00 04 00 FF FF FF FF FF FF FF FF ................ 20: 51 00 52 00 59 00 01 00 07 00 00 00 00 00 00 00 Q.R.Y........... 30: 00 00 00 00 00 00 27 00 36 00 00 00 00 00 03 00 ......'.6....... 40: 00 00 04 00 05 00 01 00 00 00 01 00 01 00 16 00 ................ CFI query table read from device: 10: 51 52 59 01 07 00 00 00 00 00 00 27 36 00 00 03 QRY........'6... 20: 00 04 05 01 00 01 01 16 01 00 00 00 02 FF 03 10 ................ 30: 00 3F 00 00 01 FF FF FF FF FF FF 07 02 11 FF FF .?.............. 40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ 70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ CFI extended table not present in device Read autoselect code 00BF-235B (in 16 bit mode) No CFI override data for [FLASH-00BF-235B] CFI erase region definitions don't match device size Leaving target processor paused