Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » upload using AVRDUDE (installation problem fail to upload to MEGA 2560 board)
upload using AVRDUDE [message #1824458] Wed, 15 April 2020 15:29
dov aharonson is currently offline dov aharonsonFriend
Messages: 2
Registered: April 2020
Junior Member
The problem: I can't upload a simple program from Exlipse C/C++ IDE up to the target board using AVRDUDE.

I just finished installation of:
Arduino IDE (1.8.12)
Eclipse IDE for C/C++ (CDT) Kepler service release 2.
Installed also AVR Eclipse Plugin
My target is Arduino MEGA2560

When I use the Arduino IDE I can upload code on to the target with no problems.
When I try to upload using Eclipse I get the following error:

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc7
avrdude: stk500_recv(): programmer is not responding

I can see that the eclipse AVRDude is attempting to communicate with the board since each of the 10 attempts cause the Rx LED on the MEGA2560 board to lit up but the Tx LED does not respond so the board either did not get the input or failed to return a response.

I read some older feedbacks and tried pressing the reset manually but this did not help.

The bottom line is that while AVRDude is working ok when activated by Arduino IDE so it should not be a problem on the board and the reset is most likely ok.
It only does not work when the AVRDude is activated by Eclipse.

On the preferences the eclipse is pointed to the AVRDude installation of the Arduino IDE so they are both using the same settings.
is there any additional control parameter that I need to add to the command line that eclipse is using for the AVRDude?

Previous Topic:Class-enclosed enum class parse error
Next Topic:Error attempt to build 'No esp launch target found.'
Goto Forum:
  


Current Time: Thu Mar 28 19:31:30 GMT 2024

Powered by FUDForum. Page generated in 0.03798 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top