HMI Advance esp32-P4 series product
Access to the SD card reader by the tutorial method is successful but access through the SD_MMC library gives this error:
[ 7][I][esp32-hal-psram.c:104] psramAddToHeap(): PSRAM added to the heap.
E (214) sdmmc_periph: sdmmc_host_init_slot: Invalid GPIO number -1, returned 0x102
E (215) vfs_fat_sdmmc: slot init failed (0x102).
[ 221][E][SD_MMC.cpp:305] begin(): Failed to initialize the card (0x102). Make sure SD card lines have pull-up resistors in place.
Card Mount Failed
Is this a known issues or is my board defective?
Comments
Update:
Forced the: CrowPanel Advanced 10.1inch ESP32-P4 HMI AI Display board to work with the SD_MMC library by commenting out the logic for other boards & configuration options, and then hard coding the configuration pin numbers/values for the board. Now its just a matter of uncommenting them one by one & testing if it still works after the uncommenting until it trips up again.
HI, nickp,
Sorry, we need some time to analyze the issue you mentioned. We will get back to you as soon as possible. Please wait for a while.
We apologize for any inconvenience this may cause.
Thanks!
Warm regards,
HI, nickp,
May I ask: what development platform are you using? Is it IDF or Arduino? Also, are you using the code we provided? Furthermore, please provide any related settings/configurations.
Thanks!
Warm regards,