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 everyone,
I know this is probably NXP related question, but I suppose there are many skilled guys knowing answer...
I would need to support SDHC cards on LPC2368. There is SD/MMC peripheral available. I didn't know it suppoorts also SDHC. After some research I understood the SDHC means only some more commands (comparing to SD) and thus it is only firmware related thing, so the NXP's hardware peripheral should support both types.
Is this correct assumption? Would SDHC work when I implement SD 2.0 commands?
Thanks for opinions
Regards
Pavel Faltynek
Yes, the assumption is correct. Yes, SDHC will work when you implement SD 2.0 commands.
you are correct. however, Keil's FlashFS does not support SDHC at this time.
Thanks for confirmation.
Regards Pavel
MMR MICHELE,
Any specific reason for choosing the FlashFS port? You can do that easily with a USB adaptor with firmware modification. follow the link for more info and details.
http://www. .com
SDHC support will be in the next RL release.
Dos SDHC support in LPC-17xx ?
The LPC-17xx are NXP products - you need to speak to NXP with questions about NXP's products!
Have you checked the Datasheet and other documentation?
I think he meant to ask if FlashFS library for LPC17xx supports SDHC. The answer is - yes.
(1) I test rlarm410 and I can't find any SDHC code in C:\Keil\ARM\Boards\Keil\MCB1700\RL\FlashFS\SD_File\SPI_LPC17xx.c. (2) I can find SDHC code in C:\Keil\ARM\Boards\Keil\MCB2300\RL\FlashFS\SD_File\MCI_LPC23xx.c. (3) I test SDHC card(8G) supported in LPC23xx but not in LPC17xx.
How do I find the SDHC code for LPC17xx ? Thanks !!
If you have RL then SDHC support for chips that communicate through SPI with SD Cards is packed into FlashFS library.
(1) Thank you ! I test rlarm410 again and SDHC is really supported in LPC17xx. I can access SDHC card(8G) successfully with SD_File demo.
(2) I have another question. When I plug-in MicroSD card with SD adapter in LPC17xx SD_File demo of rlarm410 and it will reset CPU whenever power on. But if I use SD card not MicroSD and this condition will not happen. Does anybody know why ?
I have found the problem. It is because the power consumption problem.
When I test SDHC card(8G) in LPC17xx, I found a problem. I format the SDHC card with rlarm lib and then I check the total space of SDHC card. It just shows about 3.7G not about 8.0G but I can really save about 8.0G data in the SDHC card. The following is the message from LPC17xx after SDHC card is formatted. Does anybody know why ?
File System Directory... No files...
3,720,314,880 bytes free.
What version of RL-ARM are you using?
I use rlarm410. I have found the problem. It is because the variable type. In the demo, it uses "U32" to calculate the space of SDHC card and I modify it to be "U64" and it works well. The following message is from LPC17xx. Thanks for help !!
File System Directory... No files... 8.015.282.176 bytes free.