Flash Memory Programming; Selection Of Communication Mode - NEC 78K0/KD1 Series User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

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.
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
Table 25-3.
Communication Mode
3-wire serial I/O
UART (UART0)
UART (UART6)
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
acknowledged by external devices.
Caution Be sure to select the number of V
386
CHAPTER 25 µ µ µ µ PD78F0124
Table 25-3. Communication Mode List
Number of Channels
1
1
1
or V
via a resistor is required if the output high-impedance state is not
DD
SS
pulses shown in Table 25-3 for the communication mode.
PP
Preliminary User's Manual U16315EJ1V0UD
Note
Pin Used
Number of V
SCK10/TxD0/P10
SI10/RxD0/P11
SO10/P12
SCK10/TxD0/P10
SI10/RxD0/P11
SO10/P12
HS/P15/TOH0
TxD0/SCK10/P10
RxD0/SI10/P11
TxD0/SCK10/P10
RxD0/SI10/P11
HS/P15/TOH0
TxD6/P13
RxD6/P14
Select the
pulses shown in
PP
Pulses
PP
0
3
8
11
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents