Standard Serial I/O Mode; Id Code Check Function - Renesas R8C/18 Series Hardware Manual

16-bit single-chip mcu
Table of Contents

Advertisement

R8C/18 Group, R8C/19 Group
17.5

Standard Serial I/O Mode

In standard serial I/O mode, the user ROM area can be rewritten while the MCU is mounted on-board by
using a serial programmer which is suitable for the MCU.
Standard serial I/O mode is used to connect with a serial programmer using a special clock
asynchronous serial I/O.
There are three standard serial I/O modes:
Standard serial I/O mode 1.......... Clock synchronous serial I/O used to connect with a serial
Standard serial I/O mode 2.......... Clock asynchronous serial I/O used to connect with a serial
Standard serial I/O mode 3.......... Special clock asynchronous serial I/O used to connect with a serial
This MCU uses standard serial I/O mode 2 and standard serial I/O mode 3.
Refer to Appendix 2. Connection Examples between Serial Writer and On-Chip Debugging
Emulator. Contact the manufacturer of your serial programmer for additional information. Refer to the
user's manual of your serial programmer for details on how to use it.
Table 17.7 lists the Pin Functions (Flash Memory Standard Serial I/O Mode 2), Table 17.8 lists the Pin
Functions (Flash Memory Standard Serial I/O Mode 3). Figure 17.16 shows Pin Connections for
Standard Serial I/O Mode 3.
After processing the pins shown in Table 17.8 and rewriting the flash memory using a programmer, apply
"H" to the MODE pin and reset the hardware to run a program in the flash memory in single-chip mode.
17.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 17.3 Functions to Prevent Rewriting of Flash
Memory).
Table 17.7
Pin Functions (Flash Memory Standard Serial I/O Mode 2)
Pin
VCC,VSS
Power input
Reset input
RESET
P4_6/XIN
P4_6 input/clock input
P4_7/XOUT
P4_7 input/clock output
AVCC, AVSS
Analog power supply input I
P1_0 to P1_7
Input port P1
P3_3 to P3_5
Input port P3
P4_2/VREF
Input port P4
MODE
MODE
P3_7
TXD output
P4_5
RXD input
Rev.1.30
Apr 14, 2006
REJ09B0222-0130
programmer
programmer
programmer
Name
I/O
I
I
I/O
I
I
I
I/O Input "L".
O
I
Page 195 of 233
Description
Apply the voltage guaranteed for programming and
erasure to the VCC pin and 0 V to the VSS pin.
Reset input pin.
Connect a ceramic resonator or crystal oscillator
between pins XIN and XOUT.
Connect AVSS to VSS and AVCC to VCC, respectively.
Input "H" or "L" level signal or leave the pin open.
Input "H" or "L" level signal or leave the pin open.
Input "H" or "L" level signal or leave the pin open.
Serial data output pin.
Serial data input pin.
17. Flash Memory Version

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/1 seriesR8c seriesR8c/19 series

Table of Contents