EasyManuals Logo

Lauterbach TRACE32 User Manual

Lauterbach TRACE32
56 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #20 background imageLoading...
Page #20 background image
PQIII Debugger | 20
©
1989-2021 Lauterbach GmbH
Debugging Information
In order to properly use all debug features (breakpoints, single step etc) of the MPC85XX, the Debug
Interrupt Vector (IVPR+IVOR15) must be set to an address which is
properly mapped in the MMU (memory management unit) and
points to an address which contains a valid instruction (NOP is recommended).
Please note that both IVOR/IVPR and memory contents can be changed by the application any time,
especially during the boot process. When debugging is done after the boot process finished, the interrupt
vector and memory is usually properly set up by the application. There are however operating systems that
don’t use the debug interrupt and let it point to an illegal instruction.
For early CPU revisions (PVR=0x8020XXXX) it is recommended to place the instructions NOP followed by
RFCI to the debug interrupt vector. These two instructions are needed for SYStem.Option.FREEZE.
Multicore Debugging e500 cores
SMP Debugging
For the dual-core processors MPC8572 and the dual-core variants of P10xx and P20xx, SMP debugging is
selected by default. No further configuration is needed. As soon as the debugger is connected (SYStem.Up,
SYStem.Mode.Attach etc.), it is possible to switch to any core using the CORE <core_index> command.
The currently selected core is displayed in the status line. If the cores are running and one of the cores hits a
breakpoint, the debugger’s view will automatically switch to this core.
; CORE 1 setup script: ; CORE 2 setup script:
SYStem.CPU 5516 SYStem.CPU 5516
SYStem.CONFIG.CORE 1. 1. SYStem.CONFIG.CORE 2. 1.
SYStem.UP SYStem.Mode.Attach
; do board initialization here ; z0 is still in reset
Data.LOAD.Elf demo.elf Data.LOAD.Elf demo.elf /NoCODE
Break ; with this command
; z0 will stop when
; reset is released
Go ; start z1
; application will start z0
; core
WAIT !RUN() ; wait until cpu stops
Break.Set somez0function
Go

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Lauterbach TRACE32 and is the answer not in the manual?

Lauterbach TRACE32 Specifications

General IconGeneral
Operating System Support (Host)Windows, Linux
ManufacturerLauterbach GmbH
CategoryDebug and Trace Tool
Supported ArchitecturesARM, Power Architecture, RISC-V, x86
InterfaceJTAG, SWD, Nexus, Aurora
FeaturesDebugging, tracing, multicore debugging
Host InterfaceUSB, Ethernet
IDE IntegrationEclipse
Scripting LanguagePractice
Power MeasurementYes (requires specific PowerProbe hardware)
Trace TechnologyInstruction Trace, Data Trace
License TypeFloating license, node-locked license available
Software CompatibilitySupports various compilers and toolchains

Related product manuals