I am trying to use the USB BUB (v1.0) to upload an Arduino 1.0 IDE sketch to a breadboarded Atmega328p with the optiboot bootloader (purchased from Modern Device). I am using instructions for breadboarding the Atmega from http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard.
I am getting the following error in the Arduino IDE after attempting an upload:
Code: Select all
avrdude: stk500_getsync(): not in sync: resp=0x00
On the BUB I have jumpered the 5V logic level connection and am using the 5V supply from the BUB to power the breadboard.
The BUB is recognized by my laptop (windows XP) and I see the communication LED blink whenever I connect the USB cable. I have downloaded the latest drivers and installed them several times (have tried both 2.08.14 and 2.08.17beta versions of the driver). I have also checked for shorts that I might have created when I soldered on the headers and all looks good there.
The Atmega operates fine. The reset button on the breadboard successfully resets the chip and pin 13 blinks an LED (reset pullup is 8.6 kOhms). I can upload new programs to the Atmega flash memory using an AVR ISP MKII and the ICP connections, so the Atmega seems to be working just fine.
I have scoped the RST, TX, and RX lines at the Atmega and see the following during an upload attempt:
- 1) all three lines are at 5V initially
2) RST goes low one or more times, it is difficult to tell how many times since I don't have a storage scope
3) RX (Atmega pin 2) goes low several times
4) TX (Atmega pin 3) has some noise on it, but it never goes low enough to trigger the scope (negative slope trigger)
5) after upload attempt all three lines return to 5V and stay there
6) no blinking on the BUB RX/TX LED at any time during upload