Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: Mega644-20P

2009-03-30 by David VanHorn

On Sun, Mar 29, 2009 at 6:07 PM, s.holder123@btinternet.com
<s.holder123@btinternet.com> wrote:
> I notice that just before the crash you are setting the device pinb5 to an output pin, is the pull up enabled when set as an input ?
>
> Might be an idea to insert an intermediate state, might possibly be getting a vcc to 0v power short, (see section 12.2.3 int the datasheet) this could be giving you the glitch, what is the PORT REG value before you switch to an output ? Is an intermediate state required ?

No, it really was that crazy.
Powering down the target and the Jtag seems to have cured it, at least
temporarily.
Looks like the Jtag is getting lost and out of sync with the target sometimes.



-- 
There is no computer problem which cannot be solved by proper
application of a sufficiently large hammer.

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.