How to use codewarrior Trace and Profile

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

How to use codewarrior Trace and Profile

9,313 Views
kojimiura
Contributor III
I would like to trace the DDR controller.
In the attached settings
I pressed the debug button.
After typing mw command on U-BOOT
Terminate debug
There is nothing in the output folder.
How can I trace the DDR controller?
0 Kudos
Reply
7 Replies

9,254 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the attached document for how to do trace with CodeWarrior.

0 Kudos
Reply

9,241 Views
kojimiura
Contributor III
Thank you for the user guide.
page 55
8. Click the Start Trace Collection button, in the Debug view toolbar, to turn on the
tracing session.
Trace Collection button is disabled in .
(Please refer to the attached file)
Will I need a license?
0 Kudos
Reply

9,150 Views
yipingwang
NXP TechSupport
NXP TechSupport

Specialist Level Suite CodeWarrior license is needed.

0 Kudos
Reply

9,146 Views
kojimiura
Contributor III

I'm using The license is "

CWA-LS-SPLST-R

"is. Can I trace with this license?

0 Kudos
Reply

9,068 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please open CodeWarrior IDE, please click Help->Freescale License->Details and check whether "Win32_SA_Plugins_Trace_EPPC 10.5" is included.

It seems that this feature is not included.

 

0 Kudos
Reply

9,056 Views
kojimiura
Contributor III

'Win32_SA_Plugins_Trace_EPPC 10.5' is Included

Detail information for product "CodeWarrior Development Studio For PA" version "10.5"
status: "License expiring in 353 day(s)."
License model: "class com.freescale.core.ide.license.flexlm.FlexlmActivate11"
Contact Email: [email protected]
Register URL: http://www.freescale.com/cwregister/
Purchase URL: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW_DSPA&tid=CWH/
FlexLM Eval Period: 5 day(s)
GTL Server: gtlsrvr.metrowerks.com
GTL Port: 80 (8,080)
Wants Host ID: true
License file path: C:\Freescale\CW_PA_v10.5.1\PA\license.dat
flexlmFileLocator: null
flexlmFile: ${PA_TOOLS_HOME}/license.dat
License file URL: file:/C:/Freescale/CW_PA_v10.5.1/eclipse/../PA/license.dat
Error String:
Optional feature group #1:
Optional feature undefined: WIN32_PLUGINS_PPC 10.5
Group status: Included
Optional feature group #2:
Optional feature undefined: WIN32_PLUGINS_COMP_PPC 10.5
Optional feature undefined: Win32_Plugins_Link_PPC 10.5
Optional feature undefined: Win32_Plugins_Common_eLinux 2.3
Optional feature undefined: Win32_SA_Plugins_Trace_EPPC 10.5
Optional feature undefined: Win32_SA_Plugins_Perf_EPPC 10.5
Optional feature undefined: Win32_SA_Perf_EPPC 10.5
Optional feature undefined: Win32_SA_Perf_EPPC_ADVANCED 10.5
Group status: Included
Optional feature group #3:
Optional feature undefined: DDR_Validation_QorIQ 4.0
Optional feature undefined: SERDES_Validation_QorIQ 4.0
Optional feature undefined: PE_PACKETTOOL 4.5
Group status: Included
Mandatory feature keys:
WIN32_PLUGINS_DBG_PPC 10.5, status : 353 day(s)
WIN32_PLUGINS_GCC_Adapters 10.5, status : 353 day(s)
Win32_CFP_PPC 10.5, status : 353 day(s)
Win32_PLUGINS_PPCCPU_COMM 10.5, status : 353 day(s)
Win32_PLUGINS_PPCCPU_HOST 10.5, status : 353 day(s)
Win32_PLUGINS_PPCCPU_PQ3 10.5, status : 353 day(s)
Win32_Plugins_PPC_EmLinux 10.5, status : 353 day(s)
Alternate Keys:
(no keys)
LM_PATH=null
License file Content (C:\Freescale\CW_PA_v10.5.1\PA\license.dat):

0 Kudos
Reply

9,288 Views
kojimiura
Contributor III
cmd_mem.c
do_mem_mw function
at the beginning and end
I have set the Trace start and end points.
I got the trace log, but
It looks like it's not tracing correctly.
(I attach the trace results)
I would appreciate it if you could give me some advice.
0 Kudos
Reply