Datasheet

CHAPTER 24 FLASH MEMORY
User’s Manual U18698EJ1V0UD
511
24.3 Programming Environment
The environment required for writing a program to the flash memory of the 78K0/LC3 is illustrated below.
Figure 24-3. Environment for Writing Program to Flash Memory
RS-232C
USB
78K0/LC3
FLMD0
V
DD
VSS
RESET
UART6
Host machine
Dedicated flash
memory programmer
PG-FP4
(Flash Pro4)
Cxxxxxx
Bxxxxx
Axxxx
XXX YYY
XXXXX
XXXXXX
XXXX
XXXX YYYY
STATVE
A host machine that controls the dedicated flash memory programmer is necessary.
To interface between the dedicated flash memory programmer and the 78K0/LC3, UART6 is used for manipulation
such as writing and erasing. To write the flash memory off-board, a dedicated program adapter (FA series) is
necessary.
24.4 Communication Mode
Communication between the dedicated flash memory programmer and the 78K0/LC3 is established by serial
communication via UART6 of the 78K0/LC3.
• UART6
Transfer rate: 115200 bps
Figure 24-4. Communication with Dedicated Flash memory programmer (UART6)
V
DD
/AV
REF
V
SS
/AV
SS
RESET
TxD6
RxD6
V
DD
GND
/RESET
SI/RxD
SO/TxD
EXCLK
Note
CLK
Note
Dedicated flash
memory programmer
PG-FP4
(Flash Pro4)
Cxxxxxx
Bxxxxx
Axxxx
XXX YYY
XXXXX
XXXXXX
XXXX
XXXX YYYY
STATVE
FLMD0 FLMD0
78K0/LC3
Note The above figure illustrates an example of wiring when using the clock output from the PG-FP4 or FL-PR4.
When using the clock output from the PG-FPL3 or FP-LITE3, connect CLK to X1/P121, and connect its
inverted signal to X2/EXCLK/P122.
X1CLK
X2
Caution Only the bottom side pins (pin numbers 23 and 24) correspond to the UART6 pins (RxD6 and
TxD6) when writing by a flash memory programmer. Writing cannot be performed by the top side
pins (pin numbers 48 and 47).