Forum Discussion
Altera_Forum
Honored Contributor
18 years ago1/ As I remember, you don't need to toggle CE & WE at the same time.
2/ We did NOR flash Emulator for Spansion, STM, SST, Winbond, MXIC. All of them need to do following sequence if you're trying to write correctly: Reset -> Erase -> Program -> Check Ready Pin -> Verify(Read) Which means I have to following sequence (VHDL code just for telling you the seq, not really working) When Reset0=> D(7 downto 0)<="11110000"; CE<='0'; WE<='0'; --F0 When Reset1=> WE<='1'; When Erase=> -- depends on where and which kind of Erase you want, sequence is like program When Program0=> D(7 downto 0)<= "10101010"; [/INDENT]A(10 downto 0)<="10101010101"; WE<='0'; --555/AA When Program1=> WE<='1'; When Program2=> D(7 downto 0)<= "01010101"; [/INDENT]A(10 downto 0)<="01010101010"; WE<='0'; --2AA/55 When Program3=> WE<='1'; When Program4=> D(7 downto 0)<= "10100000"; [/INDENT]A(10 downto 0)<="10101010101"; WE<='0'; --555/A0 When Program5=> WE<='1'; When Program6=> D<="your data"; A<="your address"; WE<='0'; When Program7=> WE<='1'; -- Then, do Ready/Busy pin check -- And now you can read it I believe Intel's Strata Flash do so. Our Related Emulator: http://www.samedisk.com/en/forum/viewforum.php?f=5 (http://www.samedisk.com/en/forum/viewforum.php?f=5)