Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Mega644-20P

2009-03-29 by Jim Wagner

Hmmm. ...

Can you set a "variable watch" that triggers on a memory value that  
should not change but IS getting changed? I don't remember if Studio  
has that.

Another possibility is that you are getting a corrupted stack (ie,  
unmatched push/pops or something that writes into area used by stack)  
and you are returning to a place in ROM that is the middle of a two- 
word instruction so that everything subsequent is really messed up.  
Been there, done that!

Jim

On Mar 29, 2009, at 2:23 PM, David VanHorn wrote:

> I added a full vector table, and every entry for the unused ints sets
> "sanity_flag" to some unique value.
> There's a task that checks sanity flag for any non-zero value, and
> it's never triggering.
>
> 



[Non-text portions of this message have been removed]

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.