Shop Learn P1 Docs P2 Docs Events
SD Card Boot Testing - to be used as a basis for P2 if successful - Page 2 — Parallax Forums

SD Card Boot Testing - to be used as a basis for P2 if successful

2»

Comments

  • Two more results:

    Samsung microSDHC 32GB Class 10 - OK
    PNY Full-size SD 512MB - OK, detected as v1

    Cheers,
    Jesse
  • One success for me:

    "microSD HC class 4 8GB Kingston"
    SD testing v103
    Parameters used...
    ;
    4404: nCS=1    ;
    4408: 00000040 00000000 00000095 000000FF (1) 00000001 ;
    4428: 00000048 000001AA 00000087 000000FF (1) 00000001 000001AA ;
    444C: nCS=1    ;
    4450: 00000077 00000000 00000087 000000FF (1) 00000001 00000069 40000000 00000087 000000FF (1) 00000000 (9) (45720) ;
    449C: nCS=1    ;
    44A0: 0000007A 00000000 00000087 000000FF (1) 00000000 C0FF8000 ;
    44C4: nCS=1    ;
    44C8: 00000051 00000000 00000087 000000FF (1) 00000000 000000FF (170) 000000FE ;
    44F8: CRC..... 0000007C 000000BD nCS=1    ;
    4504: <eof>
    
    MBR sector 0...
    01C0: 03 00 0B FE FF AC 00 20 00 00 6D 8B E6 00 00 00  ....... ..m.....
    01D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    01E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    01F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA  ..............U.
    Valid MBR
    PTN 0: Typ=$0B  01BE: 00 82 03 00 0B FE FF AC 00 20 00 00 6D 8B E6 00  ......... ..m...
    PTN 1: Typ=$00  01CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    PTN 2: Typ=$00  01DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    PTN 3: Typ=$00  01EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    
    SD card: 3 = SDHC/SD V2(block address)
    

    I also had a card that failed, but it can't be read by Windows either, so it is definitely a card problem. However, it still gives back some data (that is different than when there is no SD card). Would you be interested in the log?
  • Cluso99Cluso99 Posts: 18,064
    Yes please Bob.
  • SD card that can't be read by Windows:
    SD testing v103
    Parameters used...
    ;
    4404: nCS=1    ;
    4408: 00000040 00000000 00000095 000000FF (1) 00000001 ;
    4428: 00000048 000001AA 00000087 000000FF (1) 00000001 000001AA ;
    444C: nCS=1    ;
    4450: 00000077 00000000 00000087 000000FF (1) 00000001 00000069 40000000 00000087 000000FF (1) 00000000 (3) (15192) ;
    449C: nCS=1    ;
    44A0: 0000007A 00000000 00000087 000000FF (1) 00000000 C0FF8000 ;
    44C4: nCS=1    ;
    44C8: 00000051 00000000 00000087 000000FF (1) 00000000 33330011 <eof>
    
    MBR sector 0...
    01C0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01D0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01E0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01F0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    Not MBR
    
    SD card: Unknown ???
    

    I can't even get Windows SDFormatter to format it.
  • evanhevanh Posts: 14,007
    I'll guess that is the same non-response of a badly seated card. But you're using v103 instead of v105, hence the variance in reported sequence. See http://forums.parallax.com/discussion/comment/1390140/#Comment_1390140
  • Cluso99Cluso99 Posts: 18,064
    bobjr,
    The problem is the read MBR is taking longer than 1s. I have increased the timeout to 2s and displayed the whole MBR to see if we are reading anything at all.

    Could you try v106 please?
    What is the brand, etc?

    Thanks for your assistance,
    Ray

  • Unfortunately, that didn't fix it.
    The SD card is fairly generic, I've attached a photo of both sides.
    SD testing v106
    Parameters used...
    ;
    4404: nCS=1    ;
    4408: 00000040 00000000 00000095 000000FF (1) 00000001 ;
    4428: 00000048 000001AA 00000087 000000FF (1) 00000001 000001AA ;
    444C: nCS=1    ;
    4450: 00000077 00000000 00000087 000000FF (1) 00000001 00000069 40000000 00000087 000000FF (1) 00000000 (3) (15184) ;
    449C: nCS=1    ;
    44A0: 0000007A 00000000 00000087 000000FF (1) 00000000 C0FF8000 ;
    44C4: nCS=1    ;
    44C8: 00000051 00000000 00000087 000000FF (1) 00000000 33330011 <eof>
    
    MBR sector 0...
    0000: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0010: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0020: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0030: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0040: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0050: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0060: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0070: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0080: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0090: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00A0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00B0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00C0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00D0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00E0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00F0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0100: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0110: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0120: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0130: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0140: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0150: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0160: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0170: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0180: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0190: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01A0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01B0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01C0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01D0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01E0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01F0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    Not MBR
    
    SD card: Unknown ???
    

    I honestly think the card is bad.
    1562 x 2166 - 213K
  • Cluso99Cluso99 Posts: 18,064
    bobjr wrote: »
    Unfortunately, that didn't fix it.
    The SD card is fairly generic, I've attached a photo of both sides.
    SD testing v106
    Parameters used...
    ;
    4404: nCS=1    ;
    4408: 00000040 00000000 00000095 000000FF (1) 00000001 ;
    4428: 00000048 000001AA 00000087 000000FF (1) 00000001 000001AA ;
    444C: nCS=1    ;
    4450: 00000077 00000000 00000087 000000FF (1) 00000001 00000069 40000000 00000087 000000FF (1) 00000000 (3) (15184) ;
    449C: nCS=1    ;
    44A0: 0000007A 00000000 00000087 000000FF (1) 00000000 C0FF8000 ;
    44C4: nCS=1    ;
    44C8: 00000051 00000000 00000087 000000FF (1) 00000000 33330011 <eof>
    
    MBR sector 0...
    0000: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0010: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0020: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0030: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0040: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0050: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0060: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0070: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0080: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0090: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00A0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00B0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00C0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00D0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00E0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    00F0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0100: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0110: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0120: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0130: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0140: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0150: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0160: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0170: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0180: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    0190: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01A0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01B0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01C0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01D0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01E0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    01F0: 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99  ................
    Not MBR
    
    SD card: Unknown ???
    

    I honestly think the card is bad.

    Yes, looks like it cannot read sector 0. The actual CMD17 is accepted to read the sector, but it never returns the start sequence for data. If we cannot read sector 0 we are dead in the water!
  • Cluso99Cluso99 Posts: 18,064
    Here is a new version v107.
    (for anyone who has untested cards)

    It now also reads the CSD & CID although that is not required for what we are doing.

    I am reading the CSD & CID after the MBR is read, so bobjr this will not fix your problem with that SD card.

Sign In or Register to comment.