i.MX 8M Plus Cortex-M7 code/data trace into ETF

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX 8M Plus Cortex-M7 code/data trace into ETF

275 Views
tadejm
Contributor I

Hi all,

I am having some issues in getting ETM/ITM (data/code) trace from Cortex-M7 into ETF/ETR. There is a schema I found in reference manual in attachment.

My notes (please observe also attached image when reading this):

  1. ETM (code) trace works for me from Cortex-A53 core, so it seems that green path is operational.
  2. ETM/ITM (code/data) trace does not work for me from Cortex-M7 core, so it seems orange path is not operational
  3. As you can see in image there are 3 ATB Funnels (marked with numbers)

My questions:

  1. There are 3 ATB Funnels, but in debug memory map I only found 2:
    1. On APB bus (APSEL 1) on address 0x80C03000 <- I assume this is either funnel #1 or #2 on image above (this one is also documented in Reference Manual)
    2. On AHB (M7) bus (APSEL 4) on address 0xE0043000 <- I assume this is funnel #3 on image above (this one is not documented in Reference Manual)
    3. Where is the third one?
  2. Is there something else that should be configured for Cortex-M7 core trace to work?

Thank you for your help.

0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2155281%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX%208M%20Plus%20Cortex-M7%20code%2Fdata%20trace%20into%20ETF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155281%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20am%20having%20some%20issues%20in%20getting%20ETM%2FITM%20(data%2Fcode)%20trace%20from%20Cortex-M7%20into%20ETF%2FETR.%20There%20is%20a%20schema%20I%20found%20in%20reference%20manual%20in%20attachment.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMy%20notes%20(please%20observe%20also%20attached%20image%20when%20reading%20this)%3A%3C%2FSPAN%3E%3C%2FP%3E%3COL%3E%3CLI%3E%3CDIV%3EETM%20(code)%20trace%20works%20for%20me%20from%20Cortex-A53%20core%2C%20so%20it%20seems%20that%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23008000%22%3Egreen%20path%3C%2FFONT%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FSPAN%3Eis%20operational.%3C%2FDIV%3E%3C%2FLI%3E%3CLI%3E%3CDIV%3EETM%2FITM%20(code%2Fdata)%20trace%20does%20not%20work%20for%20me%20from%20Cortex-M7%20core%2C%20so%20it%20seems%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23FF9900%22%3Eorange%20path%3C%2FFONT%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FSPAN%3Eis%20not%20operational%3C%2FDIV%3E%3C%2FLI%3E%3CLI%3EAs%20you%20can%20see%20in%20image%20there%20are%203%20ATB%20Funnels%20(marked%20with%20numbers)%3C%2FLI%3E%3C%2FOL%3E%3CP%3EMy%20questions%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CSPAN%3EThere%20are%203%20ATB%20Funnels%2C%20but%20in%20debug%20memory%20map%20I%20only%20found%202%3A%3C%2FSPAN%3E%3COL%3E%3CLI%3E%3CSPAN%3EOn%20APB%20bus%20(APSEL%201)%20on%20address%200x80C03000%20%26lt%3B-%20I%20assume%20this%20is%20either%20funnel%20%231%20or%20%232%20on%20image%20above%20(this%20one%20is%20also%20documented%20in%20Reference%20Manual)%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EOn%20AHB%20(M7)%20bus%20(APSEL%204)%20on%20address%200xE0043000%20%26lt%3B-%20I%20assume%20this%20is%20funnel%20%233%20on%20image%20above%20(this%20one%20is%20not%20documented%20in%20Reference%20Manual)%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EWhere%20is%20the%20third%20one%3F%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EIs%20there%20something%20else%20that%20should%20be%20configured%20for%20Cortex-M7%20core%20trace%20to%20work%3F%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%3EThank%20you%20for%20your%20help.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E