STC micro U8W Bedienungsanleitung

STCmicroTM
STC Tool Instruction Manual
Date of update: 2022/3/9

- i -
Contents
STC8H Series Manuall
1 Overview.................................................................................................................................................1
2 System Programmable (ISP) Process Description ..............................................................................1
3 USB type online/offline download tool U8W/U8W-Mini ....................................................................2
3.1 Install U8W/U8W-Mini driver...........................................................................................................5
3.2 U8W function introduction................................................................................................................7
3.3 U8W online download instructions....................................................................................................8
3.4 U8W offline download instructions..................................................................................................11
3.5 U8W-Mini's function introduction...................................................................................................19
3.6 U8W-Mini online download instructions .........................................................................................20
3.7 U8W-Mini offline download instructions.........................................................................................21
3.8 Make/Update U8W/U8W-Mini ........................................................................................................27
3.9 U8W/U8W-Mini set through mode (can be used for simulation).....................................................29
3.10 Reference circuit of U8W/U8W-Mini ............................................................................................30
4 STC Universal USB to Serial Tool .....................................................................................................32
4.1 Appearance of STC Universal USB to Serial Tool ..........................................................................32
4.2 STC general USB to serial tool layout diagram................................................................................33
4.3 STC Universal USB to Serial Tool Driver Installation....................................................................34
4.4 Use STC universal USB to serial port tool to download program to MCU.....................................35
4.5 Use STC universal USB to serial port tool to simulate user code....................................................37
5 Application circuit diagram ................................................................................................................45
5.1 U8W tool application reference circuit diagram..............................................................................45
5.2 STC Universal USB to Serial Tool Application Reference Circuit Diagram ..................................46
STC Tool Instruction Manual

- 1 -
STC8H Series Manual
1 Overview
U8W/U8W-Mini is a series of programming tools that integrates online download and offline download. STC
Universal USB to Serial Port Tool is a programming tool that supports online download and online simulation.
Tool type
Online
Download
Offline
download
Burner
download
Online simulation
Price(CNY)
U8W
support
support
support
Need to set pass-
through mode
100 yuan
U8W-Mini
support
support
not support
Need to set pass-
through mode
50 yuan
Universal USB to
serial port
support
not support
not support
support
30 yuan
2 System Programmable (ISP) Process Description
STC Tool Instruction Manual

- 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
Yes
No
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

- 3 -
STC8H Series Manual
The offline download tool can be used for downloading without the computer, and can be used for mass production
and remote upgrades. The offline download board can support multiple functions such as automatic increment,
download limit, and encrypted transmission of user programs.
The following picture shows the front and back views of U8W tools and the front and back views of U8W-Mini:
In addition, some wires and tools are used together as follows, such as:
(1) Two-end male USB cable (shown on the left in the figure below) and USB-Micro cable (shown on the right in the
STC Tool Instruction Manual

- 4-
figure below):
Note: This USB cable is a USB enhanced cable specially customized by our company, which can ensure that the
download can be successful when directly powered by USB. On the market, some relatively low-quality two-end
male USB cables have too much internal resistance and cause a large voltage drop (for example, the voltage of the
USB when it is empty is about 5.0V. When using a low-quality USB cable to connect U8W/U8W-Mini/U8 /U8-Mini,
the voltage to our download board may drop to 4.2V or lower, causing the chip to be in a reset state and fail to
download successfully).
(2) The download cable connecting U8W/U8W-Mini to the user system (ie the connecting cable between U8W/U8W-
Mini and the target MCU on the user board), such as
As shown below:
U8W/U8W-Mini and
User systems are independent
Power supply cable
U8W/U8W-Mini to
The user's system power supply
wiring
User system gives
U8W/U8W-Mini
Power supply cable
STC8H Series Manual STC Tool Instruction Manual

- 5-
STC8H Series Manual
3.1 Install U8W/U8W-Mini driver
The U8W/U8W-Mini download board uses a CH340 USB-to-serial universal chip. This saves the trouble that some
computers without a serial port must buy a USB to serial port tool to download. But CH340 is the same as other
USB-to-serial tools, the driver must be installed before use.
Obtain the driver by downloading the STC-ISP software package
The following is the download location of the STC-ISP software package provided on the STC official website
(www.STCMCUDATA.com):
After downloading, decompress, the path of CH340 driver installation package is stc-isp-15xx-v6.87K\USB to UART
Driver\CH340_CH341:
Download the driver manually through STC's official website or in the latest STC-ISP download software
Download the driver manually on the official website of STC or in the latest STC-ISP download software. The
download link of the driver is: U8 programmer USB to serial port driver
(http://www.stcmcu.com/STCISP/CH341SER.exe ). The driver address on the website and STC-ISP download
software is shown in the figure below:
Install U8W/U8W-Mini driver
After the driver is downloaded to the machine, double-click the executable program and run it. The interface shown
in the figure below appears, click the "Install" button to start the automatic driver installation:
STC Tool Instruction Manual

- 6-
STC8H Series Manual
Then the driver installation successful dialog box pops up, click the "OK" button to complete the installation:
Then use the USB cable provided by STC to connect the U8W/U8W-Mini download board to the computer, open the
device manager of the computer, and under the port device category, if there is a device similar to "USB-SERIAL
CH340 (COMx)", it means U8W/U8W-Mini can be used normally. As shown in the figure below (different
computers, the serial port number may be different):
Note: When using STC-ISP to download software later, the selected serial port number must be the corresponding
serial port number, as shown in the figure below:
STC Tool Instruction Manual

- 7-
STC8H Series Manual
3.2 U8W function introduction
The main interfaces and functions of U8W tools are described in detail below:
Programming interface: Use different download cables to connect the U8W download board and the user system
according to different power supply methods.
U8W update system program button: used to update U8W tools. When there is a new version of U8W firmware, you
need to press this button to update the U8W main control chip (note: you must first set the toggle switch on the
update/download selection interface Toggle to upgrade tool firmware).
If the MCU is on the user system, P3.0/P3.1/Gnd must be connected
during online programming/ISP, and P3.0/P3.1 of the target MCU
should not be connected to any other lines during online
programming/ISP
STC Tool Instruction Manual

- 8-
STC8H Series Manual
Offline download user program button: Start offline download button. First, the PC downloads the offline code to the
U8W board, and then uses the download cable to connect the user system to the U8W, and then press this button to
start the offline download (the user code will also start to download every time the power is turned on).
Update/download selection interface:When you need to upgrade the underlying firmware of U8W, you need to
switch this toggle switch to the firmware upgrade tool. When you need to program the target chip through U8W, you
need to turn the toggle switch to Burn the user program.
(Please refer to the figure above for the connection of the toggle switch)
Automatic burner/sorter interface: It is a control interface used to control the automatic burner/sorter for automatic
production.
3.3 U8W online download instructions
The target chip is installed on the U8W locking base and connected to the computer by U8W for online download
First use the USB cable provided by STC to connect the U8W to the computer, and then install the target MCU on the
U8W in the direction shown in the figure below:
Then use STC-ISP to download the software to download the program, the steps are as follows:
STC Tool Instruction Manual
Dieses Handbuch passt für folgende Modelle
1
Inhaltsverzeichnis
Beliebte Thermostat Handbücher anderer Marken

EWELLY
EWELLY EW-181 Bedienungsanleitung

Prolon
Prolon T1100 Montageanleitung

Computherm
Computherm Q20 Bedienungsanleitung

Heatmiser
Heatmiser neoStat Bedienungsanleitung

Aube Technologies
Aube Technologies TH111GFCI-NP 240 VCA Bedienungsanleitung

Mars
Mars HEAT CONTROLLER IR Wireless Thermostat Bedienungsanleitung











