Update of bug #23140 (project avr-libc):

                  Status:                    None => Invalid                
             Assigned to:                    None => arcanum                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up 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.

    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to