03.08.2013 Views

CodeWarrior Development Studio for Power Architecture Netcomm

CodeWarrior Development Studio for Power Architecture Netcomm

CodeWarrior Development Studio for Power Architecture Netcomm

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>CodeWarrior</strong> <strong>Development</strong> <strong>Studio</strong> <strong>for</strong> <strong>Power</strong> <strong>Architecture</strong> <strong>Netcomm</strong> v10.0.1<br />

2.2.6 Cache support P4080<br />

2.2.6.1 L1 Data Cache <strong>for</strong> Memory Reads <strong>for</strong> P4080<br />

L1 Data cache allocates lines <strong>for</strong> memory reads of code around the PC; in order not to have that<br />

code in the cache, a cache inhibited read should be done or SAP should be used.<br />

2.2.7 Multi-core reset<br />

MTWX42123 Reset command from debugger shell can only be used to reset the entire system.<br />

For per-core reset, the GUI reset dialog should be used.<br />

2.3 Software Analysis<br />

2.3.1 General<br />

The Software Analysis tools only support the P4080 and P4040 processors.<br />

Enabling Trace and Profiling was found, in some cases, to have negative consequences <strong>for</strong><br />

some debugging functions. In general, the debugging problems can be avoided if profiling<br />

and trace are disabled in the Trace and Profile tab in the Launch Configuration, if they are not<br />

needed during basic debugging.<br />

2.3.2 Trace Collection<br />

1. Tracing is supported only when the debugger is connected to the target.<br />

2. Within the Jython console in <strong>CodeWarrior</strong> there is no standard out being shown when scripts<br />

are invoked. To workaround this limitation capture the decoded output using “out=”<br />

argument to GetBufferTrace or GetProbeTrace scripts.<br />

3. When using the GetBufferTrace.py or GetProbeTrace.py scripts to collect and decode trace<br />

data, please edit your debug launch configuration and uncheck the 'Enable Trace and Profile'<br />

setting.<br />

4. If collecting program trace from a P4080 rev2 processor, edit the file(s) listed below and set the<br />

value of the 'Trace Predicate Instructions' attribute to '1', <strong>for</strong> each core that outputs program<br />

trace data:<br />

If collecting trace using the graphical user interface:<br />

\PA\cdde\sasdk\data\fsl.configs.sa.nexusdecoder\NexusDecoderP4080Internal.xml<br />

If collecting trace using the GetBufferTrace.py or GetProbeTrace.py scripts:<br />

\PA\cdde\sasdk\data\fsl.configs.sa.nexusdecoder\NexusDecoderP4080.xml<br />

Freescale Confidential Proprietary<br />

7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!