Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: hendrachubby on April 25, 2009, 12:13:31 PM

Title: Problem With ATmega16 Reset
Post by: hendrachubby on April 25, 2009, 12:13:31 PM
HI All,

I got problem using avr isp mk2 programmer in my board, i usually use avr isp 910 to program my board and it works fine but the programmer is really slow so i bought mk2. When i use mk2 as the programmer it just error ( avr isp mk2 can't enter programming mode ). I also already upgrade the mk2 using avr studio 4.14, so i think maybe there is something on the board that can't support mk2 programmer. I attach my atmega16 board so maybe somebody can help me.... thx
Title: Re: Problem With ATmega16 Reset
Post by: TrickyNekro on April 26, 2009, 12:33:56 PM
replace that 10K resistor with a 4K7 one... at the reset circuit...
Also place a 100nF from the reset to ground...

That's the two first step you gotta consider before thinking of anything else...
Title: Re: Problem With ATmega16 Reset
Post by: hendrachubby on April 28, 2009, 02:09:54 PM
I already done that, but still it can't enter programming mode, can you help me with recomended reset circuit ?
Title: Re: Problem With ATmega16 Reset
Post by: GearMotion on April 28, 2009, 02:15:44 PM
I already done that, but still it can't enter programming mode, can you help me with recomended reset circuit ?

Get rid of the LED.
Title: Re: Problem With ATmega16 Reset
Post by: Webbot on April 28, 2009, 03:31:58 PM
That schematic shows a 10 pin ISP header whereas the AVRISP MKII only has 6 pin socket - how are you converting from one format to the other?
Title: Re: Problem With ATmega16 Reset
Post by: hendrachubby on April 28, 2009, 11:11:16 PM
I convert it by jumpering the wire from 6 to 10 wire, i think it's ok, because i when try program the uC with the reset switch pressed the programmer can enter programming mode and download the program. The avr studio error message says that i use to strong pullup resistor..