- Sun Oct 18, 2009 4:53 pm
#83214
Id like to think that I am not an electronics n00b but I can't for the life of me program an atmega8l-8pu
My makefile is standard other than:
MCU = atmega8
AVRDUDE_PROGRAMMER = stk200 (I am using the AVR-PG2 programmer)
AVRDUDE_PORT = lpt1
Whenever I use avrdude to program the chip I get the infamous:
> "make.exe" program
avrdude -p atmega8 -P lpt1 -c stk200 -U flash:w:Testblink.hex
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
make.exe: *** [program] Error 1
AVRStudio4 and Ponyprog won't connect to my board either (I have used 2 windows XP computers with working parallel ports as I use them for my CNC machines).
My breadboarded circuit is shown below, am I missing something?
Thanks in advance![/img]
My makefile is standard other than:
MCU = atmega8
AVRDUDE_PROGRAMMER = stk200 (I am using the AVR-PG2 programmer)
AVRDUDE_PORT = lpt1
Whenever I use avrdude to program the chip I get the infamous:
> "make.exe" program
avrdude -p atmega8 -P lpt1 -c stk200 -U flash:w:Testblink.hex
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
make.exe: *** [program] Error 1
AVRStudio4 and Ponyprog won't connect to my board either (I have used 2 windows XP computers with working parallel ports as I use them for my CNC machines).
My breadboarded circuit is shown below, am I missing something?
Thanks in advance![/img]