EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / query about JTAG

query about JTAG

|

Microcontroller › AVR › query about JTAG

  • This topic has 3 replies, 2 voices, and was last updated 14 years, 5 months ago by Amit Joshi.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 2, 2011 at 6:58 am #608
    Caleb
    Participant

     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….

    February 4, 2011 at 7:04 am #5410
    Amit Joshi
    Participant

     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.

    February 4, 2011 at 8:20 am #5418
    Caleb
    Participant

    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….

    February 5, 2011 at 6:02 am #5431
    Amit Joshi
    Participant

    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

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • The Analog Gods Hate Me July 14, 2025
  • Impact of Tariffs on PCB Fab July 14, 2025
  • More fun with ws2812 this time XC8 and CLC July 14, 2025
  • I Wanna build a robot July 14, 2025
  • Wierd makita battery July 14, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise