跳转到主内容
Knowledgebase
Home
Renesas Electronics China - Knowledgebase

How do I enable TraceX in SSP?

Latest Updated:09/15/2016

Question:

How do I enable TraceX in SSP?

Answer:

To get TraceX working in your SSP project follow the below steps.

1. Install TraceX on the PC
2. In e2 studio go to Window->PreferencesC/C++->Renesas->TraceX, and fill in the TraceX path

TraceXFig1.jpg


3. To enable TraceX in ThreadX you need to add ThreadX source to the project (is SSP 1.0.0, in HAL/Common add "new->framework->RTOS->ThreadX Source" as shown directly below), then in the properties for ThreadX source, enable Event Trace (as shown in the second figure below).

TraceXLbinkyScreenFig5.jpg

 

TraceXEnableFig2.jpg

4. Then, when you have enabled TraceX in the ThreadX kernel source, and run the project, when you want to view the trace buffer in TraceX, in e2 studio, go to Run->TraceX->Launch TraceX Debugging and enter :


4. Click on OK and e2 studio will download the trace buffer and launch TraceX.

 

The below screen shot, show trx results for TraceX on Blinky.

 

ScreenAFig4.jpg