Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Dec 2007 03:21 PM by  jamieg
SD/MMC on LPD7A404
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
jamieg
New Member
New Member
Posts:


--
07 Dec 2007 03:21 PM
    I have an LPD7a404 CardEngine. I was able to use the code in software/csps/lh7a404/source/lh7a404_sdmmc_driver.c that (I think) came on the CD to read 8 and 16MB MMC cards.

    $Revision: 1.2 $
    $Date: Jul 13 2005 13:38:20 $


    But the 1 SD cards I have (128MB and 1GB) return garbage (mostly 0's)
    when I read sector 0.
    Is there a newer version of that code around, that might work better with SD media?
    MMC card,

    00000000 fa 33 c0 8e d0 bc 00 7c 8b f4 50 07 50 1f fb fc |.3.....|..P.P...|
    00000010 bf 00 06 b9 00 01 f2 a5 ea 1d 06 00 00 be be 07 |................|
    00000020 b3 04 80 3c 80 74 0e 80 3c 00 75 1c 83 c6 10 fe |...<.t..<.u.....|
    00000030 cb 75 ef cd 18 8b 14 8b 4c 02 8b ee 83 c6 10 fe |.u......L.......|
    00000040 cb 74 1a 80 3c 00 74 f4 be 8b 06 ac 3c 00 74 0b |.t..<.t.....<.t.|
    00000050 56 bb 07 00 b4 0e cd 10 5e eb f0 eb fe bf 05 00 |V.......^.......|
    00000060 bb 00 7c b8 01 02 57 cd 13 5f 73 0c 33 c0 cd 13 |..|...W.._s.3...|
    00000070 4f 75 ed be a3 06 eb d3 be c2 06 bf fe 7d 81 3d |Ou...........}.=|
    00000080 55 aa 75 c7 8b f5 ea 00 7c 00 00 49 6e 76 61 6c |U.u.....|..Inval|
    00000090 69 64 20 70 61 72 74 69 74 69 6f 6e 20 74 61 62 |id partition tab|
    000000a0 6c 65 00 45 72 72 6f 72 20 6c 6f 61 64 69 6e 67 |le.Error loading|
    000000b0 20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 65 | operating syste|
    000000c0 6d 00 4d 69 73 73 69 6e 67 20 6f 70 65 72 61 74 |m.Missing operat|
    000000d0 69 6e 67 20 73 79 73 74 65 6d 00 00 00 00 00 00 |ing system......|
    000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 |................|
    000001c0 1a 00 01 01 60 e9 39 00 00 00 47 7a 00 00 00 00 |....`.9...Gz....|
    000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
    00000200

    SD card,

    00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 |................|
    000001c0 00 00 00 01 00 10 01 00 00 00 11 10 01 00 00 00 |................|
    000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 |................|
    00000200


    Thanks,
    -Jamie
    You are not authorized to post a reply.