ArduCAM_ESP32S_UNO_PSRAM icon indicating copy to clipboard operation
ArduCAM_ESP32S_UNO_PSRAM copied to clipboard

ArduCAM_ESP32_Capture2SD example for spi sd card mount fails

Open johncblacker opened this issue 2 years ago • 0 comments

Trying to run the ARDUCAM SPI_CAMERA EXAMPLE but I get failure with SDcard. Messages log: <<<<<<<<<<<<<<<<< start of log output >>>>>>>>>>>>>>>>>>>>>> ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1100 load:0x40078000,len:10088 load:0x40080400,len:6380 entry 0x400806a4 ArduCAM Start! SD Card Mount Failed Star Capture <<<<<<<<<<<<<<< end of serial log print out >>>>>>>>>>>>>>>>>>>>>> My research points to the fact that the "ESP32_CAMERA" examples are using SD_MMC.h whereas the SPI example is using SD.h. I have run both sketches on the same board with the same SD card and the SPI version fails to mount the sd card but the version using SD.h (SPI version) fails to mount the SD card. This failure is occurring before I have hooked up the UC-474 SPI camera to the board.

Hardware:

Board: esp32 uno psram Core Installation/update date: ? IDE name: Arduino Flash Frequency: 80 PSRAM enabled: yes Upload Speed: 115200 Computer OS: Windows 11

Description:

ARDUCAM SPI EXAMPLES FAIL TO MOUNT SD CARD;

Sketch: (leave the backquotes for code formatting)

Look at your example code. The non-spi version of the capture2SD uses SD_MMC.h whereas the SPI version uses SD.h; The SPI version fails to mount the SD card.

johncblacker avatar Aug 10 '22 19:08 johncblacker