FAQs Archive for eTPU Debugger
|Can I halt and start the eTPU synchronized to the e200 core, without using the eTPU debugger?|
When the eTPU debugger is used, synchronized debugging is enabled using the command TrOnchip.CBI ON in the eTPU debugger.
Without eTPU debugger, run control can be synchronized to the e200 core by enabling DC[DBE] and DC[CBI] in the NDEDI block. The DC register is accessible through the NEXUS.Register window of the e200 debugger.
Commands for MPC55XX, MPC56XX, SPC56X and MPC5777C:
PER.Set DBG:0x02120202 %Long 0x00006000 ; eTPU_ACommands for MPC5746R
PER.Set DBG:0x02120302 %Long 0x00006000 ; eTPU_B
PER.Set DBG:0x02160A02 %Long 0x00006000 ; eTPU_C
PER.Set DBG:0x02300202 %Long 0x00006000 ; eTPU_A
PER.Set DBG:0x02300302 %Long 0x00006000 ; eTPU_B
|Can the TRACE32 debugger for eTPU read the MTD or the PDCM registers?|
MTD and PDCM are write-only registers. The eTPU does not support reading write-only registers through JTAG. The only readable write-only flags are the ones accessible via the Channel Flag Status Register (NDEDI_ENGINEn_CFSR), which are all displayed in the Register window. MTD and PDCM are not included in the CFSR.
|Is it possible to access the eTPU microengine process registers (e.g. MatchA/B, CaptureA/B)?|
The debugger can access ERT and MATCH registers (from Register window). But not the Capture registers.
|Some variables can not be displayed while the eTPU is running.|
eTPU variables can be bound to a context, i.e. even static sariables can have an address which is relative to the channel base address. While the eTPU runs, the current context can not be determined, so the debugger can not display these variables.
There are three ways to configure the debugger to displays those types of variable:
|Trying to debug one of the eTPU cores on my PowerPC CPU, I get "?????" (bus errors) in the List window.|
Access to program memory requires that both eTPUs are halted. Please check if both are halted.
Copyright © 2020 Lauterbach GmbH, Altlaufstr.40, 85635 Höhenkirchen-Siegertsbrunn, Germany
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 14-Jan-2020