Go Down

Topic: trouble uploading to bord (Read 1 time) previous topic - next topic


I get this error code when I try to upload.

Binary sketch size: 1026 bytes (of a 32256 byte maximum)
java.io.IOException: Cannot run program "/home/chadolson/arduino-0021/hardware/tools/avrdude": java.io.IOException: error=13, Permission denied
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
   at java.lang.Runtime.exec(Runtime.java:610)
   at java.lang.Runtime.exec(Runtime.java:483)
   at processing.app.debug.Uploader.executeUploadCommand(Unknown Source)
   at processing.app.debug.AvrdudeUploader.avrdude(Unknown Source)
   at processing.app.debug.AvrdudeUploader.uploadViaBootloader(Unknown Source)
   at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(Unknown Source)
   at processing.app.Sketch.upload(Unknown Source)
   at processing.app.Sketch.exportApplet(Unknown Source)
   at processing.app.Sketch.exportApplet(Unknown Source)
   at processing.app.Editor$DefaultExportHandler.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
   at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
   at java.lang.ProcessImpl.start(ProcessImpl.java:81)
   at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
   ... 11 more



Was this working previously? Did you just install the Arduino software??


I had it Working under Ubuntu then I installed Mint 10 on my computer then reinstalled arduino.

I think it has something to do with the permissions of the serial port. but I couldn't change it.

chadolson@OlsonMint ~ $ chmod 666 /dev/ttyACM0
chmod: changing permissions of `/dev/ttyACM0': Operation not permitted
chadolson@OlsonMint ~ $


Cannot run program "/home/chadolson/arduino-0021/hardware/tools/avrdude": java.io.IOException: error=13, Permission denied

This is a permission problem. We need a *NIX nerd to help; not me  :)


Try opening arduino with:

Code: [Select]
gksu arduino
(from command line)

that will give aruino super user permission with graphic interface.

Also when you try to modify any system property you must use "sudo" before the command sentence


May 17, 2011, 11:28 am Last Edit: May 17, 2011, 11:38 am by olujoe Reason: 1
I am also having trouble uploading, I am using Windows Xp, connected to a Arduino Pro Min 5v 16hz 168 board.
This is the message I get:

Binary sketch size: 14244 bytes (of a 14336 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x30
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I spent the best part of the day reducing the code by changing floats to int to reduce space.
Now the message above is displayed.
The code has been loaded successfully on Arduino Uno (with floats not replaced with int as size not an issue), with no issues.

Please help.

Go Up