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 John Samperi

At 06:59 AM 25/01/2008, you wrote:
>Even though I wasn't USING the breakpoints, (I was
>single-stepping), that was causing the problem.
>
>I may not have read ALL the documentation, but as far as I'm aware,
>setting a breakpoint is not supposed to also cause the debugger to
>ignore the instruction at the breakpoint.

...and the other bits from other posts...

I have been using DW with the Dragon for about 18 months now,
it has been working very well. I have only worked with 5V supplies
though and ALWAYS a 4K7 pull up resistor in the reset line, with
clock ranging from internal 1MHz to crystal 14MHz.

I must admit that it is not the most solid of debugging environments
but it does work. At times I need to unplug the Dragon and restart
Studio but rarely.

As far as the wrong values in the registers, is the list file correct
or is something happening at assembly time?

With the breakpoint issue, I always do a "build and run" every time I
make the smallest chance. New code gets uploaded to the chip and any
old set breakpoints get cleared, at times some cannot be set in the
original location but they get highlighted and you get asked to remove
them which I do. Remember that breakpoints do in fact change memory
locations, (they are placed in memory with DW not hardware like JTAG)
so it is useful to reload the code and overwrite them.

Hang in there, I have done about a dozen or more project with DW
and I love it. I would prefer if all chips had DW instead of JTAG
as one does not waste any pins. It WILL get better :-)


Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

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.