# Think Plus RP2040 - SD Card Error

**URL:** <https://community.sparkfun.com/t/think-plus-rp2040-sd-card-error/47404>\
**Category:** Development Platforms\
**Created:** [May 12, 2024, 1:25am UTC](https://community.sparkfun.com/t/think-plus-rp2040-sd-card-error/47404 "2024-05-12T01:25:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DraynorDouble](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@DraynorDouble](https://community.sparkfun.com/u/DraynorDouble)\
**Post date:** [May 12, 2024, 1:25am UTC](https://community.sparkfun.com/t/think-plus-rp2040-sd-card-error/47404/1 "2024-05-12T01:25:11Z")

</div>

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.

```auto
import board
import sdcardio
sd = sdcardio.SDCard(board.SPI(), board.SD_CS) # OSError: no SD card

```

---

<div class="post-metadata">

**Author:** ![aliarifat794](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@aliarifat794](https://community.sparkfun.com/u/aliarifat794)\
**Post date:** [May 12, 2024, 8:59am UTC](https://community.sparkfun.com/t/think-plus-rp2040-sd-card-error/47404/2 "2024-05-12T08:59:31Z")

</div>

Plz check for a missing library. It’s also possible that some necessary library has not been properly installed.

---

<div class="post-metadata">

**Author:** ![DraynorDouble](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@DraynorDouble](https://community.sparkfun.com/u/DraynorDouble)\
**Post date:** [May 14, 2024, 1:10am UTC](https://community.sparkfun.com/t/think-plus-rp2040-sd-card-error/47404/3 "2024-05-14T01:10:36Z")

</div>

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](https://circuitpython.org/libraries) and that didn’t work.

I’ve also tried [https://github.com/adafruit/Adafruit\_Ci … \_sdcard.py](https://github.com/adafruit/Adafruit_CircuitPython_SD/blob/main/adafruit_sdcard.py)

It’s not clear to me from the documentation [https://docs.circuitpython.org/en/lates … index.html](https://docs.circuitpython.org/en/latest/shared-bindings/sdcardio/index.html) the name of the library.

---

<div class="post-metadata">

**Author:** ![DraynorDouble](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@DraynorDouble](https://community.sparkfun.com/u/DraynorDouble)\
**Post date:** [May 25, 2024, 2:45pm UTC](https://community.sparkfun.com/t/think-plus-rp2040-sd-card-error/47404/4 "2024-05-25T14:45:47Z")

</div>

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](https://learn.adafruit.com/adafruit-micro-sd-breakout-board-card-tutorial/circuitpython)
