Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: Debugwire, stk-500 and M168

2008-01-24 by David VanHorn

On Jan 24, 2008 4:50 PM, David VanHorn <microbrix@gmail.com> wrote:
> > Not even the additional (4K7-10K) pullup on the reset line
> > as suggested by a very wise, much loved and respected member
> > of this forum? LOL
>
> I didn't catch that.. you mean in addition to what's on the STK-500 board?
> I can throw one on easily enough.
>

Ok, after adding a 10k between pins 2 and 5 of the SPROG2 connector,
and bringing everything up from scratch, I have this:

I ran the code step by step, and the only problem was that it was
executing over (through?) subroutines even though I've been pressing
F11, which should single step through the calls...  NOW it's stuck
here, in a loop. (!)

rcall	SPM_Ready	;
rcall	EE_Ready		;
in	TEMP2,SREG	;Save int enable state
cli		;No ints now

With the cursor on "in TEMP2,SREG", pressing F11 puts the cursor back
on "rcall SPM_Ready"

Once again, the list is right, it was a fresh build, no breakpoints set.

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.