Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mistake in LPC3131 common driver library (regarding SDcard support)

Hi,

I just want to report you an error in the LPC313x Common Driver Library (CDL), V0.03 (Apr 3, 2009) archive.

The problem is for multiple block write on MCI port, in the file lpc_sdmmc.h (in software\\lpc\\include) I think their is a mistake :

One can find :

#define CMD_WRITE_MULTIPLE  CMD(MMC_WRITE_BLOCK,1) | CMD_BIT_DATA | CMD_BIT_WRITE | CMD_BIT_AUTO_STOP

I think it should be :

#define CMD_WRITE_MULTIPLE  CMD(MMC_WRITE_MULTIPLE_BLOCK,1) | CMD_BIT_DATA | CMD_BIT_WRITE | CMD_BIT_AUTO_STOP