EmbeddedRelated.com
Forums

Re: sd card read write code for lpc2148 blue board

Started by Shweta Parmar July 7, 2010
first i load program into blueboard.then i connect my sd card to PC via card
reader.
then right click on the removable disk then properties show used space 0
bytes .
from this i test my sd card.

Is it right for checking data into sd card?
give your reply.
i also attach my code.

On Tue, Jul 6, 2010 at 9:37 PM, Donald H wrote:

> --- In l... , Shweta Parmar
> wrote:
> >
> > i attach my code with this.
> > when i load my code into blueboard ,no data is come into sd card.
> > plz help me i don't know why this is happen.
> > plz help me to solve this problem
> > How do you know that no data come into sd card ?
>
> Please tell us how you tested this.
>
> Please post your code to the Files section.
>
> don
>
>
>

An Engineer's Guide to the LPC2100 Series

I any one get the code of SD card interface with PLC2148 then please send me it on s...@yahoo.com
Thank you

--- In l..., "Donald H" wrote:
>
> --- In l..., Shweta Parmar wrote:
> >
> > first i load program into blueboard.then i connect my sd card to PC via card
> > reader.
> > then right click on the removable disk then properties show used space 0
> > bytes .
> > from this i test my sd card.
> >
> > Is it right for checking data into sd card?
>
> Yes,
>
> > give your reply.
> > i also attach my code.
>
> Please post your code to this forums files section.
> Do you understand what the files section is ?
>
> What file name did you gives this file ??
>
> The file name that your lpc2148 code wrote to the SD card.
>
> don
>

--- In l..., "sharmabrahmadutt" wrote:
> I any one get the code of SD card interface with PLC2148 then please send me it on sharmabrahmadutt@...
>

Download a copy of the NXP Application Note: AN10406 "Accessing SD/MMC Card using SPI on LPC2000", V3 (Jan 3, 2007):

"This application note describes how to use the SPI interface on the LPC2000 family MCU to access Secure Digital (SD) or MultiMediaCard (MMC) card, provides sample software to access SD/MMC card on the Keil's MCB214x board"

http://www.nxp.com/documents/application_note/AN10406.pdf

Regards,
Chris Burrows

CFB Software
Astrobe v4.2: Oberon for Cortex-M3 Development System
http://www.astrobe.com