
In message 20061003175803.6392.qmail@web33213.mail.mud.yahoo.com you wrote:
-> On my target board I have a spansion GL064M flash device.
How is it attached? As a 8 bit device?
-> I cannot erase, write to flash by implementing the appropriate command sequences with mw (memory write )
Are you sure you use ther correct addresses and commands?
For erasing sector 0xff000000 I typed the following sector erase command sequence (as per data sheet) at u-boot prompt
mw.b 0xff000555 0xAA mw.b 0xff0002AA 0x55 mw.b 0xff000555 0x80 mw.b 0xff000555 0xAA mw.b 0xff0002AA 0x55 mw.b 0xff000000 0x30
Are you really accessing an 8 bit device?
I am sure I am missing something small or may be I am doing a completely wrong thing. I am more of a
Also check if your memory controller is set up correctly...
Best regards,
Wolfgang Denk