upload using AVRDUDE [message #1824458] |
Wed, 15 April 2020 15:29 |
dov aharonson 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?
|
|
|
Powered by
FUDForum. Page generated in 0.02749 seconds