AT32UC3C1512C Automotive Atmel Corporation, AT32UC3C1512C Automotive Datasheet - Page 159
AT32UC3C1512C Automotive
Manufacturer Part Number
AT32UC3C1512C Automotive
Description
Manufacturer
Atmel Corporation
Datasheets
1.AT90CAN128_AUTOMOTIVE.pdf
(225 pages)
2.AT32UC3C0512C_AUTOMOTIVE.pdf
(1312 pages)
3.AT32UC3C0512C_AUTOMOTIVE.pdf
(107 pages)
- AT90CAN128_AUTOMOTIVE PDF datasheet
- AT32UC3C0512C_AUTOMOTIVE PDF datasheet #2
- AT32UC3C0512C_AUTOMOTIVE PDF datasheet #3
- Current page: 159 of 225
- Download datasheet (4Mb)
20.3
20.4
7701E–AVR–02/11
Performing a Page Write
Addressing the Flash During Self-Programming
To execute a page write, set up the address in the Z-pointer, write "00000101" to SPMCSR,
and execute SPM within four clock cycles after writing SPMCSR. The data in R1 and R0 are
ignored. The page address must be written to PCPAGE. Other bits in the Z-pointer must be
written to zero during this operation.
The CPU is halted during the page write operation.
The Z-pointer is used to address the SPM commands.
Because the Flash is organized in pages (see
can be treated as having two different sections. One section, consisting of the least significant
bits, is addressing the words within a page, while the most significant bits are addressing the
pages. This is shown in
operations are addressed independently. Therefore it is of major importance that the software
addresses the same page in both the Page Erase and Page Write operation.
The LPM instruction uses the Z-pointer to store the address. Because this instruction
addresses the flash byte-by-byte, the LSB (bit Z0) of the Z-pointer is also used.
Figure 20-1. Addressing the Flash During SPM
Note:
Bit
ZH (R31)
ZL (R30)
Z - REGISTER
1. The different variables used in
PROGRAM MEMORY
BIT
PAGE
PROGRAM
COUNTER
15
Z15
15
Z7
7
PAGE ADDRESS
WITHIN THE FLASH
ZPCMSB
PCMSB
Figure 21-1 on page
Z14
14
Z6
6
Atmel ATtiny24/44/84 [Preliminary]
PCPAGE
Z13
Z5
13
5
Figure 20-1
ZPAGEMSB
PAGEMSB
PCWORD
Z12
12
Z4
4
167. Note that the Page Erase and Page Write
Table 21-7 on page
WORD ADDRESS
WITHIN A PAGE
(1)
are listed in
1
Z11
0
0
11
Z3
3
INSTRUCTION WORD
PAGE
Table 21-7 on page
Z10
10
Z2
2
166), the Program Counter
Z9
Z1
9
1
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
166.
Z8
Z0
8
0
159
Related parts for AT32UC3C1512C Automotive
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: