Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Running from SD Card - cant see files
johngjosep-
h
Newbie
Posts: 1
Permalink
johngjoseph
Post Running from SD Card - cant see files
on: March 30, 2013, 19:47
Quote

Hi there -hoping someone can help me out.

I'm trying to run the machine from files on the SD card and am having some trouble. I scroll through files but only single letters show up (T, S, F) but none of the files I've loaded on the card. Not sure what types of files it recognizes - I've tried txt, jpg, png, svg and command files from the polargraph. Running from a Mac with a newly formatted SD card and I've inserted the card then powered up - still no luck.

What type of files should I upload to the SD card? Which does it recognize? I assumed the cmd files would work but haven't had any success.

Thanks!
John

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Running from SD Card - cant see files
on: March 30, 2013, 20:47
Quote

Hi John. The PolargraphSD uses the standard arduino SD library (http://arduino.cc/en/Reference/SD), says

The library supports FAT16 and FAT32 file systems on standard SD cards and SDHC cards. It uses short 8.3 names for files.

I've never had to try a mac-formatted sd card so I'm not sure what it's default format is. I'm assuming if it reads it at all, then the format is ok though. Maybe long filenames?

The actual reading routines are very simplistic, it should show up every file on the card (regardless of format and extension), and will read any file too. Only the text files that the controller outputs will make any sense to it - anything else will have unpredictable results. The "export queue" function just saves a very vanilla ascii text file.

Let me know how you get on, I don't have a mac, so I can't test any of this stuff myself.

good luck!
sandy

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.039 seconds.