메인 콘텐츠로 건너뛰기
Knowledgebase
Home
Renesas Korea

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
 

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 :

TXDebugging.jpg
 

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
  • 이 기사가 도움이 되셨나요?