Download Print this page

On-Board Programming Mode - Renesas H8S Family Hardware Manual

Advertisement

Initial
Value
Bit
Bit Name
3
EB
2, 1
0
SF
25.4

On-Board Programming Mode

When the pin is set in on-board programming mode and the reset start is executed, the on-board
programming state that can program/erase the on-chip flash memory is entered. On-board
programming mode has three operating modes: boot mode, user program mode, and user boot
mode.
For details of the pin setting for entering each mode, see table 25.5. For details of the state
transition of each mode for flash memory, see figure 25.2.
Table 25.5 Setting On-Board Programming Mode
Mode Setting
Boot mode
SCI_1
USB
User program mode
User boot mode
Note:
* Before downloading the programming/erasing programs, the FLSHE bit must be set to
1 to transition to user program mode.
R/W
Description
R/W
Erase Block Select Error Detect
Returns the check result whether the specified erase-
block number is in the block range of the user MAT.
0: Setting of erase-block number is normal
1: Setting of erase-block number is abnormal
Unused
Return 0.
R/W
Success/Fail
Indicates whether the erasing processing is ended
normally or not.
0: Erasure is ended normally (no error)
1: Erasure is ended abnormally (error occurs)
MD2
FWE
1
0
1
0
1*
1
1
0
Section 25 Flash Memory
MD1
NMI
0
1
0
1
1
0/1
0
0
Rev. 1.00 Mar. 12, 2008 Page 947 of 1178
PF5
0
1
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472