avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] one-byte stack bug in tiny26


From: Bob Paddock
Subject: Re: [avr-gcc-list] one-byte stack bug in tiny26
Date: Tue, 27 Apr 2004 06:01:16 -0400
User-agent: KMail/1.6.1

On Tuesday 27 April 2004 05:51 am, Marek Michalkiewicz wrote:

> > According to the datasheet, the register of SPH is reserved.

> Well, it worked long time ago - non-existent SPH was read as zero.

"Reserved" registers should not be read in any case, ever.

Reserved does not necessarily mean "unimplemented".

Frequently "Reserved" registers are used for internal test functions when
the chip is made.  Some manufactures will tell us about  that, others do not.

Accessing the "Reserved" registers can get the chips in to peculiarly test 
modes not consistent with the data sheets.

-- 
                    http://www.softwaresafety.net/
       http://www.unusualresearch.com/ http://www.bpaddock.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]