avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Atmega128, JTAG and ADC


From: Larry Barello
Subject: [avr-chat] Atmega128, JTAG and ADC
Date: Sun, 17 Jul 2005 00:48:58 -0700

Is there a sure-fire way to automagically disable the JTAG interface in code
such that when the JTAG pod is attached the code is skipped?

Right now I have to manually step to the disable code and skip it.

I though I could do something like:

if (MCUCSR & _BV(JTRF) != 1)
{
        MCUCSR |= _BV(JTD);
        MCUCSR |= _BV(JTD);
}

But find that no matter what the code is executed.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]