avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bug #22667] AT90PWM3B, AT90PWM316 stack pointer initiali


From: Tero Sinervo
Subject: [avr-libc-dev] [bug #22667] AT90PWM3B, AT90PWM316 stack pointer initialization error
Date: Wed, 19 Mar 2008 15:17:10 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

URL:
  <http://savannah.nongnu.org/bugs/?22667>

                 Summary: AT90PWM3B, AT90PWM316 stack pointer initialization
error
                 Project: AVR C Runtime Library
            Submitted by: tvjsin
            Submitted on: Wednesday 19/03/08 at 15:17
                Category: Library
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Startup code
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The startup code generated for AT90PWM3B, AT90PWM316 and possibly others does
not initialize the SPH register.

SPL is initialized to 0xFF, placing the beginning of stack to the end of
extended IO space. SPH should be initialized to 0x02 (RAMEND is 0x2FF) but no
code seems to be doing that.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?22667>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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