
- 2-
STC8H Series Manual
Note: Because [P3.0, P3.1] is used for download/simulation (download/simulation interface is only available [P3.0,
P3.1]), it is recommended that users put serial port 1 on P3.6/P3.7 Or P1.6/P1.7, if the user does not want to switch
and insists on using P3.0/P3.1 to work or communicate as the serial port 1, be sure to check the "Next cold start,
when downloading the program, The program can be downloaded only when P3.2/P3.3 is 0/0". 【Note 1】
[Note 1]: The programming protection pins of STC15, STC8 and later new chips are P3.2/P3.3, and the programming
protection pins of earlier chips are P1.0/P1.1.
3 USB type online/offline download tool U8W/U8W-Mini
The application range of U8W/U8W-Min can support all current MCU series of STC, and the Flash program space
and EEPROM data space are not restricted. Support includes the following and upcoming STC full series chips:
The microcontroller is completely
poweroff
Power on the microcontroller
(Cold start)
MCU runs the ISP
monitoring program
Download the user program and
enter the user program area
Soft reset to the user program
area and run the user program
External manual reset, the microcontroller is also started
from the system ISP monitoring program area.
The MCU runs the ISP monitoring program to detect whether there
is a legal command stream, which takes tens of milliseconds to
several hundred milliseconds. If there is no legal download
command stream, it will immediately run the user program.
If [P3.2, P3.3] = [0, 0] has been set, it will judge whether to
download the user program or not. After cold start, if [P3.2,
P3.3] ≠[0, 0], then Running the user program directly will
only take 50μs, which is negligible. It is recommended that
the user select [P3.2, P3.3] if they are not [0, 0] at the same
time, then run the user program immediately and skip the
system ISP monitoring program. 【Note 1】
[Cold start programming]: The MCU is in a power-off state firstly, and the user
must first click the [Download/Program] button of the STC-ISP control software
on the PC side to send the download command stream, and then power on the
MCU.
Check if P3.0 has a legitimate
download command stream
STC Tool Instruction Manual