
STM8 Debugger
7
©1989-2019 Lauterbach GmbH
Quick Start
Starting up the debugger is done as follows:
1.
Select the device prompt B (BDM debugger) and reset TRACE32.
The device prompt
B::
is normally already selected in the
. If this is not the
case enter
B::
to set the correct device prompt. The
command is only necessary if you do not
start directly after booting the TRACE32 development tool.
2.
Specify the CPU specific settings.
This command selects the CPU type.
3.
Inform the debugger about cashable address range (FLASH/EEPROM)..
This is important to speed up the T32 GUI responsiveness. The specified address range will be
accesses only once after a break, thus avoiding unnecessary memory accesses.
4.
Reset the target and enter debug mode.
This command resets the CPU on the target, enables On-Chip-Debug Mode and issues a breakpoint
right after the reset interrupt routine.The CPU stops executing any instruction, and the user is able to
download the code and test. After this command is executed, it is possible to access memory and
registers.
B::
RESet
p:0x8000--0xffff