Go Down

Topic: Programming Atmega8-16PU error (not in sync) (Read 998 times) previous topic - next topic

cryphakon

Got some cheap Atmega8-16PUs cheap along with a USB to serial dongle for programming the chips.
http://dx.com/p/jy-mcu-usb-serial-port-adapter-download-line-arduino-104322?item=42
http://dx.com/p/atmel-atmega8-16pu-avr-8-bit-microcontroller-chips-3-piece-pack-136056?item=1
The configuration passed the loopback test.

I connected it like so:
RESET - 1 - DTR
RXD    - 2 - RXD
TXD    - 3 - TXD
VCC    - 7 - VBUS
GND   - 8 - GND

I selected the correct COM port, Arduino NG (Atmega8), AVR ISP. But when I try to burn the bootloader or upload a sketch the error: "avrdude: stk500_getsync(): not in syn: resp=0x00".

Help please?

johnwasser

You can't burn the bootloader with a USB-to-Serial connection.  You need an ISP device.  If you have an Arduino you can use the ArduinoISP sketch as your ISP device.  You will need the 16 MHz crystal (and load caps) or 16 MHz resonator connected to your chip before you can burn the bootloader.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up