Am using Atmega128 MCU. I have connected JTAGmkII with the MCU and tried reading the Signature bytes and Fuse bytes. Everytime when i do the reading the bytes are read to be 0x3F 0x3F 0x3F. When i tried programming the device, during verification of the flash it fails.
I dont know what could be the reason. Has anyone experienced like this before.
I dont know whether the JTAG fuse is enabled in the MCU or not. But i guess it would be enabled since the JTAGmkII is able to read something.