programming your freeduino in occam-π

If you have a Mac, you can download our Mac software bundle.

If you are using Windows, you are out of luck at this time.

If you are using Linux (specifically, Ubuntu 8.04, 9.04, or 9.10), you can follow the instructions at the end of the lab to get things set up, and then continue with the instructions here.

If you are working in the lab, then I have put some things together with bailing wire that should get you moving.

Uploading Firmware

The first think you need to do is upload firmware. Plug in your Freeduino, and at the command prompt type

arduino-firmware-upload /dev/ttyUSB0

(that's a zero at the end)

Compiling Code

As you work through Plumbing for the Arduino, you'll need to compile your programs. To compile your code, run:

arduinocc <prog>.occ

where <prog> is the name of your program. Then, you need to upload the compiled program to your Freeduino:

arduino-upload /dev/ttyUSB0 <prog>.hex

That's it. If all goes well, then your desktop will begin listening for messages from the Freeduino. You can hit CTRL-C to cancel the program that is listening.

Creative Commons License This work is licensed under a CC BY-SA 3.0 License.