Part Number: AM3356
Other Parts Discussed in Thread: AMIC110
Hi champs!
For an existing project customer wants to go from a simple debug probe (GHS/this probe did not support the recording of the programme flow) to newer probe, that supports program trace.
Open questions highlighted in yellow below:
As Toolchain we use the Multi IDE from GHS in version v7.1.4 with the Probe V4 (debug probe with capability of program trace) also from GHS.
As RTOS we use GH Integrity 11.4.4.
Simple debugging with the probe V4 and the AM3356 works fine.
This shows, that the JTAG pins should be right connected.
The probe V4 detect the am3356 with a icepick (version d) as debug port.
Furthermore it detects also the ETM, ETB subsytsem. But it seems that there is no TPIU subsystem on the chip.
In any case, the probe detects nothing of the sort, nor tpui nor lite tpui.
In the technical refence manual “AM335x and AMIC110 Sitara Processors” revision spruh73q there are
some hints to the subject program tracing, but very marginal.
For example in chapter 3.1.4.2.3 ARM Core Supported Features in table 3-3 is notes
-CoreSight ETM The CoreSight ETM is embedded with the ARM core. The 32KB buffer (ETB) exists at the Chip Level (DebugSS)
-Trace support Supported via TPIU
That’s all to this topic.
The chapter “27 Debug Subsystem” contains marginal informations about the icepick,
the jtag signals and about the trace pins EMU[4:0], but no information about the debug
subsystems like etm, etb, tpiu and so on.
So my first question is whether there is a more detailed description about the debug subsystem.
Does the AM3356BZCZD60 support program trace recording with an external trace sink like probe v4?
The probe V4 is connected to the hardware via a standard mictor connector.
Signals for JTAG pin’s on chip
JTAG_TDO A11 (TDO)
JTAG_TCK A12 ((TCK)
JTAG_TMS C11 (TMS)
JTAG_nTRST B10 (TRStn)
JTAG_TDI B11 (TDI)
Signal for tracing (DEBUG) pin’s on chip
EMU0 C14 (EMU0)
EMU1 B14 (EMU1)
EMU2 A15 (XDMA_EVENT_INTR0)
EMU3 D14 (XDMA_EVENT_INTR1)
EMU4 A14 (MCASP0_AHCLKX)
I think that the EMU4 signal is supposed to be the trace clock and the signals EMU0 ... EMU3 are the four trace port pins.
Is this right?
Probably a suitable initialisation of the pins EMU0 ... EMU4 is necessary,
so that the V4 probe can receive trace data from the ETM subsystem via the TPIU at all.
Have any application notes for this or code examples?