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

16-bit single-chip microcomputer
Hide thumbs Also See for R8C Series:
Table of Contents

Advertisement

R8C/1A Group, R8C/1B Group
18.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 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
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 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.17 shows Pin Connections for Standard Serial I/O Mode 3.
After processing the pins shown in Table 18.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.
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 Rewriting of Flash Memory).
Table 18.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
Dec 08, 2006
REJ09B0252-0130
programmer
Name
I/O
I
I
I/O
I
I
I
I/O Input "L".
O
I
Page 269 of 315
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.
18. Flash Memory

Advertisement

Table of Contents
loading

Table of Contents