Renesas M16C/6NK Informações Técnicas Página 288

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 412
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 287
Rev.2.10 Apr 14, 2006 page 264 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 21. Flash Memory Version
Item EW0 Mode EW1 Mode
Operating mode Single-chip mode Single-chip mode
Memory expansion mode
(3)
Boot mode
Space where rewrite User ROM area User ROM area
control program can be Boot ROM area
placed
Space where rewrite The rewrite control program must be The rewrite control program can be
control program can be transferred to any space other than the executed in the user ROM area
executed flash memory (e.g., RAM) before being
executed
(2)
Space which can be User ROM area User ROM area
rewritten However, this excludes blocks with the
rewrite control program
Software command None Program and block erase commands
restriction cannot be executed in a block having
the rewrite control program.
Erase all unlocked block command
cannot be executed when the lock bit in
a block having the rewrite control program
is set to 1 (unlocked) or when the FMR02
bit in the FMR0 register is set to 1 (lock
bit disabled).
Read status register command cannot
be used.
Modes after program or Read status register mode Read array mode
erasing
CPU status during Operating Maintains hold state (I/O ports maintains
auto-programming and the state before the command was
auto-erasure executed)
(1)
Flash memory status Read bits FMR00, FMR06, and FMR07 Read bits FMR00, FMR06, and FMR07
detection in the FMR0 register by program in the FMR0 register by program
Execute the read status register
command to read bits SR7, SR5, and
SR4 in the status register
21.3 CPU Rewrite Mode
In CPU rewrite mode, the user ROM area can be rewritten when the CPU executes software commands.
The user ROM area can be rewritten with the MCU is mounted on a board without using a parallel, serial or
CAN programmer.
In CPU rewrite mode, only the user ROM area shown in Figure 21.1 can be rewritten. The boot ROM area
cannot be rewritten. Program and the block erase command are executed only in the user ROM area.
Erase-write 0 (EW0) mode and erase-write 1 (EW1) mode are provided as CPU rewrite mode.
Table 21.3 lists the differences between EW0 and EW1 Modes.
Table 21.3 EW0 Mode and EW1 Mode
NOTES:
1.
_______
Do not generate an interrupts (except NMI interrupt) and DMA transfer.
2. When in CPU rewrite mode, bits PM10 and PM13 in the PM1 register are set to 1. The rewrite control
program can only be executed in the internal RAM or in an external area that is enabled for use when
the PM13 bit = 1.
3. Not available in T/V-ver..
Vista de página 287
1 2 ... 283 284 285 286 287 288 289 290 291 292 293 ... 411 412

Comentários a estes Manuais

Sem comentários