writing to flash

Thread Starter

Afeesh

Joined Jun 12, 2009
9
Hai all,
I have been trying to program a flash memory from spansion
S29GL128N
for quite sometime,but i am not able to succeed. The timing cycles and
unlock cycles has been rightly followed. I had followed write buffer
programming . But i am not able to get the RY/BY# pins and also status
pins(DQ1-DQ7) right.Can any one help me in this regard

Afeesh
 

nickagian

Joined Mar 12, 2010
34
Hi Afeesh!

Do you have an oscilloscope to see if the signals going to the memory are correct? That would be very helpful. If you have one, try to see if the sequence that you follow and the timings of the signals are correct. Many of such problems usually can be found with an oscilloscope. And I'm afraid that nobody can help you unless you give us something, images from the oscilloscope for example. Or perhaps the code that you use would be helpful, too.

Nick
 
Start simpler than that - Can you read the chip ID correctly?

Issue a CFI Query command (0x98 to address 0x55 of the flash), start reading the CFI Query Space - are the 3 bytes starting at 0x20 "QRY"?

Is it 8 or 16 bits wide? You need to use the correct addresses according to the width, I assume byte wide above.

More information about your setup would of course be helpful.
 
Top