Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12590 Discussions

Spansion Flash Byte Write Sequence for AM29LV128

Altera_Forum
Honored Contributor II
922 Views

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
0 Kudos
0 Replies
Reply