Getting Information from Propeller to Computer Files
rcm14
Posts: 11
Is there any way to get data stored on the Propeller and extract it to a file on a computer. I know that the serial terminal displays the info, but I'm looking to extract the info from the Propeller to a file.
Is this extraction possible.
Thanks.
Is this extraction possible.
Thanks.
Comments
You can also attach an SD card to a set of 4 I/O pins on a Propeller and there are objects in the Object Exchange which will let you write data to PC-compatible files on the SD card. The Propeller can read files from the SD card and load programs from the SD card as well. These can be written to the card by the Propeller or by any PC with an SD card reader/writer.
You can also create your own program on the PC to talk to the Propeller via a COM port and write any kind of file supported by the programming language you're using. A number of people have written VB (Visual Basic) programs to do this. There's a thread around here somewhat that describes a template for this.
Here's my ymodem code:
http://www.rayslogic.com/propeller/Programming/YModem/Ymodem.htm
An example of base-64 output of a Propeller binary file:
begin-base64 644 prop.bin
ALTEBG4yEAC0FiB65ABAelQGDgTUABwAnwIAABwDBAA+AwAAZQMAAJADBADZ
AwAAHgQAACwEBADrBQAA+wUAABIGAAApBgAAVAZEAYgJjAHIDaABcA6gAQAD
<snip>
OCDoNfx5dHjoxYDMdHjn6MWA0MeA2Gs4Ah40xwxwKDbsQoAKAjQzMkAKBUKY
Nu0hMgAAAA==
====