AT90PWM216-16SE ATMEL [ATMEL Corporation], AT90PWM216-16SE Datasheet - Page 279

no-image

AT90PWM216-16SE

Manufacturer Part Number
AT90PWM216-16SE
Description
8-bit Microcontroller with 16K Bytes In-System Programmable flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
24.7.13
7710D–AVR–08/09
Boot Loader Parameters
In
ming are given.
Table 24-6.
Note:
Table 24-7.
BOOTSZ1
Section
Read-While-Write section (RWW)
No Read-While-Write section (NRWW)
Table 24-6
Return:
Do_spm:
Wait_spm:
Wait_ee:
1
1
0
0
in
sbrs temp1, RWWSB
ret
; re-enable the RWW section
ldi
call Do_spm
rjmp Return
; check for previous SPM complete
in
sbrc temp1, SPMEN
rjmp Wait_spm
; input: spmcrval determines SPM action
; disable interrupts if enabled, store status
in
cli
; check that no EEPROM write access is present
sbic EECR, EEPE
rjmp Wait_ee
; SPM timed sequence
out
spm
; restore SREG (to enable interrupts if originally enabled)
out
ret
The different BOOTSZ Fuse configurations are shown in
temp1, SPMCSR
spmcrval, (1<<RWWSRE) | (1<<SPMEN)
temp1, SPMCSR
temp2, SREG
SPMCSR, spmcrval
SREG, temp2
BOOTSZ0
through
Boot Size Configuration
Read-While-Write Limit
1
0
1
0
Table
Boot
Size
256
words
512
words
1024
words
2048
words
24-8, the parameters used in the description of the self program-
; If RWWSB is set, the RWW section is not ready yet
Pages
16
32
4
8
Application
Flash
Section
0x0000 -
0x1EFF
0x0000 -
0x1DFF
0x0000 -
0x1BFF
0x0000 -
0x17FF
Boot
Loader
Flash
Section
0x1F00 -
0x1FFF
0x1E00 -
0x1FFF
0x1C00 -
0x1FFF
0x1800 -
0x1FFF
Figure
Pages
AT90PWM216/316
96
32
24-2.
End
Application
Section
0x1EFF
0x1DFF
0x1BFF
0x17FF
Address
0x0000 - 0x17FF
0x1800 - 0x1FFF
Boot Reset
Address
(Start Boot
Loader
Section)
0x1F00
0x1E00
0x1C00
0x1800
279

Related parts for AT90PWM216-16SE