Write to NOR flash garbled

N Cheung brjerome.1 at gmail.com
Mon Aug 24 14:58:28 EDT 2009


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



More information about the linux-mtd mailing list