12.07.2015 Views

Programming Manual Elektor Proton Robot - ELEKTOR.se

Programming Manual Elektor Proton Robot - ELEKTOR.se

Programming Manual Elektor Proton Robot - ELEKTOR.se

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Card InfoDescriptionGets card specific information for the in<strong>se</strong>rted card. If no parameters are given, then the rawbyte data for the CSD (16 bytes) and CID (16 bytes) are returned (32 raw bytes total).If the parameter is ”B”, then the CSD and CID are ASCII encoded - i.e. Two ASCII charactersfor each raw byte. e.g. 0x3E is <strong>se</strong>nt as 3E - two characters.If the parameter is ”I”, then more data is returned (<strong>se</strong>parated by «CR»).1. Card type2. CSD (16 bytes)3. CID (16 bytes)4. OCR (4 bytes)Card type is one of:Card typeDescription1 MMC (MultiMedia Card)2 SD V1 (Secure Digital Card)4 SD V2 (Secure Digital Card)12 SDHC (Secure Digital - High Capacity Card)CSD, CID, and OCR are all <strong>se</strong>nt as ASCII encoded (i.e. Two ASCII characters for each raw byte).FormatK [B | I]Parameters• B - optional parameter to return ASCII encoded CSD and CID.• I - optional parameter to return more data in ASCII encoded form.Respon<strong>se</strong> Format«SP»respon<strong>se</strong> | EnnSee examples for format of respon<strong>se</strong>.Bart Huyskens <strong>Manual</strong> <strong>Elektor</strong> <strong>Proton</strong> V1.0 3 April 2011 127

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!