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

More questions in this forum