On-Board Programming Modes; Table 6.8 Setting Programming Modes - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

6.7

On-Board Programming Modes

There are two modes for programming/erasing of the flash memory; boot mode, which enables on-
board programming/erasing, and programmer mode, in which programming/erasing is performed
with a PROM programmer. On-board programming/erasing can also be performed in user
program mode. At reset-start in reset mode, the device changes to a mode depending on the TEST
pin settings, P24 pin settings, and input level of each port, as shown in table 6.8. The input level of
each pin must be defined four states before the reset ends.
When changing to boot mode, the boot program built into this LSI is initiated. The boot program
transfers the programming control program from the externally-connected host to on-chip RAM
via SCI32. After erasing the entire flash memory, the programming control program is executed.
This can be used for programming initial values in the on-board state or for a forcible return when
programming/erasing can no longer be done in user program mode. In user program mode,
individual blocks can be erased and programmed by branching to the user program/erase control
program prepared by the user.
Table 6.8
Setting Programming Modes
TEST
P24
P26
0
1
X
0
0
1
1
X
X
X: Don't care
PB0
PB1
PB2
X
X
X
X
X
X
0
0
0
LSI State after Reset End
User Mode
Boot Mode
Programmer Mode
Rev. 6.00 Aug 04, 2006 page 177 of 680
Section 6 ROM
REJ09B0145-0600

Advertisement

Table of Contents
loading

Table of Contents