Page 2
Brief Overview of Documents for New Users Demo and Start-up Script Configuration ........................System Overview Quick Start ......................... Troubleshooting ........................ FAQ ............................. STM8 specific SYStem Settings ..................SYStem.CPU Select the used CPU SYStem.MemAccess Real-time memory access (non-intrusive) SYStem.Mode Establish the communication with the target SYStem.LOCK...
Page 5
(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.
The on-chip FLASH and the EEProm memory can be programmed via the stm8.cmm script: CD.DO ~~/demo/stm8/flash/stm8.cmm Please be aware that you should check the Flash and EEProm size specified for your MCU in the stm8.cmm before executing this script. Configuration System Overview Example configuration for an STM8 debugger.
Page 8
Load the program into the flash. DO ~~/demo/stm8/flash/stm8.cmm A typical start sequence of the STM8 is shown below. This sequence can be written to a PRACTICE script file (*.cmm, ASCII format) and executed with the command <file>. ; Select the ICD device prompt RESet ;...
Page 15
The Microchip STM8 architecture does not support software breakpoints. On-chip breakpoints for instructions The STM8 MCUs support a total of two on-chip breakpoint registers which can be used as program breakpoints to stop and debug the program which executes always in the Flash.
Need help?
Do you have a question about the STM8 and is the answer not in the manual?
Questions and answers