Hi there,
I am the happy owner of the EA1788 board. My simple project is to build a web page where I will be able to upload a file to an SD card which I put into the slot on EA1788 board.
The setup includes 1GB MicroSD in adapter and half of the LPC1769 board: LPC1769 LPCXpresso Board | Embedded Artists AB as a debugger.
I started by examining the LPCOpen 'periph_sdmmc' and 'app_sdmmc_meas' examples which are those dedicated to LPC1788.
The first example describes how to use the SD/MMC interface with an SD card and an FATFS filesystem
and the second measures the performance of SD/MMC raw read & write operations.
Everything should work but it doesn't.
In my opinion, the SD card is not detected.
I went through the forums and what I found is not quite helpful:
https://community.nxp.com/thread/422375
I tried with FAT16 and FAT32 turning DMA on and off.
Could anybody help me with the issue, please?
Greg
Hi,
Could you please check known issues listed in the NXP LPCOpen LPC17xx Release Notes:
http://www.nxp.com/assets/documents/data/en/release-notes/LPC17XX-RN.pdf
"Example periph_sdmmc intermittently fails with ‘Card Acquire failed’ errors on LPC1788 when pressing the reset button. Seems to work OK when running from the debugger."
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------