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

Working with the Attiny25 (at25def.inc).     Which, according to the 
data sheet, has no SPH (only 128 Bytes of RAM).

David VanHorn wrote:
>
> I don't see what chip you're working with, but I only see SPL initted, not
> SPH.
>
> >
> > ldi r30, RAMEND ; initialize stack pointer
> > out SPL, r30
>
> What I expect to see, is:
>
> ldi TEMP,low(ramend)
> out spl,TEMP
> ldi TEMP,high(ramend)
> out sph,TEMP
>
> [Non-text portions of this message have been removed]
>
> 
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.409 / Virus Database: 268.16.2/613 - Release Date: 1/1/2007
>

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.