Atmel AT90PWM2 Manual page 277

8-bit avr microcontroller with 8k bytes in-system programmable flash
Table of Contents

Advertisement

24.7.13
Boot Loader Parameters
AT90PWM2/3/2B/3B
278
Do_spm:
; check for previous SPM complete
Wait_spm:
in
temp1, SPMCSR
sbrc temp1, SPMEN
rjmp Wait_spm
; input: spmcrval determines SPM action
; disable interrupts if enabled, store status
in
temp2, SREG
cli
; check that no EEPROM write access is present
Wait_ee:
sbic EECR, EEPE
rjmp Wait_ee
; SPM timed sequence
out
SPMCSR, spmcrval
spm
; restore SREG (to enable interrupts if originally enabled)
out
SREG, temp2
ret
In
Table 24-6
through
Table
ming are given.
Table 24-6.
Boot Size Configuration
BOOTSZ1
BOOTSZ0
1
1
1
0
0
1
0
0
Note:
The different BOOTSZ Fuse configurations are shown in
Table 24-7.
Read-While-Write Limit
Section
Read-While-Write section (RWW)
No Read-While-Write section (NRWW)
24-8, the parameters used in the description of the self program-
Application
Boot
Flash
Size
Pages
Section
128
0x000 -
4
words
0xF7F
256
0x000 -
8
words
0xEFF
512
0x000 -
16
words
0xDFF
1024
0x000 -
32
words
0xBFF
Boot
Loader
End
Flash
Application
Section
Section
0xF80 -
0xF7F
0xFFF
0xF00 -
0xEFF
0xFFF
0xE00 -
0xDFF
0xFFF
0xC00 -
0xBFF
0xFFF
Figure
24-2.
Pages
Address
96
0x000 - 0xBFF
32
0xC00 - 0xFFF
Boot Reset
Address
(Start Boot
Loader
Section)
0xF80
0xF00
0xE00
0xC00
4317I–AVR–01/08

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AT90PWM2 and is the answer not in the manual?

This manual is also suitable for:

At90pwm3At90pwm2bAt90pwm3b

Table of Contents