Closed JHDillenb closed 4 years ago
this library isn't supported for linux dev boards. and the nano SPI isnt well tested, please use the Nano's native SD card or a USB SD reader!
I see. That is unfortunate for me, but thank you very much for informing me on this, ladyada. You wouldn't happen to know of any other libraries that I may want to check on as a substitute for this one, would you?
i dont know of any user-space SD card libraries. its...just not something that linux was designed to do.
Closing as not applicable.
Hello,
I have been attempting to use this repo in order to read an exterior micro sd card through a Jetson Nano. The wiring is set up to use SPI1. And I am following the example code:
""" import adafruit_sdcard import busio import digitalio import board import storage
Connect to the card and mount the filesystem.
spi = busio.SPI(board.SCK, board.MOSI, board.MISO) cs = digitalio.DigitalInOut(board.SD_CS) sdcard = adafruit_sdcard.SDCard(spi, cs) vfs = storage.VfsFat(sdcard) storage.mount(vfs, "/sd")
Use the filesystem as normal.
with open("/sd/test.txt", "w") as f: f.write("Hello world\n") """
However, I have ran into several issues that I would like to ask for help on.
JHDillenb