You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
2.2 KiB
48 lines
2.2 KiB
5 years ago
|
2017-08-10
|
||
|
|
||
|
Run the SdErrorCode example to produce an updated list.
|
||
|
|
||
|
Code,Symbol - failed operation
|
||
|
0X0,SD_CARD_ERROR_NONE - No error
|
||
|
0X1,SD_CARD_ERROR_CMD0 - Card reset failed
|
||
|
0X2,SD_CARD_ERROR_CMD2 - SDIO read CID
|
||
|
0X3,SD_CARD_ERROR_CMD3 - SDIO publish RCA
|
||
|
0X4,SD_CARD_ERROR_CMD6 - Switch card function
|
||
|
0X5,SD_CARD_ERROR_CMD7 - SDIO card select
|
||
|
0X6,SD_CARD_ERROR_CMD8 - Send and check interface settings
|
||
|
0X7,SD_CARD_ERROR_CMD9 - Read CSD data
|
||
|
0X8,SD_CARD_ERROR_CMD10 - Read CID data
|
||
|
0X9,SD_CARD_ERROR_CMD12 - Stop multiple block read
|
||
|
0XA,SD_CARD_ERROR_CMD13 - Read card status
|
||
|
0XB,SD_CARD_ERROR_CMD17 - Read single block
|
||
|
0XC,SD_CARD_ERROR_CMD18 - Read multiple blocks
|
||
|
0XD,SD_CARD_ERROR_CMD24 - Write single block
|
||
|
0XE,SD_CARD_ERROR_CMD25 - Write multiple blocks
|
||
|
0XF,SD_CARD_ERROR_CMD32 - Set first erase block
|
||
|
0X10,SD_CARD_ERROR_CMD33 - Set last erase block
|
||
|
0X11,SD_CARD_ERROR_CMD38 - Erase selected blocks
|
||
|
0X12,SD_CARD_ERROR_CMD58 - Read OCR register
|
||
|
0X13,SD_CARD_ERROR_CMD59 - Set CRC mode
|
||
|
0X14,SD_CARD_ERROR_ACMD6 - Set SDIO bus width
|
||
|
0X15,SD_CARD_ERROR_ACMD13 - Read extended status
|
||
|
0X16,SD_CARD_ERROR_ACMD41 - Activate card initialization
|
||
|
0X17,SD_CARD_ERROR_READ_TOKEN - Bad read data token
|
||
|
0X18,SD_CARD_ERROR_READ_CRC - Read CRC error
|
||
|
0X19,SD_CARD_ERROR_READ_FIFO - SDIO fifo read timeout
|
||
|
0X1A,SD_CARD_ERROR_READ_REG - Read CID or CSD failed.
|
||
|
0X1B,SD_CARD_ERROR_READ_START - Bad readStart argument
|
||
|
0X1C,SD_CARD_ERROR_READ_TIMEOUT - Read data timeout
|
||
|
0X1D,SD_CARD_ERROR_STOP_TRAN - Multiple block stop failed
|
||
|
0X1E,SD_CARD_ERROR_WRITE_DATA - Write data not accepted
|
||
|
0X1F,SD_CARD_ERROR_WRITE_FIFO - SDIO fifo write timeout
|
||
|
0X20,SD_CARD_ERROR_WRITE_START - Bad writeStart argument
|
||
|
0X21,SD_CARD_ERROR_WRITE_TIMEOUT - Flash programming timeout
|
||
|
0X22,SD_CARD_ERROR_DMA - DMA transfer failed
|
||
|
0X23,SD_CARD_ERROR_ERASE - Card did not accept erase commands
|
||
|
0X24,SD_CARD_ERROR_ERASE_SINGLE_SECTOR - Card does not support erase
|
||
|
0X25,SD_CARD_ERROR_ERASE_TIMEOUT - Erase command timeout
|
||
|
0X26,SD_CARD_ERROR_INIT_NOT_CALLED - Card has not been initialized
|
||
|
0X27,SD_CARD_ERROR_INVALID_CARD_CONFIG - Invalid card config
|
||
|
0X28,SD_CARD_ERROR_FUNCTION_NOT_SUPPORTED - Unsupported SDIO command
|
||
|
0X29,SD_CARD_ERROR_UNKNOWN - Unknown error
|