STC8A8K64D4 Series Manual
-
5.1.7 Software simulation USB ISP download directly, and does not support
simulation
Note 1: When using USB to download, you need to connect P3.2 to Gnd for normal download.
Note 2: If USB download is not required, P3.0/P3.1/P3.2 cannot be low at the same time when the chip is reset, otherwise
the chip will always be in USB download mode without running user code.
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
1N4729-3.6V
Zener Protection Diode
22R
22R
USB+5V
USB-Micro
2
1
4
3
5
D+
D-
If you need to directly connect to USB for
downloading, be sure to reserve this circuit
on the PCB.
Press and hold this button and then
connect the USB to download the ISP. If
you do not press and hold this button when
connecting the USB, it will not enter the
ISP, but run the user code directly.
Note: Direct download using USB cannot
adjust the frequency of the internal IRC.
System power
(Can be powered from USB)
Vin
Power On
Vcc
300R
47u Tantalum capacitor (package 3528)
22u Monolithic capacitor (package 0603)
10u Monolithic capacitor (package 0603)
0.1u Monolithic capacitor (package 0603)
C?
System clock<=10MHz System clock>10MHz
104(0.1uF) 103(0.01uF)
ISP download steps:
1. Power off the target chip.
2. Connect P3.0/P3.1 to the USB port according to the connection method shown in the figure.
3. Short-circuit P3.2 with GND.
4. Power on the target chip and wait for "STC USB Writer (USB1)" to be automatically recognized in the STC-ISP
download software.
5. Click the "Download/Program" button in the download software (note: the sequence of operations is different from serial
download).
6. Start the 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.