grblHAL / Plugin_SD_card

grblHAL SD-card plugin
Other
1 stars 2 forks source link

Unable to Mount SD Card #2

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi terjeio,

I am having an issue when running the $FM command in that I get an error "error 60: sd card mount failed."

I can also see the same error after I have launched IO Sender (within the console window)

Do I need to format the card in a specific way prior to mounting?

I have also assigned the SD Card to SPI Port 1 (401 Nucleo64)

Cheers George

terjeio commented 2 years ago

Do I need to format the card in a specific way prior to mounting?

FAT and FAT32 is supported, and I believe exFAT too depending on fatFS configuration.

I have also assigned the SD Card to SPI Port 1 (401 Nucleo64)

Which board map are you using? And what kind of SD card adapter (with pullups?)

ghost commented 2 years ago

I am using a custom board map and a SD card socket that does not have pullups (I have built a PoC board).

I have succesfully used this micro SD card socket on ESP32 boards and assumed that it is a direct connection to the SPI pins.

I have had a look at other SD Card boards and can see that there are 47k pull ups on pins 1, 2, 3, 7 and 8.

I will add and test.

Thanks again for your assistance.

George

terjeio commented 2 years ago

I just wired up a SD card to a F446 Nucleo/ST Morpho combo and this works for me. There are 10K pullups on the SD card breakout.

ghost commented 2 years ago

I have added some pull up resistors and works perfectly.

Thanks for the update.

Cheers and have a great day George