Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Sharing JTAG test pins as I/O

2009-10-15 by keepwalking188

Please help to confirm this understanding of sharing the JTAG pins.  I know it works with ISP, but JTAG seems to be less clear...
 
I want to use the 4 JTAG pins as output pins in the normal mode operation.
 
However, for debugging, I also want to use these 4 JTAG pins to run ICE.  
 
As I read the Atmel documentation, it seems that works fine under 2 assumptions:
 
A. The output for these 4 pins is isolated somewhat (dip switch or series resistor between MCU and the other load - but the JTAG connection is direct with no resistive isolation)

B. When running ICE via JTAG, these 4 pins will NOT be available as output pins - as their function at that time will be dedicated exclusively to JTAG.
 
The Atmel document shows only a mention of "LOAD" via a set of resistors.  And no other mention.  So I am unsure if this is correct.

Appreciate any comments the group may like to share.
 
Thanks/jeff

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.