48
4958B–AUTO–11/10
Atmel ATA6285/ATA6286 [Preliminary]
Table 3-17 shows reset and Interrupt Vectors placement for the various combinations of
BOOTRST and IVSEL settings. If the program never enables an interrupt source, the Interrupt
Vectors are not used, and regular program code can be placed at these locations. This is also
the case if the Reset Vector is in the Application section while the Interrupt Vectors are in the
Boot section or vice versa.
3.10.2
Moving Interrupts Between Application and Boot Space
The General Interrupt Control register controls the placement of the Interrupt Vector table.
3.10.2.1
MCU Control Register - MCUCR
Bits 7..5 - Res: Reserved Bits
These bits are reserved bits at the ATA6289 and will always read as zero.
Bit 4 - PUD: Pull-Up Disable
This bit is described in the I/O-Port section.
Bits 3..2 - Res: Reserved Bits
These bits are reserved bits at the ATA6289 and will always read as zero.
Bit 1 - IVSEL: Interrupt Vector Select
When the IVSEL bit is cleared (zero), the Interrupt Vectors are placed at the start of the Flash
memory. When this bit is set (one), the Interrupt Vectors are moved to the beginning of the Boot
Loader section of the Flash. The actual address of the start of the Boot Flash Section is deter-
tables, a special write procedure must be followed to change the IVSEL bit:
Write the Interrupt Vector Change Enable (IVCE) bit to one.
Within four cycles, write the desired value to IVSEL while writing a zero to IVCE.
Interrupts will automatically be disabled while this sequence is executed. Interrupts are disabled
in the cycle IVCE is set, and they remain disabled until after the instruction following the write to
IVSEL. If IVSEL is not written, interrupts remain disabled for four cycles. The I-bit in the Status
Register is unaffected by the automatic disabling.
Table 3-17.
Reset and Interrupt Vectors Placement in ATA6289(1)
BOOTRST
IVSEL
Reset Address
Interrupt Vectors Start Address
1
0
0x0000
0x0001
1
0x0000
Boot Reset Address + 0x0001
0
Boot Reset Address
0x0001
0
1
Boot Reset Address
Boot Reset Address + 0x0001
Note:
1. For the BOOTRST Fuse
“1” means unprogrammed while “0” means programmed.
Bit
765
43
21
0
-
PUD
-
IVSEL
IVCE
MCUCR
Read/Write
R
R/W
R
R/W
Initial Value
000
00
0