Pages: [1]   Go Down
Author Topic: Programming Atmega8-16PU error (not in sync)  (Read 972 times)
0 Members and 1 Guest are viewing this topic.
Auckland
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8967
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: