AVRDUDE Error Message
Recently encountered an error message attempting to load to an Arduino Nano. The error message went something like this
avrdude: stk500_getsync(): not in sync: resp=0x30
From all the forum entries I subsequently uncovered this is a somewhat dreaded error message. Seems there are many and varied causes. As unlikely as it might seem, I think I have uncovered another ….
So should you encounter the AVRDUDE message, please sift through the forums and ensure you have the latest drivers loaded and correct COM ports etc as these common causes are most likely the problem however ....
I'm using a Toshiba laptop, running XP SP2, and have not problems programming a range of Arduino configurations, including the Nano. Correctly selecting the configuration options in the Integrated Development Environment (IDE) is a prerequisite of course....
However mid way through a project, I had 2 of 4 Arduinos programmed, but the last two were not recognised by the PC at all. I do have a complicating factor in that other devices (CNC) also use the FTDI drivers, but it did not seem this was the issue
The Arduino Nano's had been sourced off Ebay, and were advertised as fully compatible... sub $5... so you always take a chance...
But try as I might , enabling, disabling, reloading drivers the board could not be found. Closer examination revealed a lot of useful information.
Exhibit 2
The Arduino Nano, and others typically use and FT232R USB to Serial driver, however these boards (I had changed batch, mid-project) use a different chip the CH340(G), and require a different driver set to establish the communications channel
Drivers for the CH340 can be obtained here :
http://www.driverscape.com/download/usb-serial-ch340 or other places I'm sure
Once loaded, everything worked as it should, and as far as I can tell these really cheap boards perform exactly as described...
So if you have the dreaded AVRDUDE : message, as a last resort, check the USB to Serial chip (under the board)....and good luck !
avrdude: stk500_getsync(): not in sync: resp=0x30
From all the forum entries I subsequently uncovered this is a somewhat dreaded error message. Seems there are many and varied causes. As unlikely as it might seem, I think I have uncovered another ….
So should you encounter the AVRDUDE message, please sift through the forums and ensure you have the latest drivers loaded and correct COM ports etc as these common causes are most likely the problem however ....
Situation
I'm using a Toshiba laptop, running XP SP2, and have not problems programming a range of Arduino configurations, including the Nano. Correctly selecting the configuration options in the Integrated Development Environment (IDE) is a prerequisite of course....
However mid way through a project, I had 2 of 4 Arduinos programmed, but the last two were not recognised by the PC at all. I do have a complicating factor in that other devices (CNC) also use the FTDI drivers, but it did not seem this was the issue
Long Story Short
The Arduino Nano's had been sourced off Ebay, and were advertised as fully compatible... sub $5... so you always take a chance...

Exhibit 1
But try as I might , enabling, disabling, reloading drivers the board could not be found. Closer examination revealed a lot of useful information.
Exhibit 2
The USB - Serial driver chip is on the underside of the board...
The Arduino Nano, and others typically use and FT232R USB to Serial driver, however these boards (I had changed batch, mid-project) use a different chip the CH340(G), and require a different driver set to establish the communications channel

Drivers for the CH340 can be obtained here :
http://www.driverscape.com/download/usb-serial-ch340 or other places I'm sure
Once loaded, everything worked as it should, and as far as I can tell these really cheap boards perform exactly as described...
So if you have the dreaded AVRDUDE : message, as a last resort, check the USB to Serial chip (under the board)....and good luck !
Comments
Post a Comment