cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP135 - Azure RTOS - TraceX

jschneider
Associate III

Hello,

 

is there a possibility to apply TraceX to a ThreadX project using MP135? I could follow some tutorials and include the necessary TraceX functions, but I can't generate a .trx file. The option is simply not available in the CubeIDE. 

Would you have any suggestions?

 

Best,

J. Schneider

1 ACCEPTED SOLUTION

Accepted Solutions
jschneider
Associate III

Hi,

 

for anyone interested in the topic, I have found the solution.

 

At first, TX_ENABLE_EVENT_TRACE has to be defined within the ThreadX project.

 

It is necessary to apply TraceX features to the code.

Following  https://community.st.com/t5/stm32-mcus/how-can-i-add-tracex-support-in-stm32cubeide/ta-p/49380 is the best idea.

 

After that, it should be possible to generate a trace file in the ThreadX Thread List View, even if the .trx file editor application is not available.

 

Best,

J. Schneider

 

 

 

View solution in original post

1 REPLY 1
jschneider
Associate III

Hi,

 

for anyone interested in the topic, I have found the solution.

 

At first, TX_ENABLE_EVENT_TRACE has to be defined within the ThreadX project.

 

It is necessary to apply TraceX features to the code.

Following  https://community.st.com/t5/stm32-mcus/how-can-i-add-tracex-support-in-stm32cubeide/ta-p/49380 is the best idea.

 

After that, it should be possible to generate a trace file in the ThreadX Thread List View, even if the .trx file editor application is not available.

 

Best,

J. Schneider