bugAVR C Runtime Library - Bugs: bug #23140, Wrong SPM_PAGESIZE in atmega328p.h

 
 

bug #23140: Wrong SPM_PAGESIZE in atmega328p.h

Submitted by:  Norbert Melinat <nmelinat>
Submitted on:  Fri 02 May 2008 02:57:28 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: InvalidPercent Complete: 0%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: 1.6.1Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 May 2008 03:14:48 PM UTCarcanumStatusNone=>Invalid
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1