Appendix H STC Emulation Instruction Manual
H.1 Overview
All STC8G/8H series microcontrollers support online emulation, including downloading user code, chip reset,
full-speed operation, single-step operation, setting breakpoints (the number of theoretical breakpoints is unlimited, but
in order to improve the emulation efficiency, the current limit is up to 20 breakpoints), viewing variables, etc. The
emulation operation is convenient for users to debug the code and find logical errors in the code, thereby shortening
the project development cycle.
The emulation interface can be USB or serial port, the microcontroller itself is an emulator, and all emulation
functions can be realized without an additional emulator. The corresponding USB port or serial port is originally a
dedicated port for emulation, but when the emulation function is turned off, the user can freely use the emulation
interface as GPIO, USB or serial port.
At present, the emulation mode of all MCUs is the software monitoring emulation mode, which will occupy part
of the system resources. The resources occupied by each series of MCU simulation are shown in the following table: