280
CHAPTER 18
µ
PD78F0034BS
Preliminary User’s Manual U16035EJ1V0UM
18.2 Flash Memory Programming
On-board writing of flash memory (with device mounted on target system) is supported.
On-board writing is done after connecting a dedicated flash programmer (Flashpro III (FL-PR3, PG-FP3)) to the
host machine and target system.
Moreover, writing to flash memory can also be performed using a flash memory writing adapter connected to
Flashpro III.
Remark
FL-PR3 is a product of Naito Densei Machida Mfg. Co., Ltd.
18.2.1 Selection of communication mode
Writing to flash memory is performed using Flashpro III and serial communication. Select the communication mode
for writing from Table 18-3. For the selection of the communication mode, a format like the one shown in Figure 18-
2 is used. The communication modes are selected with the V
PP
pulse numbers shown in Table 18-3.
Table 18-3. Communication Mode List
Communication Mode
Number of Channels
Pin Used
Note
Number of V
PP
Pulses
3-wire serial I/O
1
SI30/P20
0
SO30/P21
SCK30/P22
SI30/P20
3
SO30/P21
SCK30/P22
HS/P25
3-wire serial I/O
1
SI31/P34
1
SO31/P35
SCK31/P36
UART
1
RxD0/P23
8
TxD0/P24
Pseudo 3-wire serial I/O
1
P72/TI50/TO50
12
(Serial clock input)
P71/TI01
(Serial data output)
P70/TI00/TO0
(Serial data input)
Note
When the flash memory programming mode is entered, all pins that are not used for flash memory
programming become the same status as the status immediately after reset. Therefore, when the external
device connected to each port does not acknowledge the port status immediately after reset, pin connections
such as connecting to V
DD0
or V
DD1
via a resistor or connecting to V
SS0
or V
SS1
via a resistor are required.
Cautions 1. Be sure to select the number of V
PP
pulses shown in Table 18-3 for the communication mode.
2. If performing write operations to flash memory with the UART communication mode, set the
main system clock oscillation frequency to 3 MHz or higher.