CHAPTER 25
µµµµ
PD78F0124
Preliminary User’s Manual U16315EJ1V0UD
386
25.2 Flash Memory Programming
On-board writing of flash memory (with device mounted on target system) is supported.
On-board writing is performed after connecting a dedicated flash programmer (Flashpro III (FL-PR3, PG-
FP3)/Flashpro IV (FL-PR4, PG-FP4)) 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/Flashpro IV.
Remarks 1.
FL-PR3 and FL-PR4 are products of Naito Densei Machida Mfg. Co., Ltd.
2.
USB is supported only by Flashpro IV.
25.2.1 Selection of communication mode
Writing to flash memory is performed using Flashpro III/Flashpro IV and serial communication. Select the
communication mode for writing from Table 25-3. For the selection of the communication mode, a format like the one
shown in Figure 25-2 is used. The communication mode is selected according to the number of V
PP
pulses shown in
Table 25-3.
Table 25-3. Communication Mode List
Communication Mode
Number of Channels
Pin Used
Note
Number of V
PP
Pulses
SCK10/TxD0/P10
SI10/RxD0/P11
SO10/P12
0
3-wire serial I/O
1
SCK10/TxD0/P10
SI10/RxD0/P11
SO10/P12
HS/P15/TOH0
3
TxD0/SCK10/P10
RxD0/SI10/P11
8
UART (UART0)
1
TxD0/SCK10/P10
RxD0/SI10/P11
HS/P15/TOH0
11
UART (UART6)
1
TxD6/P13
RxD6/P14
9
Note
After shifting to flash memory programming mode, all pins not used for flash memory programming are set
to the same state as after reset. Therefore, since all ports become output high-impedance, pin processing,
such as connecting to V
DD
or V
SS
via a resistor is required if the output high-impedance state is not
acknowledged by external devices.
Caution
Be sure to select the number of V
PP
pulses shown in Table 25-3 for the communication mode.