Currently the firmware upload button only works with Mega 2560. There's a different setup in the upload command line for the Mega 1280, but I'm still trying to find a reliable way to detect the arduino type automatically.
You can check the state of this issue here:
http://code.google.com/p/chemshapes/issues/detail?id=13On the issue page, you'll find that one of our forum members, Martin, was able to create a custom command line to upload the firmware to an Arduino Mega 1280. The custom command is:
avrdude -D -C firmware/avrdude/avrdude.conf -q -p atmega1280 -P %s -c arduino -b 57600 -U flash:w:firmware/bin/firmware.hex:i
Although he was running this on linux, it should also work in windows, but it would require you to run a CMD shell and run the following adapted command line, from the "CS1 Host" folder:
firmware\avrdude\win32\avrdude.exe -D -C firmware\avrdude\avrdude.conf -q -p atmega1280 -P COM3: -c arduino -b 115200 -U flash:w:firmware\bin\firmware.hex:i
You should actually replace the "COM3:" serial by the port were your arduino is connected to.
make sense?
-H
blog home