Can ATMEGA JTAG be disabled and enabled just with JTAG?
if you are disabled JTAG functionality after program your device , Now if You want reprogram controller then disabled analog function from pins and enable JTAG.I think it will work fine.