I’m having an issue with the Thing Plus RP2040 mounting the SD card. The error is “OSError: no SD card”. I know I’m missing something basic.
Trouble shooting steps I’ve tried so far:
Tried 3 different cards: 64MB (new), 4GB (used), 32GB (new)
Confirmed read and write to all cards using a card reader on my computer
Formatted (and re-formatted) to FAT
Purchased a new RP2040 board to ensure it wasn’t a bad board
Circuit python: 9.0.3, 9.0.4, 9.2(beta), 8.1, and 8.27
All three cards eject smoothly and normally. This doesn’t seem to be a common problem, so it’s probably something simple.
Any insight would be appreciated! I’m testing using the following three lines, error or line 3.
import board
import sdcardio
sd = sdcardio.SDCard(board.SPI(), board.SD_CS) # OSError: no SD card
Plz check for a missing library. It’s also possible that some necessary library has not been properly installed.
Can you direct me to the correct library? I’ve copied all the lib files from bundle 8 to the lib folder on the RP2040. This is the link for that bundle: https://circuitpython.org/libraries and that didn’t work.
I’ve also tried https://github.com/adafruit/Adafruit_Ci … _sdcard.py
It’s not clear to me from the documentation https://docs.circuitpython.org/en/lates … index.html the name of the library.
This does not appear to be a library issue. From the Adafruit website:
If your board supports sdcardio, then this is the preferred method to do things. sdcardio is a built-in module on boards that support it, so you don’t have to copy it over.
https://learn.adafruit.com/adafruit-mic … cuitpython