i was having this problem but cant remember how i get out of this
if i remember correct u can re-install this plugin and the problem will go away or if not u can simply change the MCU val
MCU is the clock of u board if im not mistaken
I'm using the Mega 2560 in half of my projects. So this works :D.
Can you dump the console output? and provide the version you are using of the plugin?
Best regards
Jantje
Upon clicking the AVR button, the error pop up is immediate and there is not console print what so ever.. which is odd i suppose.
I use the console window option to see both the CDT global and CDT build console prints and they are blank.
Just got a hold of a UNO. It does the same thing.......
Something is wrong obviously. I found an option to output AVR dude to the console and when trying to to do the UNO, the console prints
SOLUTION
Got it, from looking at that console output; i noticed that the AVR Dude setttings under Preferences/Arduino/AVR were not set.
So i manually set them to whats shown in the image. I pointed to an avrdude.conf i found by using windows search.
My understanding of the Arduino instructions and FAQ gave me the impression that clicking "Use Arduino IDE Tools in eclipse" did this sort of thing.. was i wrong or a bug in the plugin?
NOTE i'd also rolled back to the Arduino plugin 1.2.4 though this isn;t the reason i fixed it.
Thank you both Jantje and THX_RoG for taking the time to help me out.
I found that when setting up the plug in that if I set all the preferences in one go then it wouldn't work.
But if I set the paths only, then applied changes, then exited preferences, then reopened preferences and St The use arduino ide setting... It would then work.
Also note all my earlier attempts and these ones were all done on fresh Eclipse installs.
Also your plug in works on kepler eclipse.
In Version V1 there is indeed inconsistency's when changing preference settings. These are fixed in V2 beta (Arduino IDE 1.5.2 beta only)
Best regards
Jantje
Could someone familiar with using AVRDude from Eclipse please post the details from their programmer specifications page for the Mega2560? I am not using the plugin, but I do have Eclipse working for the Uno...I just cannot seem to get it to upload for the Mega. I got the settings from the boards.txt file, but even with those the upload fails. There is indeed an error window that pops up for about 100ms, but it's gone way too fast to get any idea what the issue is. Then when I try to go back into the project's preferences to edit the programmer preferences, I get a message to the effect of
The currently displayed page contains invalid values.
This generally appears when I select the AVR > AVRDude menu option there in the lefthand page. However there's really no indication as to which values(s) is(are) invalid...
So if someone could share the settings they've gotten to work with AVRDude and the Mega2560, I would greatly appreciate it.