Rainbow-electronics ATmega128L Uživatelský manuál Strana 268

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 331
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 267
268
ATmega128(L)
2467B09/01
Figure 133. Memory Sections
(1)
Note: 1. The parameters in the figure above are given in Table on page 277.
Boot Loader Lock Bits If no Boot Loader capability is needed, the entire Flash is available for application code.
The Boot Loader has two separate sets of Boot Lock Bits which can be set indepen-
dently. This gives the user a unique flexibility to select different levels of protection.
The user can select:
To protect the entire Flash from a software update by the MCU
To protect only the Boot Loader Flash section from a software update by the MCU
To protect only the Application Flash section from a software update by the MCU
Allow software update in the entire Flash
See
Table 109 and Table 110 for further details. The Boot Lock bits can be set in soft-
ware and in Serial or Parallel Programming mode, but they can be cleared by a chip
erase command only. The general Write Lock (Lock Bit Mode 2) does not control the
programming of the Flash memory by SPM instruction. Similarly, the general
Read/Write Lock (Lock Bit Mode 1) does not control reading nor writing by LPM/SPM, if
it is attempted.
$0000
Flashend
Program Memory
BOOTSZ = '11'
Application Flash Section
Boot Loader Flash Section
Flashend
Program Memory
BOOTSZ = '10'
$0000
Program Memory
BOOTSZ = '01'
Program Memory
BOOTSZ = '00'
Application Flash Section
Boot Loader Flash Section
$0000
Flashend
Application Flash Section
Flashend
End RWW
Start NRWW
Application flash Section
Boot Loader Flash Section
Boot Loader Flash Section
End RWW
Start NRWW
End RWW
Start NRWW
$0000
End RWW, End Application
Start NRWW, Start Boot Loader
Application Flash SectionApplication Flash Section
Application Flash Section
Read While Write SectionNo Read While Write Section
Read While Write SectionNo Read While Write Section
Read While Write SectionNo Read While Write SectionRead While Write SectionNo Read While Write Section
End Application
Start Boot Loader
End Application
Start Boot Loader
End Application
Start Boot Loader
Zobrazit stránku 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 330 331

Komentáře k této Příručce

Žádné komentáře