12.07.2015 Views

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ATmega32A</strong>25.8.13 Boot Loader ParametersIn Table 25-6 through Table 25-8, the parameters used in the description of the self programmingare given.Table 25-6. Boot Size Configuration (1)BOOTSZ1BOOTSZ0BootSizePagesApplicationFlashSectionBootLoaderFlashSectionEndApplicationsectionBoot ResetAddress (startBoot LoaderSection)1 1256words4$0000 -$3EFF$3F00 -$3FFF$3EFF $3F001 0512words8$0000 -$3DFF$3E00 -$3FFF$3DFF $3E000 11024words16$0000 -$3BFF$3C00 -$3FFF$3BFF $3C000 02048words32$0000 -$37FF$3800 -$3FFF$37FF $3800Note: 1. The different BOOTSZ Fuse configurations are shown in Figure 25-2Table 25-7. Read-While-Write Limit (1)Section Pages AddressRead-While-Write section (RWW) 224 $0000 - $37FFNo Read-While-Write section (NRWW) 32 $3800 - $3FFFNote: 1. For details about these two section, see “NRWW – No Read-While-Write Section” on page253 and “RWW – Read-While-Write Section” on page 253Table 25-8. Explanation of Different Variables used in Figure 25-3 and the Mapping to the Z-pointerVariablePCMSBPAGEMSBZPCMSBZPAGEMSBPCPAGEPCWORDCorrespondingZ-value (1)Description13 Most significant bit in the Program Counter. (TheProgram Counter is 14 bits PC[13:0])5 Most significant bit which is used to address thewords within one page (64 words in a page requires6 bits PC [5:0]).Z14Z6Bit in Z-register that is mapped to PCMSB. BecauseZ0 is not used, the ZPCMSB equals PCMSB + 1.Bit in Z-register that is mapped to PAGEMSB.Because Z0 is not used, the ZPAGEMSB equalsPAGEMSB + 1.PC[13:6] Z14:Z7 Program Counter page address: Page select, forpage erase and page writePC[5:0] Z6:Z1 Program Counter word address: Word select, forfilling temporary buffer (must be zero during pagewrite operation)Note: 1. Z15: always ignoredZ0: should be zero for all SPM commands, byte select for the LPM instruction.See “Addressing the Flash during Self-Programming” on page 257 for details about the use ofZ-pointer during Self-Programming.8155C–AVR–02/11264

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!