bjg222
YaBB Newbies
Offline

Arduino rocks
Posts: 10
Atlanta, Ga
Gender:
|
I've searched through this forum and read all the relevant posts that I've been able to find, but I'm still at a loss, so I'm hoping somebody out there can help.
I've set up Eclipse so that I can develop code for my Duemilanove w/ 328, and I can compile code to .hex just fine. I've followed the directions to set up avrdude, but it only works intermittently, and I one of two responses when it doesn't. Sometimes I get the "out of sync" error, the Rx light blinks three times on the board, then I get nothing. Other times it just doesn't respond and avrdude hangs and I have to kill it. In this case, it strikes me as the arduino thinking it's connected to a serial monitor, as it transmits data constantly (the Tx light blinks rapidly or is solid, which seems to directly correspond to what sketch is on the board) and doesn't respond to received data, but this is just my best guess. The directions I followed came from the playground page detailing how to set up eclipse, but I found that it worked most reliably if I changed the baud to 57600 (same baud as the Arduino IDE).
I know that my settings can work, as I've successfully uploaded numerous sketches. Also, the Arduino IDE works reliably. One other odd thing I've found... When uploading from Eclipse won't work, I go to the Arduino IDE and upload any sketch (I just use one that counts up from 0 forever!), then go to Eclipse when it's done and avrdude will work! It'll then work for a short period of time, then go back to not working if I don't upload a sketch for a while. I can repeat this process over and over again reliably!
Any thoughts on how to get avrdude to work reliably through Eclipse?
Thanks Billy
|