-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Area: ESP-IDF relatedESP-IDF related issuesESP-IDF related issuesArea: LibrariesIssue is related to Library support.Issue is related to Library support.
Milestone
Description
Board
Custom ESP32S3 board
Device Description
Custom board
Hardware Configuration
SDMMC_CMD 35
SDMMC_CLK 36
SDMMC_D0 37
SDMMC_D1 38
SDMMC_D2 39
SDMMC_D3 40
Version
v2.0.5
IDE Name
Arduino
Operating System
Windows 7
Flash frequency
80 MHz
PSRAM enabled
no
Upload speed
921600
Description
Errors appear.ed
Sketch
https://github.com/espressif/arduino-esp32/blob/master/libraries/SD_MMC/examples/SDMMC_Test/SDMMC_Test.ino
Pin config: SD_MMC.setPins(36, 35, 37, 38, 39, 40);
Debug Message
.....
E (1237) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (1237) diskio_sdmmc: Check status failed (0x107)
E (2238) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (2238) diskio_sdmmc: Check status failed (0x107)
Writing file: /hello.txt
File written
Appending to file: /hello.txt
Message appended
Reading file: /hello.txt
Read from file: Hello World!
Deleting file: /foo.txt
File deleted
Renaming file /hello.txt to /foo.txt
File renamed
Reading file: /foo.txt
Read from file: Hello World!
1048576 bytes read for 198 ms
E (3491) sdmmc_req: handle_idle_state_events unhandled: 00000042 00000000
1048576 bytes written for 1413 ms
Total space: 1881MB
Used space: 21MB
With ESP3D 3.0 (https://github.com/luc-github/ESP3D/tree/3.0), getting the following:
E (61131) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (61131) diskio_sdmmc: Check status failed (0x107)
E (62132) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (62132) diskio_sdmmc: Check status failed (0x107)
E (78447) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (78447) diskio_sdmmc: Check status failed (0x107)
E (80560) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (80560) diskio_sdmmc: Check status failed (0x107)
E (81561) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (81561) diskio_sdmmc: Check status failed (0x107)
E (82562) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (82562) diskio_sdmmc: Check status failed (0x107)
E (82564) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x109
E (82568) diskio_sdmmc: sdmmc_read_blocks failed (265)
E (82574) sdmmc_req: handle_idle_state_events unhandled: 00000008 00000002
E (83697) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (83697) diskio_sdmmc: Check status failed (0x107)
E (84698) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (84698) diskio_sdmmc: Check status failed (0x107)
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Metadata
Metadata
Assignees
Labels
Area: ESP-IDF relatedESP-IDF related issuesESP-IDF related issuesArea: LibrariesIssue is related to Library support.Issue is related to Library support.
Type
Projects
Status
Done
Relationships
Development
Select code repository
Activity
me-no-dev commentedon Oct 21, 2022
depending on the chip/module model, pins 35 to 37 might be in use by OPI flash/psram. Any chip/module that ends on R8 will be using OPI PSRAM and have those pins reserved.
mtk11 commentedon Oct 21, 2022
@me-no-dev , The module
does not have ext SPI RAMwas N8R2, after changing it to N8 had no issues, except the slow speed.. Esp-idf’s SD Card example (SDMMC) works fine. Recently esp-idf had some updates - sdmmc/sdspi: allow custom setup of SD card frequency ? Do you intend to include them soon ?me-no-dev commentedon Oct 21, 2022
That fix will be part of ESP32 Arduino 3.0.0: #6225 (comment)
timknapen commentedon Jan 9, 2023
Could this be related to [SDMMC] ESP32-S3-N8R8 fails to start a microSD card in SDMMC_FREQ_HIGHSPEED mode (IDFGH-6901)?
It looks like @igrr has a patch there, but I don't know if it's already included in Arduino-esp32
P-R-O-C-H-Y commentedon Jan 10, 2023
@timknapen Can you please fix the link to the related issue? Thanks
27 remaining items