Shop OBEX P1 Docs P2 Docs Learn Events
trying use simple SD — Parallax Forums

trying use simple SD

The Simple DS - the example works well - But I tried to read file and all i see is all oo oo oo etc.I followed all the instructions.I.E format the card Fat 32 copy a small file via note book.I could red the file in the computer.
i changed few lines of coe to reflect 1024(byes) instead of 16 as in the demo.I aso changed linr PST.hex(@buffer,0,1) to PST.str(string(@buffer,0)

I still cannot see the text.

I would appriciate some help.

Thanks

Siri

PS: The Obex objecl is attached.

Comments

  • AribaAriba Posts: 2,690
    If I look into the code, I don't see any handling of FAT32 or SD-HC cards. So I think this SD code supports only FAT16 and only non-HC cards (<= 2 GB).
    Doing the same demo with FSRW26 will not be much more complicated, but for sure the resulting code will be a bit bigger.
    Andy

Sign In or Register to comment.