Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
Re: EFSL MMC SD sorce code - unal...@gmail.com - Aug 27 7:00:50 2008
Hi Mike,
I use efsl_0_2_9_RC7_mt_20070903.zip from the page
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/efsl_arm/
My Circuit is externaly wired sd/mmc connector with 10cm long wires ! But I have already
worked o this hardware with another filesytem (sham176_ccfatlib) with the maximum SPI
speed without any errors.
I also tried lowes SPI speeds for EFSL , but its still same.
Thanks
Hi,
>
>I am using lpc2106 and SPI0 interface for kingston 2gb sd card.
>
>I have the followowing error :
>
>MMC/SD Card Filesystem Test (P:LPC2138 L:EFSL)(##)
>efsl LPC2000-port and this Demo-Application
>done by Martin Thomas, Kaiserslautern, Germany
>CARD init...spiInit for SPI(0)
>Unknown error 0x0 (see SanDisk docs p5-13).
>Card failed to init, breaking up...
>
>What is wrong with it ?
>
>if I increase the number of retry to (1000 ~ 10000)
>
>in the function
>if_getDriveSize
> res = sd_getDriveSize( iface, drive_size );
>res becomes -1
>
>here is the screen
>
>MMC/SD Card Filesystem Test (P:LPC2138 L:EFSL)(##)
>efsl LPC2000-port and this Demo-Application
>done by Martin Thomas, Kaiserslautern, Germany
>CARD init...spiInit for SPI(0)
>Card identified as SD-Card
>numsec 1073800832 sizesec 88
>Drive Size is 4 Bytes (4294967295 Sectors)
>Init done...
>failed with -2
>
>is that something related to command timing ?
>
>------------------------------------
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
RE: Re: EFSL MMC SD sorce code - Michael Anton - Aug 27 15:56:36 2008
> -----Original Message-----
> From: l...@yahoogroups.com
> [mailto:l...@yahoogroups.com]On Behalf
> Of u...@gmail.com
> Sent: Wednesday, August 27, 2008 5:01 AM
> To: l...@yahoogroups.com
> Subject: [lpc2000] Re: EFSL MMC SD sorce code
> Hi Mike,
>
> I use efsl_0_2_9_RC7_mt_20070903.zip from the page
>
> http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/efsl_arm/
>
> My Circuit is externaly wired sd/mmc connector with 10cm long
> wires ! But I have already worked o this hardware with
> another filesytem (sham176_ccfatlib) with the maximum SPI
> speed without any errors.
>
> I also tried lowes SPI speeds for EFSL , but its still same.
>
> Thanks
>
Try dropping back to 0.2.9.RC4, as there were some significant
changes in all of the low level SD code in that revision. I've
been using RC4 for a long time, and it works well, though
I have not used it much with 2GB cards.
Mike
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
RE: Re: EFSL MMC SD sorce code - Natarajan N - Aug 27 23:35:54 2008
Can some one give a pointer to=A0 a good Interface electronics cct for SD M=
MC. I got one that has a=A0 Zero ohm Resistor?
=A0
what value do I substitute /use there. (Just a short )?
=A0
Anirudh
--- On Wed, 8/27/08, Michael Anton
wrote:
From: Michael Anton
Subject: RE: [lpc2000] Re: EFSL MMC SD sorce code
To: l...@yahoogroups.com
Date: Wednesday, August 27, 2008, 2:55 PM
> -----Original Message-----
> From: lpc2000@yahoogroups .com=20
> [mailto:lpc2000@yahoogroups .com]On Behalf
> Of unaltopuz@gmail. com
> Sent: Wednesday, August 27, 2008 5:01 AM
> To: lpc2000@yahoogroups .com
> Subject: [lpc2000] Re: EFSL MMC SD sorce code
>=20
>=20
> Hi Mike,
>=20
> I use efsl_0_2_9_RC7_ mt_20070903. zip from the page
>=20
> http://www.siwawi. arubi.uni- kl.de/avr_ projects/ arm_projects/ efsl_arm=
/
>=20
> My Circuit is externaly wired sd/mmc connector with 10cm long=20
> wires ! But I have already worked o this hardware with=20
> another filesytem (sham176_ccfatlib) with the maximum SPI=20
> speed without any errors.
>=20
> I also tried lowes SPI speeds for EFSL , but its still same.
>=20
> Thanks
>=20
Try dropping back to 0.2.9.RC4, as there were some significant
changes in all of the low level SD code in that revision. I've
been using RC4 for a long time, and it works well, though
I have not used it much with 2GB cards.
Mike
=20
=20=20=20=20=20=20
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )