I am using the CCS drivers for a MMC card. It works very well, except that a block write operation returns a MMC_EC_WRITE_ALWAYS_BUSY = 17 error.
I find that this happens after several blocks have been written.
Is it possible that some portions in the MMC are defective ??
Is there a way to detect this in advance ??
Note: I am directly reading and writing blocks to the MMC using the drivers.
thanks
arunb
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
Posted: Sun May 17, 2009 6:30 am
MMC and SD cards include embedded wear leveling and bad sector detection and remapping logic. Until you have exceeded the endurance of the media you will not see these areas. Once you have exceeded the endurance then yes this could explain what you are seeing.
If you are using relatively new media and are not continuously writing to the same blocks then more likely you have a implementation problem. _________________ Regards, Andrew
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum