SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By bryank
#83471
Curious why my atmega8 runs code fine when the reset pin is tied directly to VCC (when shorted to ground it resets) but with a 10k resistor in place (brown, black, orange,) it wont run.

With my AVRISP mkII programmer hooked up it WILL run with the resistor in place.

Can someone explain this to me? Thanks!
User avatar
By leon_heller
#83478
Have you checked the resistor with a DVM? Is it connected properly?

Leon
By cpolley
#83499
As Leon said, with the resistor connected you should still see 5V between reset and GND. If you don't then it probably isn't connected properly and your program isn't running because it's randomly resetting.