Best method for transferring files to onboard SD?
Oldbitcollector (Jeff)
Posts: 8,091
With the microSD card becoming more and more common, I'm looking for the best way to transfer files from a propeller connected PC directly to the SD card. (Without moving the card)
I'm curious what methods are being used?
OBC
I'm curious what methods are being used?
OBC
Comments
I'm using the "sb"/"rb" pair from sphinix by Dave Hein. It uses YModem protocol and works great at 115200bps with TeraTern 4.67.
Haven't had many luck with other file transfer options, i.e. with the standalone YModem I'm only able to send from propeller, but not to receive.
Again it may be just me, also had problems using KyeDOS with this config: the CS signal is apparently asserted all the time. Which prompted me to check the source, but there's code to correctly release it, so it must be something more subtle.
The whole sphinix package is an underrated gem IMHO: it's the closest of the bunch to a real OS, and has full subdirectory support. The only main feature lacking is a launcher for standalone binaries.
You only need a small program that mounts the SD card, opens the file and writes the content of a dat section that you imported with the file instruction to the SD card.
That program you simply load to RAM and there is your file.
For small data sets, just including it in a DAT, with the file: operator works too. Write a little program that writes the file, write it, then go from there.