
R8C/14 Group, R8C/15 Group 18. Flash Memory Version
Rev.2.10 Jan 19, 2006 Page 212 of 253
REJ09B0164-0210
18.5 Standard Serial I/O Mode
In standard serial I/O mode, the user ROM area can be rewritten while the microcomputer is mounted
on-board by using a serial programmer which is applicable for this microcomputer.
Standard serial I/O mode is used to connect with a serial writer using a special clock asynchronous serial
I/O.
There are three types of Standard serial I/O modes:
•Standard serial I/O mode 1.......... Clock synchronous serial I/O used to connect with a serial
programmer
•Standard serial I/O mode 2.......... Clock asynchronous serial I/O used to connect with a serial
programmer
•Standard serial I/O mode 3.......... Special clock asynchronous serial I/O used to connect with a serial
programmer
This microcomputer uses Standard serial I/O mode 2 and Standard serial I/O mode 3.
Refer to
Appendix 2. Connecting Example between Serial Writer and On-Chip Debugging
Emulator.
Contact the manufacturer of your serial programmer for serial programmer. Refer to the
user’s manual of your serial programmer for details on how to use it.
Table 18.7 lists the Pin Functions (Flash Memory Standard Serial I/O Mode 2), Table 18.8 lists the Pin
Functions (Flash Memory Standard Serial I/O Mode 3). Figure 18.15 show Pin Connections for Standard
Serial I/O Mode 3.
After processing the pins shown in Table 18.8 and rewriting a flash memory using a writer, apply “H” to
the MODE pin and reset a hardware if a program is operated on the flash memory in single-chip mode.
18.5.1 ID Code Check Function
The ID code check function determines whether the ID codes sent from the serial programmer and
those written in the flash memory match (refer to
18.3 Functions To Prevent Flash Memory from
Rewriting
).
Table 18.7 Pin Functions (Flash Memory Standard Serial I/O Mode 2)
Pin Name I/O Description
VCC,VSS Power input Apply the voltage guaranteed for program and erase to
VCC pin and 0V to VSS pin.
RESET
Reset input I Reset input pin.
P4_6/XIN P4_6 input/clock input I Connect ceramic resonator or crystal oscillator
between XIN and XOUT pins.
P4_7/XOUT P4_7 input/clock output I/O
AVCC, AVSS Analog power supply input I Connect AVSS to VSS and AVCC to VCC, respectively.
P1_0 to P1_7 Input port P1 I Input “H” or “L” level signal or leave the pin open.
VREF Reference voltage input I Reference voltage input pin to A/D converter.
P3_3 to P3_5 Input port P3 I Input “H” or “L” level signal or leave the pin open.
MODE MODE I/O Input “L”.
P3_7 TXD output O Serial data output pin.
P4_5 RXD input I Serial data input pin.
Komentáře k této Příručce