![](http://datasheet.mmic.net.cn/110000/M32186F8VFP_datasheet_3496152/M32186F8VFP_195.png)
6
INTERNAL MEMORY
6-53
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
6.9 Connecting to Serial Programmer (UART Mode)
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-
asynchronous serial mode (UART 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 addresses 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.
32185/32186
XOUT
XIN
JTRST
MOD1
MOD2
AVSS0
VSS
RESET#
FP
MOD0
P84/SCLKI0/SCLKO0
P87/SCLKI1/SCLKO1
P86/RXD1
P85/TXD1
EXCVDD
EXCVCC
VCC-BUS
VREF0
AVCC0
VDDE
VCCER
Connect to the VCCE (5 or 3.3 V)
power supply rail
Main power supply
Connect to the
VCCE (5 or 3.3V)
power supply rail
Main power supply
(for reference)
RxD (input)
TxD (output)
Mode selection
(output)
GND (common)
Connector
Flash programmer signals
To system circuit
Set microcomputer
operating conditions
User system board
Connect to the
user system
power supply rail
VCCE
SBI#
(Note 1)
Note 1: SBI# must be fixed "H" or "L" to ensure that no interrupts will be generated.
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.
The pullup/pulldown resistance values of P84, P86, P87, FP and MOD0 must be selected to suit the system design condition.
The typical pullup/pulldown resistance values of P84, P86, P87, FP and MOD0 are 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.9.1 Pin Connection Diagram (UART Mode)