bugAVR 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: 

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.

Eric Weddington <arcanum>
Group administrator
Fri 02 May 2008 02:57:28 PM UTC, original submission:  

Please correct size of the temporary page buffer to
/* $Id: iom328p.h,v 1.3.2.7 2008/03/19 21:25:13 arcanum Exp $ */
#define SPM_PAGESIZE 128 (was 64)

Norbert Melinat <nmelinat>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Posted a comment)
  • -email is unavailable- added by nmelinat (Submitted the item)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-05-02 arcanum StatusNone Invalid
        Assigned toNone arcanum
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code