Discussion Forum

LPC23xx SDHC support

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Pavel Faltynek
Posted
24-Feb-2010 09:43 GMT
Toolset
ARM
New! LPC23xx SDHC support

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

Read-Only
Author
while (1);
Posted
26-Feb-2010 06:34 GMT
Toolset
ARM
New! RE: LPC23xx SDHC support

Yes, the assumption is correct.
Yes, SDHC will work when you implement SD 2.0 commands.

Read-Only
Author
Tamir Michael
Posted
26-Feb-2010 07:29 GMT
Toolset
ARM
New! RE: LPC23xx SDHC support

you are correct. however, Keil's FlashFS does not support SDHC at this time.

Read-Only
Author
Pavel Faltynek
Posted
1-Mar-2010 06:53 GMT
Toolset
ARM
New! RE: LPC23xx SDHC support

Thanks for confirmation.

Regards Pavel

Read-Only
Author
chinatim TARDPOL
Posted
1-Mar-2010 16:51 GMT
Toolset
ARM
New! RE: LPC23xx SDHC support

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

Read-Only
Author
Milorad Cvjetkovic
Posted
16-Mar-2010 11:27 GMT
Toolset
ARM
New! RE: LPC23xx SDHC support

SDHC support will be in the next RL release.

Read-Only
Author
Edward Fang
Posted
18-May-2010 17:39 GMT
Toolset
ARM
New! RE: LPC23xx SDHC support

Dos SDHC support in LPC-17xx ?

Read-Only
Author
Andy Neil
Posted
18-May-2010 17:44 GMT
Toolset
ARM
New! RE: 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?

Read-Only
Author
Tamir Michael
Posted
18-May-2010 18:06 GMT
Toolset
ARM
New! RE: support in LPC-17xx ?

I think he meant to ask if FlashFS library for LPC17xx supports SDHC. The answer is - yes.

Read-Only
Author
edward fang
Posted
19-May-2010 02:44 GMT
Toolset
ARM
New! RE: support in LPC-17xx ?

(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 !!

Read-Only
Author
while (1);
Posted
19-May-2010 06:12 GMT
Toolset
ARM
New! RE: support in LPC-17xx ?

If you have RL then SDHC support for chips that communicate through SPI with SD Cards is packed into FlashFS library.

Read-Only
Author
edward fang
Posted
19-May-2010 08:19 GMT
Toolset
ARM
New! RE: support in LPC-17xx ?

(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 ?

Read-Only
Author
edward fang
Posted
19-May-2010 08:53 GMT
Toolset
ARM
New! RE: support in LPC-17xx ?

I have found the problem. It is because the power consumption problem.

Read-Only
Author
edward fang
Posted
24-May-2010 04:22 GMT
Toolset
ARM
New! RE: support in LPC-17xx ?

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.

Read-Only
Author
while (1);
Posted
24-May-2010 06:20 GMT
Toolset
ARM
New! RE: support in LPC-17xx ?

What version of RL-ARM are you using?

Read-Only
Author
edward fang
Posted
24-May-2010 07:24 GMT
Toolset
ARM
New! RE: support in LPC-17xx ?

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.

Read-Only
Author
while (1);
Posted
24-May-2010 10:06 GMT
Toolset
ARM
New! RE: support in LPC-17xx ?

This is already corrected in latest RL-ARM.

Next Thread | Thread List | Previous Thread Start a Thread | Settings