Rainbow-electronics ATmega128L Manual de usuario Pagina 269

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 331
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 268
269
ATmega128(L)
2467B09/01
Note: 1. 1 means unprogrammed, 0 means programmed
Note: 1. 1 means unprogrammed, 0´means programmed
Entering the Boot Loader
Program
Entering the Boot Loader takes place by a jump or call from the application program.
This may be initiated by a trigger such as a command received via USART, or SPI inter-
face. Alternatively, the Boot Reset Fuse can be programmed so that the reset vector is
pointing to the Boot Flash start address after a reset. In this case, the Boot Loader is
started after a reset. After the application code is loaded, the program can start execut-
ing the application code. Note that the fuses cannot be changed by the MCU itself. This
means that once the Boot Reset Fuse is programmed, the Reset Vector will always
point to the Boot Loader Reset and the fuse can only be changed through the serial or
parallel programming interface.
Note: 1. 1 means unprogrammed, 0´means programmed
Table 109. Boot Lock Bit0 Protection Modes (Application Section)
(1)
BLB0 mode BLB02 BLB01 Protection
111
No restrictions for SPM or LPM accessing the Application
section.
2 1 0 SPM is not allowed to write to the Application section.
300
SPM is not allowed to write to the Application section, and
LPM executing from the Boot Loader section is not
allowed to read from the Application section. If interrupt
vectors are placed in the Boot Loader section, interrupts
are disabled while executing from the Application section.
401
LPM executing from the Boot Loader section is not
allowed to read from the Application section. If interrupt
vectors are placed in the Boot Loader section, interrupts
are disabled while executing from the Application section.
Table 110. Boot Lock Bit1 Protection Modes (Boot Loader Section)
(1)
BLB1 mode BLB12
BLB1
1Protection
111
No restrictions for SPM or LPM accessing the Boot Loader
section.
2 1 0 SPM is not allowed to write to the Boot Loader section.
300
SPM is not allowed to write to the Boot Loader section,
and LPM executing from the Application section is not
allowed to read from the Boot Loader section. If interrupt
vectors are placed in the Application section, interrupts are
disabled while executing from the Boot Loader section.
401
LPM executing from the Application section is not allowed
to read from the Boot Loader section. If interrupt vectors
are placed in the Application section, interrupts are
disabled while executing from the Boot Loader section.
Table 111. Boot Reset Fuse
(1)
BOOTRST Reset Address
1 Reset Vector = Application reset (address $0000)
0 Reset Vector = Boot Loader reset (see Table 113 on page 277)
Vista de pagina 268
1 2 ... 264 265 266 267 268 269 270 271 272 273 274 ... 330 331

Comentarios a estos manuales

Sin comentarios