We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Hello Yann Suisini,
You have to use USB RAM for DMA and the USB RAM starts at 0x7FD00000 and not at 0x7FD0000 as you mentioned before.
The best is to create a second RAM area (IRAM2) in uVision under Options for Target - Target and locate file RTLFS.lib to this area. You select IRAM2 under Options for File - Zero Initialized Data.
Best Regards, Martin Guenther