STC8A8K64D4 Series Manual
-
5.1.3 Download using PL2303-GL, Emulation supported
PL2303-GL
SOP8
0.1u
GND
TXD
IO_VDD
RXD
VO33
VBUS
DM
DP
1
2
3
4
8
7
6
5
USB +5V
0.1u
+5V
D-
D+
GND
1
2
3
4
10u
100
USB +5V
1N5819
The purpose of the diode and resistor here is
to prevent the USB device from powering the
target chip. Since the USB device cannot be
powered off during the power-off process of the
target chip, the sending pins of the USB device
are generally push-pull output, and the current
can reach 5-10mA. The mA chip can Work, so when
using this mode to download the program to the
STC microcontroller, the diodes and resistors
here cannot be saved.
47u C?
P0.3
P0.4
P0.5
P0.6
P0.7
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
AGnd
AVref
AVcc
P5.4
Vcc
P5.5
Gnd
P0.2
P0.1
P0.0
P2.7
P2.6
P2.5
P2.4
P2.3
P2.2
P2.1
P2.0
P4.1
P3.7
P3.6
P3.5
P3.4
P3.3
P3.2
P3.1
P3.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
STC8A8K64D4
System power
(Can be powered from USB)
Vin
Power On
Vcc
C?
System clock<=10MHz System clock>10MHz
104(0.1uF) 103(0.01uF)
ISP download steps:
1. Power off the target chip, be careful not to power off the USB-to-serial chip (such as: CH340, PL2303-GL, etc.)
Note: Some baud rate errors of PL2303-SA are very large, it is recommended to use PL2303-GL
2. Since the sending pins of the USB-to-serial chip are generally strong push-pull outputs, a diode must be connected in
series between the P3.0 port of the target chip and the sending pin of the USB-to-serial chip, otherwise the target chip cannot
be completely powered off. The goal of powering down the target chip is not reached.
3. Click the "Download/Program" button in the STC-ISP download software
4. Power on the target chip
5. Start ISP download
Note: At present, it has been found that when using the USB cable for ISP download, the USB cable is too thin and the
voltage drop on the USB cable is too large, resulting in insufficient power supply during the ISP download. Therefore,
please make sure to use the booster USB cable for ISP download.