Merge branch 'update/sdcard_troubleshooting' into 'master'

fix(sd_card): update sd_card troubleshooting notes in readme.md

See merge request espressif/esp-idf!25879
This commit is contained in:
Martin Vychodil
2023-10-26 16:49:02 +08:00
5 changed files with 99 additions and 0 deletions
+16
View File
@@ -1,4 +1,20 @@
| Supported Targets | ESP32 | ESP32-S3 |
| ----------------- | ----- | -------- |
## Troubleshooting
### Getting the following error
> `E (2562) sdmmc_io: sdmmc_io_read_byte: sdmmc_io_rw_direct (read 0x2) returned 0x107`
Kindly activate the debug log from `idf.py menuconfig -> Component config -> Log output -> Default log verbosity` option and verify the card's IO type status. If the card does not possess IO capabilities, it will encounter issues while attempting to read IO buffers.
To identify the card type, please inspect the following lines in the debug log.
```
D (659) sdmmc_io: sdmmc_init_io: io_send_op_cond (1) returned 0x106; not IO card
D (729) sdmmc_init: sdmmc_card_init: card type is SD
```
See README.md in the parent folder