Цитата(hammered @ Oct 16 2007, 14:57)

я программно выставляю JTD в 1. и как я понимаю, тем самым выключаю житак СОВСЕМ.
но проблема остается.
правда, в даташите написано, что это нужно делать как то по хитрому:
The application software must write this bit to the desired value twice within four cycles to change its value.
может я там косячу

"When the JTAGEN fuse is unprogrammed, these four TAP pins are normal port pins
and the TAP controller is in reset. When programmed and the JTD bit in MCUCSR is
cleared, the TAP input signals are internally pulled high and the JTAG is enabled for
Boundary-scan and programming."
Есчо раз: посмотри на фузы. Если надо отключить ЖТАХ енжыне раз и навсегда, установи ocden=1, jtagen=1. И всё.Мож 128-ю клинит до того, как ты установишь ЖТД в "1"