![](http://datasheet.mmic.net.cn/30000/M37531E4V-XXXGP_datasheet_2359826/M37531E4V-XXXGP_174.png)
6
6-39
INTERNAL MEMORY
32182 Group User’s Manual (Rev.1.0)
6.7 Connecting to A Serial Programmer
Figure 6.7.1 Pin Connection Diagram
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.
2kW
32182
VCNT
XOUT
XIN
JTRST
MOD1
OSC-VSS
AVSS0
VSS
RESET#
FP
MOD0
P84/SCLKI0/SCLKO0
P87/SCLKI1/SCLKO1
P86/RXD1
P85/TXD1
VCC-BUS
EXCVDD
EXCVCC
VREF0
AVCC0
OSC-VCC
VDDE
VCCE
Connect to
the user
system power
supply rail
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)
SCLK0 (output)
BUSY (input)
MOD0 (output)
FP (output)
RESET (output)
GND (common)
Connector
Flash programmer signals
To system circuit
Set microcomputer
operating conditions
User system board
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 are 4.7 to 10 KW.
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.