Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Spansion Flash Byte Write Sequence for AM29LV128

Note: This doesn't apply to you unless you're reading & writing to flash without going through a Nios core (aka, the avalon bus).

Just wanted to A) vent some frustration, and http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif let anyone who is attempting to do something similar (doubtful) know that you cannot use the "word programming command sequence" to write to the AM29LV128MH flash device (U5 on the Stratix II Development Board). The development board is set up in x8-mode and in the fine print of the datasheet, page 28, specifies that you must use the buffer programming operation.

<rant>There&#39;s two things that really irk me about this. One is that the data sheet lists the program word command under its list of x8-mode operations. However, it lists the wrong sequence. Discussing this with a Spansion engineer, we agreed on the right sequence (AA@AAA, 55@555, A0@AAA, PD@PD). This worked, but after a day and a half of testing, works only like 98% of the time, *mumble, mumble* Guess thats why it isn&#39;t supported</rant>

Kevin
No RepliesBe the first to reply