- This topic has 3 replies, 2 voices, and was last updated 13 years, 10 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › query about JTAG
hello engineersgarge,
i went to the article JTAG disablin it is a very nice article about JTAG…
http://www.engineersgarage.com/embedded/avr-microcontroller-projects/disable-jtag-port
but how to enable it again… and when we have to disable the JTAG for a new IC why at all this provision is provided in AVR.. what is the use of JTAG….
one more query… i the link given above… in the code section
/*Now diable JTAG port*/
MCUCSR|=(1<<JTD); // sendig 1 to JTD MCUCSR|=(1<<JTD);
why this part is given twice… i wan’t able to try this because i already disabled the JTAG and i don’t know how to enable this….
the above instrustion dosen’t make ur JTAG permanantly.
this will enable if u burn another program without above instrustion the JTAG will enable .
to permantly enable disable u have to confogure the fusebits.
sir you mean to say if i include the code part in my code that will disable the JTAG for that that code and if i permanently want to disable the JTAG i have to follow the above method using cmd…
k sir i understood tht…
sir one more thing you told in your reply that we have to configure fusebits what are they… is JTAG is a part of fuse bits….
and sir how to enable my device JTAG again so that i can practice it one more time…..
thanks in advance for your reply….
if ur working on high frequency external clock the following fuse bit setting can be use for your Atmega16
to enable JTAG =0x89FF
to enable JTAG =0xC9FF