Shop OBEX P1 Docs P2 Docs Learn Events
FSRW with FlexC — Parallax Forums

FSRW with FlexC

RaymanRayman Posts: 14,646
edited 2020-08-30 20:00 in Propeller 2
I think I like the ease at which you can include Spin2 drivers into FlexC.
Attached is a FlexC code that uses the Spin2 FSRW code to read and write to uSD disk.

I also really like how I can use Visual Studio to edit the files... Feels like back at home :)
The Visual Studio project is also in the file...

This uses the cogless, inline assembly version of SDSPI. The version that uses a cog needs fixing (writing got broke somewhere along the line)...

I also noticed something strange about using this with the Eval board.
Seems you have to physically unplug the uSD card and reinsert before this code will work a second time...
This doesn't happen with my board, which uses different pins and doesn't share pins with flash.
Sign In or Register to comment.