SdErrorCodes.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. 2022-07-01
  2. Run the SdErrorCode example to produce an updated list.
  3. Code,Symbol - failed operation
  4. 0X00,SD_CARD_ERROR_NONE - No error
  5. 0X01,SD_CARD_ERROR_CMD0 - Card reset failed
  6. 0X02,SD_CARD_ERROR_CMD2 - SDIO read CID
  7. 0X03,SD_CARD_ERROR_CMD3 - SDIO publish RCA
  8. 0X04,SD_CARD_ERROR_CMD6 - Switch card function
  9. 0X05,SD_CARD_ERROR_CMD7 - SDIO card select
  10. 0X06,SD_CARD_ERROR_CMD8 - Send and check interface settings
  11. 0X07,SD_CARD_ERROR_CMD9 - Read CSD data
  12. 0X08,SD_CARD_ERROR_CMD10 - Read CID data
  13. 0X09,SD_CARD_ERROR_CMD12 - Stop multiple block read
  14. 0X0A,SD_CARD_ERROR_CMD13 - Read card status
  15. 0X0B,SD_CARD_ERROR_CMD17 - Read single block
  16. 0X0C,SD_CARD_ERROR_CMD18 - Read multiple blocks
  17. 0X0D,SD_CARD_ERROR_CMD24 - Write single block
  18. 0X0E,SD_CARD_ERROR_CMD25 - Write multiple blocks
  19. 0X0F,SD_CARD_ERROR_CMD32 - Set first erase block
  20. 0X10,SD_CARD_ERROR_CMD33 - Set last erase block
  21. 0X11,SD_CARD_ERROR_CMD38 - Erase selected blocks
  22. 0X12,SD_CARD_ERROR_CMD58 - Read OCR register
  23. 0X13,SD_CARD_ERROR_CMD59 - Set CRC mode
  24. 0X14,SD_CARD_ERROR_ACMD6 - Set SDIO bus width
  25. 0X15,SD_CARD_ERROR_ACMD13 - Read extended status
  26. 0X16,SD_CARD_ERROR_ACMD23 - Set pre-erased count
  27. 0X17,SD_CARD_ERROR_ACMD41 - Activate card initialization
  28. 0X18,SD_CARD_ERROR_ACMD51 - Read SCR data
  29. 0X19,SD_CARD_ERROR_READ_TOKEN - Bad read data token
  30. 0X1A,SD_CARD_ERROR_READ_CRC - Read CRC error
  31. 0X1B,SD_CARD_ERROR_READ_FIFO - SDIO fifo read timeout
  32. 0X1C,SD_CARD_ERROR_READ_REG - Read CID or CSD failed.
  33. 0X1D,SD_CARD_ERROR_READ_START - Bad readStart argument
  34. 0X1E,SD_CARD_ERROR_READ_TIMEOUT - Read data timeout
  35. 0X1F,SD_CARD_ERROR_STOP_TRAN - Multiple block stop failed
  36. 0X20,SD_CARD_ERROR_TRANSFER_COMPLETE - SDIO transfer complete
  37. 0X21,SD_CARD_ERROR_WRITE_DATA - Write data not accepted
  38. 0X22,SD_CARD_ERROR_WRITE_FIFO - SDIO fifo write timeout
  39. 0X23,SD_CARD_ERROR_WRITE_START - Bad writeStart argument
  40. 0X24,SD_CARD_ERROR_WRITE_PROGRAMMING - Flash programming
  41. 0X25,SD_CARD_ERROR_WRITE_TIMEOUT - Write timeout
  42. 0X26,SD_CARD_ERROR_DMA - DMA transfer failed
  43. 0X27,SD_CARD_ERROR_ERASE - Card did not accept erase commands
  44. 0X28,SD_CARD_ERROR_ERASE_SINGLE_SECTOR - Card does not support erase
  45. 0X29,SD_CARD_ERROR_ERASE_TIMEOUT - Erase command timeout
  46. 0X2A,SD_CARD_ERROR_INIT_NOT_CALLED - Card has not been initialized
  47. 0X2B,SD_CARD_ERROR_INVALID_CARD_CONFIG - Invalid card config
  48. 0X2C,SD_CARD_ERROR_FUNCTION_NOT_SUPPORTED - Unsupported SDIO command
  49. 0X2D,SD_CARD_ERROR_UNKNOWN - Unknown error