--- Quote Start ---
originally posted by fischer+feb 22 2006, 08:47 pm--><div class='quotetop'>quote (fischer @ feb 22 2006, 08:47 pm)</div>
--- quote start ---
<!--quotebegin-jdhar@Feb 22 2006, 07:27 PM
on a 16-bit device in x8 mode, the reading of address and address+1 should be the same value.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12894)
--- quote end ---
--- Quote End ---
I do not use AM29LV128M,
but
I think, that's not correct, because in BYTE mode A0 should be connected to
(D15-A-1) of the flash (see Texas_rev01_sch_production.pdf in
..\documents\nios_cycloneII_2c35 of nios 5.1
best regards
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12897)</div>
[/b]
--- Quote End ---
I can't tell what you mean exactly by your post; but I have the D15 pin as A0, and then A0 on the Flash is really A1, A1 is A2 etc... I think I forgot to mention it, but the addresses are doubled. So if in the datasheet, a CFI table parameter is at address 0x20, this is word address 0x20, but the value is only a byte wide. So in x8 mode, you have to read from address 0x40 (this is taking into account teh shift of address lines).. but 0x41 will read the same value again. If you want to read word at 0x21 in x16, you need to read byte 0x42.
I hope that wasn't too confusing.. it's hard to put into words. As I mentioned, the circuit is a duplicate of the Cyclone II dev board, and they have A0 connected to the DQ15 pin.