AVR C Runtime Library - Bugs: bug #23140, Wrong SPM_PAGESIZE in atmega328p.h
You are not allowed to post comments on this tracker with your current authentication level.
bug #23140: Wrong SPM_PAGESIZE in atmega328p.h
Submitter: | Norbert Melinat <nmelinat> | ||
Submitted: | Fri 02 May 2008 02:57:28 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | Header files |
Status: | Invalid | Assigned to: | arcanum |
Percent Complete: | 0% | Open/Closed: | Closed |
Release: | 1.6.1 | Fixed Release: | None |
Fri 02 May 2008 03:14:48 PM UTC, comment #1: |
Eric Weddington <arcanum> |
Fri 02 May 2008 02:57:28 PM UTC, original submission:
Please correct size of the temporary page buffer to
|
Norbert Melinat <nmelinat> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-05-02 | arcanum | Status | None | Invalid | |
Assigned to | None | arcanum | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-02a9.
Corresponding source code
The value for SPM_PAGESIZE is taken from the XML part description file in AVR Studio.
In the ATmega328P.xml file:
...
<BOOT_CONFIG>
<NRWW_START_ADDR>$3800</NRWW_START_ADDR>
<NRWW_STOP_ADDR>$3FFF</NRWW_STOP_ADDR>
<RWW_START_ADDR>$0</RWW_START_ADDR>
<RWW_STOP_ADDR>$37FF</RWW_STOP_ADDR>
<PAGESIZE>64</PAGESIZE>
...
<PAGESIZE> refers to the number of words in a page. Hence the SPM_PAGESIZE, in bytes, is 128.