Hi,
I wanted to test the SD-card example from keil using the native MCI interface with an SD card. It detects well an Formatted SDcard inserted but asks me forever to format the card and then , that the format failed... When a took a look into the source, it seems mci_init() return well (__TRUE value), but when I did an mci_read_sect in order to read the sector 0, it failed. I really didn't find what's wrong...
Best Regards
I don't know if it's your case, but the DMA only works if the buffer you are reading into is in the USB/Ethernet RAM area.
Regards, Sergio.
Thanks for the tip, But i tried to set up my destination buffer in usb memory like this without success :
static char pom[512] __attribute__((at(0x7fd0000)))
I still got the timeout on the reading... But this keil example is supposed to work out of the box ? :).
I forget to mention that the MCB2300 is a rev3 and with a LPC2368 .