- Mon Oct 19, 2009 7:52 pm
#83308
Right, my mistake, it looks like you are giving an external supply.
It might well be your programmer, but the things to try before deciding that are:
1) Double check that you have made the right connections to your programmer - are you sure you don't have the pins reversed?
2) Make sure (with a multimeter) that when you power it up:
There is definitely 5V between the VCC and ground pin
The reset pin is held high (5V)
3) Since you already have AVRstudio set up, simpler than programming the chip is trying to read the signature byte from it and making sure it matches a mega8.
4) If you have another mega8 try with that. From the factory they come configured for their internal oscillator, but if you've somehow changed the fuse bits it will cease to function without a crystal
5) If you put LEDs on the MOSI/MISO/SCK pins (with ~500ohm resistors of course) you should see them flicker when the programmer tries to connect. In the absence of a logic analyser this is one way to see if the programmer is at least TRYING to talk to your chip.
Good luck =)
It might well be your programmer, but the things to try before deciding that are:
1) Double check that you have made the right connections to your programmer - are you sure you don't have the pins reversed?
2) Make sure (with a multimeter) that when you power it up:
There is definitely 5V between the VCC and ground pin
The reset pin is held high (5V)
3) Since you already have AVRstudio set up, simpler than programming the chip is trying to read the signature byte from it and making sure it matches a mega8.
4) If you have another mega8 try with that. From the factory they come configured for their internal oscillator, but if you've somehow changed the fuse bits it will cease to function without a crystal
5) If you put LEDs on the MOSI/MISO/SCK pins (with ~500ohm resistors of course) you should see them flicker when the programmer tries to connect. In the absence of a logic analyser this is one way to see if the programmer is at least TRYING to talk to your chip.
Good luck =)