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

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 :)

>     .eseg
>
>TABLE:
>     .db    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 3, 3, 4, 5, 6, 6

I guess you must have read my other 2 emails as you have made some
changes to the code. We could fix some of the errors but then you
would not get much understanding of what's happening.

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.