INTERNAL MEMORY
6.7 Connecting to A Serial Programmer
6
The diagram below shows an example of a user system configuration which has had a serial programmer con-
nected. After the user system is powered on, the serial programmer writes to the internal flash memory in clock-
synchronized serial mode. No communication problems associated with the oscillator frequency may occur. If the
system uses any pins that are to be connected to a serial programmer, care must be taken to prevent adverse
effects on the system when a serial programmer is connected. Note that the serial programmer uses the ad-
dresses H’0000 0084 through H’0000 008F as an area in which to check the ID for flash memory protection. If the
internal flash memory needs to be protected, set any ID in this area.
User system board
Connect to the VCCE (5 or 3.3 V)
power supply rail
VCCE
VDDE
OSC-VCC
Connect to
the user
system power
supply rail
AVCC0, AVCC1
Main power supply
Connect to the
VCCE (5 or 3.3V)
power supply rail
VREF0, VREF1
EXCVCC
EXCVDD
Connector
Flash programmer signals
VCC-BUS
Main power supply
(for reference)
RxD (input)
TxD (output)
P85/TXD1
P86/RXD1
SCLK0 (output)
BUSY (input)
MOD0 (output)
FP (output)
P87/SCLKI1/SCLKO1
P84/SCLKI0/SCLKO0
MOD0
FP
RESET#
RESET (output)
GND (common)
VSS
AVSS0, AVSS1
OSC-VSS
To system circuit
MOD1
JTRST
2kΩ
Set microcomputer
operating conditions
XIN
XOUT
VCNT
32180
Notes: • Turn on the power for the user system before writing to the internal flash memory.
• If P84-P87 are used in the system circuit, connection to a serial programmer must be taken into consideration.
• SBI# must be fixed high or low to ensure that no interrupts will be generated.
• The pullup resistance values of P84, P86 and P87 must be selected to suit the system design condition.
• The typical pullup resistance values of P84, P86 and P87 4.7 to 10 KΩ.
• The status of any other ports that are not shown here will not affect flash memory programming.
• Make sure the mode setting pin/power supply voltages do not fluctuate to prevent unintended changes of modes
while rewriting the internal flash memory.
Figure 6.7.1 Pin Connection Diagram
32180 Group User’s Manual (Rev.1.0)
6-37