We have a strange error with some MMC cards.
OS is CE5
PXA255
MMC card formatted with FAT.
With some MMC cards, currently the issue with with 1 1GB "MMCplus"
card, the writes to the card do not work correctly.
I have turned on FATFS_VERIFY_WRITES but still the problem persists. I
would have hoped this would have ensured the writes occur correctly?
It is only ever a byte or two within a file and it is always the top
bit (bit 7) which is dropped from 1 to 0.
(e.g it should be C5 but is actually 45).
It is not always the same byte in the file, not always the same file
(for example when extracting a CAB file different files get corrupted
on different attempts)
This happens for files written by CE5 on the device. If I remove the
MMC card and read it in a card reader on a PC it shows the missing
bit(s) in the file(s). If I write to the card using the card reader
the write is successful
I have tried reducing the maximum MMC clock speed from 10MHz to 5MHz
but still the same effect.
Any other ideas?
Any ideas how we can figure out why its failing?
Thanks
Andrew