Page 1 of 1

Unable to upload sketch to Arduino

PostPosted: Apr 25th, '15, 19:11
by janpihlgren
I use Mageia 4 x86_64 with 3.14.32-desktop-1.mga4,
I use Arduino Uno and Arduino Ethernet shield.
With the Arduino IDE 1.0 installed from Mageia it is unable to compile, code error.
I the installed Arduino IDE 1.6.3 in a my own direktory ( /home/jan/Program1) and started the IDE wich lauched OK.
I the choosed the WebServer sketch.
Port = /dev/ttyACM0
Programmer = AVRISP mkII

Then I tried to upload the sketch. As I think it compiles OK but couldn't load to Arduino.
I get the following message:
Sketch uses 12612 bytes (39%) of program storage space. Maximum is32 256 bytes.
Global variables use 552 bytes (26%) of dynamic memory, leaving 1496 bytes for local variables. Maximum is 2 048 bytes.
averude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
averude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
averude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
averude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
averude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
averude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
averude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
averude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
averude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
averude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

When I do this with th Arduino connected to Raspberry Pi it works OK.
But for my comfort I whish to use my PC with Mageia to do the work.
What do I have to do to?

Re: Unable to upload sketch to Arduino

PostPosted: Apr 26th, '15, 13:25
by ozky
Maybe this will help you found same kind of problem from google.
http://forum.freetronics.com/viewtopic.php?t=6017

Re: Unable to upload sketch to Arduino

PostPosted: Apr 26th, '15, 15:47
by janpihlgren
Thanks for info but that does not help.
Compilation OK. Uppload the same problem.

Re: Unable to upload sketch to Arduino

PostPosted: Apr 26th, '15, 16:05
by ozky
Arch linux wiki have very good page about arduino.
https://wiki.archlinux.org/index.php/Arduino

Re: Unable to upload sketch to Arduino

PostPosted: Apr 27th, '15, 10:43
by wintpe
i had same problem with the newer 32 bit arduino and found that getting the very latest beta
arduino ide fixed the problem.

might help if you try that
regards peter

Re: Unable to upload sketch to Arduino

PostPosted: Apr 27th, '15, 11:22
by janpihlgren
Installed 1.6.4 (nightly)(64-bit)
I get the following errormessage:
Arduino:1.6.4 (Linux), Kort:"Arduino Uno"

Build options changed, rebuilding all
Cannot run program "{runtime.tools.avr-gcc.path}/bin/avr-g++" (in directory "."): error=2, Filen eller katalogen finns inte

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
So no success.