I've been using avr for quite some time now, but recently I encountered a problem programming atmega168 using ISP: set up- JTAG ICE mkII, ISP connector to atmega168 atmega168 uses internal oscillator nothing is connected to the reset pin except for the nSRST of mkII. For the first few tries, programming works fine for a fresh chip. The same code can be programmed to the chip more than once After which it fails to be programmed. I also noticed that the reset pin is now stuck low when this happens. I urgently need help!! Thank you very much in advance, avr_guy
ATmega168 isp programming problem
Started by ●March 24, 2008
Reply by ●March 28, 20082008-03-28
"avr_guy" <hcsicat@yahoo.com> skrev i meddelandet news:JOSdnR0T86KaAnranZ2dnUVZ_jydnZ2d@giganews.com...> I've been using avr for quite some time now, but recently I encountered a > problem programming atmega168 using ISP: > > set up- > JTAG ICE mkII, ISP connector to atmega168 > atmega168 uses internal oscillator > nothing is connected to the reset pin except for the nSRST of mkII. > > For the first few tries, programming works fine for a fresh chip. > The same code can be programmed to the chip more than once > After which it fails to be programmed. > I also noticed that the reset pin is now stuck low when this happens. > > I urgently need help!! > > Thank you very much in advance, > avr_guy > >You probably configured the reset pin/PC6 to be an I/O pin. -- Best Regards, Ulf Samuelsson This is intended to be my personal opinion which may, or may not be shared by my employer Atmel Nordic AB