Go Down

Topic: Accessing Serpente R2 flash as FAT file system (Read 727 times) previous topic - next topic

phunanon

Jan 14, 2020, 10:17 pm Last Edit: Jan 17, 2020, 06:57 pm by phunanon
I bought the Serpente R2 board, and even got uLisp working on it, but can't find any libraries for interacting with its flash chip like it's an SD card. CircuitPython seems able to do it, but I can only find a library allowing sequential access.

phunanon

#1
Jan 15, 2020, 01:10 pm Last Edit: Jan 15, 2020, 01:11 pm by phunanon
Perhaps through combining oofatfs and simple DataFlash somehow?

phunanon

#2
Jan 15, 2020, 11:27 pm Last Edit: Jan 15, 2020, 11:28 pm by phunanon
Micropython has a lot of files related to this:

https://github.com/micropython/micropython/tree/e83ab7374bf1e8ee7b0644eb35567e30e6c21c36/extmod

Anything vfs seems involved. I suppose, if they're doing it 'manually' that I'm not going to find any pre-written libraries for it... I wish I had the time/ability to extract the work they've done into a library

phunanon

#3
Jan 19, 2020, 02:04 pm Last Edit: Jan 25, 2020, 01:20 pm by phunanon
Turns out I wasn't looking hard enough!

https://github.com/adafruit/Adafruit_SPIFlash

phunanon

#4
Jan 25, 2020, 01:18 pm Last Edit: Jan 25, 2020, 01:19 pm by phunanon
Unfortunately I'm unable to configure that Adafruit library for this board. This is as close as I've got.

Go Up