Userspace Arduino

this page is to document some research on creating a userspace executable using the wiring and processing language used with Arduino.

= Transfer Options =

Netcat

 * GNU Netcat networking tool http://netcat.sourceforge.net/
 * Can create a connection using nc -w 1 192.168.7.2 1114 < new.zip on the server (in this case the machine running the Energia IDE), and nc -lp 1114 > n.zip on the Beaglebone. 1114 is a random port number which has to be the same on client as well as server side.
 * Some issue with sending .bin files directly. Mostly it was with how the file ends, not sure. So zip the file, use netcat to send and then unzip it on the Beaglebone.
 * Requires no authentication

ssh/scp/sftp

 * needs authentication. Although default password for root is blank, it'll be wise to provide a field for username and password.
 * scp/sftp is based over ssh and requires authentication.
 * Authentication can be provided by asking the user to set a value in the IDE and use that in the script

arduino bootloader over usb

 * requires application running on usb gadget