Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD Card not detected on STM32F405 #36

Closed
jerryneedell opened this issue Jul 20, 2020 · 1 comment
Closed

SD Card not detected on STM32F405 #36

jerryneedell opened this issue Jul 20, 2020 · 1 comment
Labels

Comments

@jerryneedell
Copy link
Contributor

I am unable to access an SDCard - using an Adalloger Featherwing on a feather_stm32f405_featherwing.

Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 6.0.0-alpha.1-111-g8f928340c on 2020-07-20; Feather STM32F405 Express with STM32F405RG
>>> import sdmount_lib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "sdmount_lib.py", line 9, in <module>
  File "adafruit_sdcard.py", line 116, in __init__
  File "adafruit_sdcard.py", line 177, in _init_card
  File "adafruit_sdcard.py", line 145, in _init_card
OSError: no SD card
>>> 

code executed - sdmount_lib

import adafruit_sdcard
import busio
import digitalio
import board
import storage
import sys
# Connect to the card and mount the filesystem.
cs = digitalio.DigitalInOut(board.D10)
sdcard = adafruit_sdcard.SDCard(board.SPI(), cs)
vfs = storage.VfsFat(sdcard)
storage.mount(vfs, "/sd")
sys.path.append("/sd")
sys.path.append("/sd/lib")
@jepler
Copy link
Member

jepler commented Jan 27, 2021

We believe this should have been fixed by adafruit/circuitpython#3176, please feel free to re-open if this is not the case.

@jepler jepler closed this as completed Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants