CodeWarrior Development Studio for Power Architecture - Freescale ...
CodeWarrior Development Studio for Power Architecture - Freescale ...
CodeWarrior Development Studio for Power Architecture - Freescale ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Working with Projects<br />
Debugging Projects<br />
Select Use existing host muxer process, and type the IP address of the Linux host on which the<br />
mux_server is running<br />
Alternatively, <strong>for</strong> Linux host only, you can select Launch host muxer process <strong>for</strong> automatically<br />
launching the muxer process. If you follow this step, you need to select the mux_server<br />
executable, and a TCP/IP target muxer with an IP address and a starting port on which you want<br />
to launch the mux_server<br />
For TRK muxer ports, click Sequence and type the first port on which the mux_server started.<br />
The Channels and ports on which the debugger accesses the cores appear<br />
The channels must correspond to the trk-stub's mux channels added in the hypervisor dts file.<br />
o. Click the Finish button.<br />
The New Connection wizard disappears and the new remote system that you just created appears<br />
in Connection drop-down list in the Remote system group.<br />
8. Debug an LWE application<br />
a. Select all the cores that you want to debug from the Linux partition.<br />
b. Click the Debugger tab.<br />
c. In the Debugger options group, select the Debug tab.<br />
d. Select the Stop on startup at checkbox in the Program execution options group<br />
Select the Program entry point option, if you want the debugging session to start from 0x0<br />
Specify the function name in the User specified field, if you want the debugging session to start<br />
from a specific kernel function.<br />
e. In the Debugger options group, select the Download tab<br />
f. If you have the same elf on the host and on the target, uncheck the Per<strong>for</strong>m standard download<br />
checkbox.<br />
You have successfully created the Codewarrior launch configuration.<br />
9. Click the Debug button to debug the LWE application using hypervisor.<br />
38 <strong>Power</strong> <strong>Architecture</strong>® Processors Getting Started Guide