Skip to main content
Associate III
May 7, 2024
Solved

STM32MP135 - Azure RTOS - TraceX

  • May 7, 2024
  • 1 reply
  • 1043 views

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

This topic has been closed for replies.
Best answer by jschneider

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

 

 

 

1 reply

jschneiderAuthorBest answer
Associate III
May 15, 2024

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