
STM8 Debugger
4
©1989-2019 Lauterbach GmbH
Introduction
This document serves as a guideline for debugging STM8 MCUs and describes all MCU-specific
TRACE32 settings and features.
Please keep in mind that only the
(the document you are reading at the
moment) is CPU specific, while all other parts of the online help are generic for all CPUs supported by
Lauterbach. So if there are questions related to the CPU, the Processor Architecture Manual should be your
first choice.
Brief Overview of Documents for New Users
Architecture-independent information:
•
(training_debugger.pdf): Get familiar with the basic features of a
TRACE32 debugger.
•
(app_t32start.pdf): T32Start assists you in starting TRACE32 PowerView instances
for different configurations of the debugger. T32Start is only available for Windows.
•
(general_ref_
<x>
.pdf): Alphabetic list of debug commands.
Architecture-specific information:
•
“Processor Architecture Manuals”
: These manuals describe commands that are specific for the
processor architecture supported by your debug cable. To access the manual for your processor
architecture, proceed as follows:
-
Choose
Help
menu >
Processor Architecture Manual
.
•
(rtos_
<os>
.pdf): TRACE32 PowerView can be extended for operating
system-aware debugging. The appropriate OS Awareness manual informs you how to enable the
OS-aware debugging.
Demo and Start-up Script
The on-chip FLASH and the EEProm memory can be programmed via the stm8.cmm script:
Please be aware that you should check the Flash and EEProm size specified for your MCU in the stm8.cmm
before executing this script.
CD.DO ~~/demo/stm8/flash/stm8.cmm