Yahoo Groups archive

AVR-Chat

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

Message

RE: [AVR-Chat] Debugging ATMega16

2005-04-15 by Chuck Hackett

> From: Ivan Vernot
> 
> > ....
> > 1) Is there a way to display the current call-chain (i.e.: stack trace)
> Not with the JTAGICE (you need the ICE50 for that - but there have been
> people in this group saying they the ICE50 is very unstable/buggy)

Strange, I thought stack trace back was a standard feature of symbolic
debuggers.  Is there something about AVRs that makes this difficult?

> > 2) What's the easiest way to determine if the stack is overwriting static
> data
> Easy? Nothing is easy in embeede systems ;-)
> What I do is write a sentile byte at the end of memoery (bottom of stack)
> and the check if the the sentile byte has been overwritten.

That was my thought but, since I'm new to AVR I thought I'd ask.

> > ....
> > 3) AVRStudio is displaying things (watch window, etc.) in decimal and
> ASCII.
> > Can I add/change it to hex through a global setting?  Or, how does one
> view
> > variable data in hex?
> 
> Right click on the watch window and select 'Display All Values in Hex' (NB:
> this is a 'toggle selection')

Thanks for that ...

BTW: I checked out your web site.  Can you briefly describe the "RTD Serial
Protocol Analyser" and "RTD SIP Simulator/Analyser" programs you have on your
download page?  RTD => as in Temperature Sensor?

I've been to Australia twice - great place you have there ...

Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

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.