PC utilities
Although Sphinx is ultimately intended to enable standalone Propeller development, it is undeniably convenient to be able to transfer files to and from the PC via USB. The two utility programs described here are run on the PC. Sphinx.bin must be running on the Propeller.
get
Transfers a file from Sphinx to the PC.
Usage:
get portname filename
portname is the serial port connected to the Propeller. filename is the name of the file on the SD card to transfer to the PC.
Example:
get com7 hello.spn
This command transfers hello.spn from the SD card to hello.spn on the PC.
Source code for get is provided on the downloads page. It is a C# program requiring .Net 2.0 or later. It runs on Windows and should run on Linux with Mono. Conversion to other languages should be straightforward.
put
Transfers a file from the PC to Sphinx.
Usage:
put portname filename [filename2]
portname is the serial port connected to the Propeller. filename is the name of the file on the PC to transfer to the SD card. If filename ends with ".spin", ".binary", or ".eeprom", the file on the SD card will have a name ending in ".spn", ".bin", or ".eep". Optionally, you can specify the filename you want the SD card file to have (filename2).
Example:
put com7 hello.spin
This commands transfers hello.spin from the PC to hello.spn on the SD card.
Source code for put is provided on the downloads page. It is a C# program requiring .Net 2.0 or later. It runs on Windows and should run on Linux with Mono. Conversion to other languages should be straightforward.