238
Chapter 6
Flash Memory
Preliminary User’s Manual U17566EE1V2UM00
6.4 Flash Programming with Flash Programmer
A dedicated flash programmer can be used for on-board or off-board writing of
the flash memory.
(1)
On-board programming
The contents of the flash memory can be rewritten with the microcontroller
mounted on the target system. Mount a connector that connects the flash
programmer on the target system.
A CSI or a UART interface can optionally be used for the communication
between the external flash programmer and the V850 microcontroller.
All signals, including clock and power supply, can be provided by the external
flash programmer. However, an on-board clock to the X1 input may be used
instead of the clock, provided by the flash programmer.
(2)
Off-board programming
The flash memory of the microcontroller can be written before the device is
mounted on the target system, by using a dedicated program adapter
(FA series).
All signals, including clock and power supply, are provided by the external flash
programmer.
Note
The FA series is a product of Naito Densei Machida Mfg. Co., Ltd.
6.4.1
Programming environment
The necessary environment to write a program to the flash memory of the
microcontroller is shown below.
Figure 6-6
Environment to write program to flash memory
A host machine is required for controlling the flash programmer.
Following microcontroller serial interfaces can be used as the interface
between the flash programmer and the microcontroller:
• asynchroneous serial interface UART
• clocked serial interface CSIB
Note: FLMD1 connection may be replaced by a pull-down resistor on the board
Ho
s
t m
a
chine
R
S
-2
3
2-C
U
S
B
fl
as
h progr
a
mmer
FLMD0 (FLMD1
Note
)
V
SS
V
DD
RE
S
ET
UART/C
S
IB
PG-FP4
(Fl
as
h Pro4)
Cxxxxxx
Bxxxxx
Axxxx
X
X
X
Y
Y
Y
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Y
Y
Y
Y
S
TAT VE
V
8
50
microcontroller
H
S
electronic components distributor