
MMDSP Debugger
11
©1989-2019 Lauterbach GmbH
Example for Breakpoints
Assume you have a target with FLASH from
0
to
0xFFFFF
and RAM from
0x100000
to
0x11FFFF
. The
command to configure TRACE32 correctly for this configuration is:
The following breakpoint combinations are possible.
Software breakpoints:
On-chip breakpoints:
Downloading Program Code to the Video Core
The STN8810A and STN8810V are not object code compatible. When loading a program that was compiled
for the wrong core, the message “
file not compiled for this processor
” is displayed.
The Video Core employs a compression algorithm based on a dictionary. The dictionary is dynamically
created while downloading the object code to the target. The algorithm exploits the fact that some
instructions do not use all fields of the opcode to obtain better compression. While the functionality of an
instruction is not affected by compression/decompression, a reconstructed opcode will not be necessarily
binary identical to the original opcode. Therefore the
/verify
option for the
data.load
command may
produce false error message when used for download code to the video core.
Changing the FLAG Register
Changing the FLAG register through the debugger is not supported.
0x0--0x0FFFFF
0x100000 /Program
; Software Breakpoint 1
Break.Set 0x101000 /Program
; Software Breakpoint 2
Break.Set 0xx /Program
; Software Breakpoint 3
Break.Set 0x100 /Program
; On-chip Breakpoint 1
Break.Set 0x0ff00 /Program
; sOn-chip Breakpoint 2