A000047 Arduino, A000047 Datasheet - Page 328

MCU, MPU & DSP Development Tools Mega2560

A000047

Manufacturer Part Number
A000047
Description
MCU, MPU & DSP Development Tools Mega2560
Manufacturer
Arduino
Series
-r
Type
MCUr
Datasheets

Specifications of A000047

Processor To Be Evaluated
ATmega2560
Interface Type
USB, I2C, SPI
Dimensions
4 in x 2.1 in
Operating Supply Voltage
5 V
Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
ATmega2560
28.6.14
2549M–AVR–09/10
ATmega640 Boot Loader Parameters
In
Self-Programming are given.
Table 28-7.
Note:
Table 28-7
Return:
Do_spm:
Wait_spm:
Wait_ee:
1
1
0
0
; return to RWW section
; verify that RWW section is safe to read
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
1
0
1
0
through
Boot Size Configuration, ATmega640
words
words
words
words
1024
2048
4096
512
Table 28-9 on page
16
32
ATmega640/1280/1281/2560/2561
; If RWWSB is set, the RWW section is not ready yet
4
8
0x0000 -
0x7DFF
0x0000 -
0x7BFF
0x0000 -
0x77FF
0x0000 -
0x6FFF
329, the parameters used in the description of the
(Note:)
0x7E00 -
0x7FFF
0x7C00 -
0x7FFF
0x7800 -
0x7FFF
0x7000 -
0x7FFF
Figure 28-2 on page
0x7DFF
0x7BFF
0x77FF
0x6FFF
320.
0x7E00
0x7C00
0x7800
0x7000
328

Related parts for A000047