This is where I'm at - now stuck.
First, running Ubuntu 12.04 LTS from the CD. This is a new Arduino Due.
So, I did download an unpack the 1.5.6-r2
Installed openjdk v6
Got Java IO error #2. Fixed by installing compatability libraries.
Stuff will compile.
Error is Board at COM1 is not available. First of all, it's linux, so it's not COM1.
So, there is a line to change in the auduino shell script that specifies the port, so I changed that to use the ttyACM0 port.
Error is still present.
BTW: The two Serial monitor menu and button, does nothing, but then again, I have no idea how this is supposed to work.
Here: http://arduino.cc/en/Guide/ArduinoDue there are these instructions:
Open the Arduino IDE.
In the "Tools" menu choose "Serial Port" and select the serial port of the Due
Under the "Tools > Boards" menu select "Arduino Due (Programming port)"
There is no "Serial Port" sub-menu!
There is a "Port" submenu under Tools. That says /dev/tty/ACM0 (Arduino Due Programming Port)
I would expect the "serial monitor" port to be present too, just not selected.
These instructions don't tell you what "Programmer should be set to". I belive itshould be set to "Auduino is ISP", but I tried everything else.
I am plugged into the "programming port" - the one next to the power in connector.
So, tried to chase down whether the device /dev/ttyACM0 existed and it does with dmesg (spelling). Then I tried to do a "hello word" > /dev/ttyACM0 and I got Permission denied errors.
I cna finally do a "hello word" > /dev/ttyACM0 and the rx LED next to the power connector blinks.
Did the chmod thing shown here: Arduino Playground - All
Here is the output from
ls -ld -a /run/lock
drwxrwxrwt 3 root root 80 May 23 13:45 /run/lock
But, I suppose I really should not have to worry about that,
I don't have these files:
$ more /usr/lib/tmpfiles.d/legacy.conf
/usr/lib/tmpfiles.d/legacy.conf: No such file or directory
more /usr/lib/tmpfiles.d/legacy.conf
/usr/lib/tmpfiles.d/legacy.conf: No such file or directory
Anything else to do, except the loopback test?
I am running from the LIVE CD, so rebooting means reinstalling JAVA, the compatibility libraries and fixing the port permissions. I have not made a script file to do so.
I have a script that I run from a USB drive that basically disables trackpad tapping, installs Flash, installs NFS and ads a few symbolic links.
$ echo "Hello World" > /dev/ttyACM0
$
It passes the loopback test using cutecom.
Serial monitor still does nothing.
Help.