Datasheet

78K0/Kx2-L CHAPTER 25 FLASH MEMORY
R01UH0028EJ0400 Rev.4.00 701
Sep 27, 2010
25.3 Programming Environment
The environment required for writing a program to the flash memory of the 78K0/Kx2-L microcontrollers are illustrated
below.
Figure 25-2. Environment for Writing Program to Flash Memory
(1) When using the TOOLC0 and TOOLD0 pins
RS-232-C
USB
FlashPro5
QB-MINI2
RESET
CLK
SI
SO
DATA
Note
GND
/RESET
TOOLD0
TOOLC0
Host machine
Dedicated flash
memory programmer
78K0/Kx2-L
microcontrollers
V
DD
V
SS
V
DD
(2) When using the TOOLC1 and TOOLD1 pins
RS-232-C
USB
FlashPro5
QB-MINI2
Host machine
Dedicated flash
memory programmer
78K0/Kx2-L
microcontrollers
RESET
SI
SO
DATA
Note
GND
/RESET
TOOLD1
V
DD
V
SS
V
DD
CLK
TOOLC1
Note QB-MINI2 only
A host machine that controls the dedicated flash memory programmer is necessary.
To interface between the dedicated flash memory programmer and the 78K0/Kx2-L microcontrollers, the TOOLD0 or
TOOLD1 pins is used for manipulation such as writing and erasing via a dedicated single-line UART. To write the flash
memory off-board, a dedicated program adapter (FA series) is necessary.
Table 25-2. Pin Connection
Dedicated Flash memory programmer 78K0/Kx2-L microcontrollers
Signal Name I/O Pin Function Pin Name
CLK Output Clock output to 78K0/Kx2-L microcontrollers TOOLC0/TOOLC1
SI Input Receive signal
SO Output Transmit signal
DATA
Note
I/O Input/output signal for data communication during
debugging
TOOLD0/TOOLD1
/RESET Output Reset signal RESET
VDD I/O VDD voltage generation/power monitoring VDD
GND
Ground VSS
Note QB-MINI2 only