Write to NOR flash garbled

Radha Mohan radhamohan_ch at yahoo.com
Tue Aug 25 00:51:00 EDT 2009


hi,

Can you list out the errors that you are getting? 
I also faced some problem with Spansion S29GL064M90TAIR4NOR flash. In my case the
sector erase was not happening immediately after giving the command. So with that I saw
some Data CRC and Node CRC errors.
So I put a retry in the code where erase was failing (cfi_cmdset0002.c). And also I disabled
the buffered write.

-- Mohan



----- Original Message ----
From: N Cheung <brjerome.1 at gmail.com>
To: linux-mtd at lists.infradead.org
Sent: Tuesday, 25 August, 2009 12:28:28 AM
Subject: Write to NOR flash garbled

This device, a Micrel KS8695 based system with Linux 2.6.18 with AMD
Am29LV641DH.  Device running find for 2 years until switch to a
compatible Spansion NOR flash S29GL064N.

flashcp failed with error: File does not seem to match flash data.
First mismatch at 0x00000000-0x00002800

Use dd to copy a one line text file, we can read it back OK.  But with
a bigger (200 lines) text file, the data get garbled.

However, if MTD debug is set to verbosity=3, flashcp copied big files
without problem.

Any pointers will be greatly appreciated.

Thanks in advance,
Norman

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



      Looking for local information? Find it on Yahoo! Local http://in.local.yahoo.com/




More information about the linux-mtd mailing list