Hi,
wondering if anyone's had problem as follows when trying to upload to the emonTx under with Windows vista:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_getsync(): protocol error, expect 0x14, resp 0x51
I'm getting this error on the EMONtx. I've the correct ftdi driver, correct serial port, correct board selected, I've assumed that the V2.0 kit also uses the Arduino Duemilanove bootloader. Now I'm going to use a laptop with ubuntu instead, in case it an OS problem.
thanks,
Eamonn
Re: emonTx: avrdude stk500_getsync not in sync
Hi,
see if you don't have the atmega328 inserted the wrong way. Then try this: Unplug the USB, press the Upload tool, just when the "Binary sketch size: xxx bytes (of ..." msg appears I connect the USB plug. The new program is loaded successfuly. "
Re: emonTx: avrdude stk500_getsync not in sync
Thanks for the suggestions. I had checked the atmega orientation; it's correct.
The IDE flashes a pop-up telling me I've lost my port the moment the 'Binary sketch size ....' message appears, so . I'll try it on the laptop under vista and ubuntu in the morning and see how I go.... thanks a lot.
Eamonn
Re: emonTx: avrdude stk500_getsync not in sync
Have you set the board to arduino uno? Tools -> Board -> Arduino Uno
Re: emonTx: avrdude stk500_getsync not in sync
Thanks - root cause was ftdi cable was upside down. I also had problems caused by windows programs blocking port access, so I'm working on ubuntu since.
Re: emonTx: avrdude stk500_getsync not in sync
The OpenEnergyMonitor kits come with an Atmega328 that has been pre-loaded with Optiboot bootloader (select 'uno' under toold>board in Arduino IDE). Some people have experianced problems uploading code using optiboot boot loader using Windows. As from January all ATmega will come with Optiboot 4.4 bootloader. This should fix the problems with uploading code from Windows.
Re: emonTx: avrdude stk500_getsync not in sync
Glad it's not just me that did this, I had the exact same problem !!