Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] why unintialized stack errors?

2007-01-02 by Thomas Keller

Yes, I  jave fixed that, and still I get the stack initialization 
error.  i have used the watch feature of the fdebugger, and in deed, my 
stack *IS* beingintialized, to the correct value (123 decimal, or 
0xdf).  So why is the simulator inissting that the stack is  uninitialized?


John Samperi wrote:
>
> At 07:25 AM 3/01/2007, you wrote:
>
> >RESET:
> > rjmp START
> >
> >; Program starts here after Reset
> >;
> >START:
>
> The program ***CANNOT** start here. You are sending the program
> to an address in EEPROM which contains a TABLE and not executable
> code, apart from the fact that you ***CANNOT** run code from
> EEPROM. Put the table in EESEG at the end of the program or change
> the rest jmp to BEGIN rather than START.
>
> You are probably confusing the daylight out of the assembler :)
>
>

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.