I have about 5 atmega 16 microcontrollers with PC2 to PC5 pins are always high even if i programmed them as outputs and make PORTC=0x00.this problem occurs when the JTAG interface is enabled in ATmega 16.
To get rid from this problem you have to disable the JTAG.
Here I disablled the JTAG interface using the avr studio and STK500 board.
To get rid from this problem you have to disable the JTAG.
Here I disablled the JTAG interface using the avr studio and STK500 board.
Steps :
1- Connect the STK500 board through usb .
ATmega 16 problem PC2 to PC5 always high