AVR C Runtime Library - Bugs: bug #40206, incorrect SP init in startup code...
You are not allowed to post comments on this tracker with your current authentication level.
bug #40206: incorrect SP init in startup code for xmegas
Submitter: | Senthil Kumar Selvaraj <saaadhu> | ||
Submitted: | Tue 08 Oct 2013 12:24:16 PM UTC | ||
Category: | Library | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | Startup code |
Status: | Fixed | Percent Complete: | 0% |
Assigned to: | pitchumani | Open/Closed: | Open |
Release: | 1.8.0 | Fixed Release: | None |
Tue 29 Apr 2014 06:26:08 AM UTC, comment #1: |
Pitchumani <pitchumani>![]() ![]() |
Tue 08 Oct 2013 12:24:16 PM UTC, original submission:
gcrt1.S writes SPH before SPL for all devices. For xmegas, the compiler, however, writes SPL before SPH. This is to avoid occurence of interrupts after the writing of SPH but before the writing of SPL; the hardware disables interrupts for four instructions after the write to SPL.
|
Senthil Kumar Selvaraj <saaadhu>![]() |
Depends on the following items: None found
Items that depend on this one: None found
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-04-29 | pitchumani | Status | Confirmed | ![]() |
Fixed |
2014-04-29 | pitchumani | Status | None | ![]() |
Confirmed |
Assigned to | None | ![]() |
pitchumani | ||
Summary | SP initialization in startup code for xmegas is inconsistent with compiler generated initialization in function prologue | ![]() |
incorrect SP init in startup code for xmegas | ||
2013-10-08 | saaadhu | Attached File | - | ![]() |
Added fix_sp_write_xmega.patch, #29326 |
committed the changes.
http://svn.savannah.nongnu.org/viewvc?view=rev&root=avr-libc&revision=2421