I’m making an OS for the PicoCalc, and I am currently working on setting up a FAT32 file system for it, but the issue is that I can’t learn how an SD card slot works, and particularly any information about the PicoCalc’s SD card slot. If you have any information or links, please help!
I would assume its like any other such slot. What exactly would you like to find out?
SD cards on microcontrollers work via SPI
and I found this on the first page of google
1 Like
I have an SPI SDHC (not traditional SD card) driver for zeptoforth at zeptoforth/src/common/forth/sdcard.fs at master · tabemann/zeptoforth · GitHub. Yes, it’s in Forth, but it should help inform you as to what is involved with an SPI SDHC driver.
1 Like
How to initialize it using SPI.
I’d say look at the source code of any of the other PicoCalc apps that have SD card access, but specifically GitHub - oyama/pico-vfs: Thin virtual file system for Raspberry Pi Pico which you can also just use directly instead of implementing the hardware access and filesystem support yourself.