avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] atmega16


From: Graham Davies
Subject: Re: [avr-gcc-list] atmega16
Date: Wed, 29 Dec 2004 10:41:36 -0500

"Geoffrey Wossum" wrote:

> I've never used the JTAG for purely
> programming a part, so I don't know
> if JTAGEN has to be set for that.

Yes, it does.

> But I do know that if JTAGEN is set, then the 
> JTAG pins are not available for your program.

This is not true.  Disable the JTAG interface in software.

> I've torn my hair out a couple of times debugging
> "bad software", only to figure out a couple of hours
> later  that the chip had the JTAGEN set.

Just set the JTD bit during the initialization of your software.

Graham.
http://www.ecrostech.com



reply via email to

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