How do I resolve Sony Spresense board_sdcard_enable: ERROR: Failed to mount the SDCARD.22?

Asked 2 years ago, Updated 2 years ago, 61 views

Using the main board and expansion board, the SD card was recognized by the UsbMsc.ino (sample program) of the Presense Arduino IDE.

However, a program that reads and writes files on an SD card causes the following error on the serial monitor and cannot be read or written.
board_sdcard_enable:ERROR:Failed to mount the SDCARD.22

Could you tell me how to deal with it?

spresense

2022-09-30 19:38

1 Answers

I am in charge of SPRESENSE support for Sony.
I am very sorry for the late reply.

Regarding the SD card you inquired about, there are two possible reasons why it cannot be mounted.

(1) Not physically connected
(2) SD Card Format Not Recognized

(1) is a connection issue between the main board and the expansion board.
There have been many reports of cases where the main board and expansion board are half-inserted and SD card cannot be unable to be mounted.
Please press the main board from above again to make sure the connectors are properly connected.

For (2), make sure that the SD card is formatted with FAT32.
SPRESENSE cannot recognize file systems other than FAT32 or SD cards in multi-partitions.If you are using such an SD card, please physically format the SD card with FAT32.

Please confirm the above two points.


2022-09-30 19:38

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.