This is a cross-post from the Rapberry Pi forum, I’m hoping someone here can help with this issue. 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:
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) #error here
One other thing I have found is that dropping to REPL mode, I can confirm the “sdcardio” built in library:
>>> help("modules")
__future__ bitops micropython synthio
__main__ board msgpack sys
_asyncio builtins neopixel_write terminalio
_bleio busio nvm time
_pixelmap collections onewireio touchio
adafruit_bus_device countio os traceback
adafruit_bus_device.i2c_device digitalio paralleldisplay ulab
adafruit_bus_device.spi_device displayio pulseio ulab.numpy
adafruit_pixelbuf errno pwmio ulab.numpy.fft
aesio floppyio qrio ulab.numpy.linalg
alarm fontio rainbowio ulab.scipy
analogbufio framebufferio random ulab.scipy.linalg
analogio gc re ulab.scipy.optimize
array getpass rgbmatrix ulab.scipy.signal
atexit gifio rotaryio ulab.scipy.special
audiobusio i2cperipheral rp2pio ulab.utils
audiocore i2ctarget rtc usb_cdc
audiomixer imagecapture sdcardio usb_hid
audiomp3 io select usb_midi
audiopwmio json sharpdisplay uselect
binascii keypad storage vectorio
bitbangio math struct watchdog
bitmaptools microcontroller supervisor zlib
Plus any modules on the filesystem
>>>