2024-05-07 07:38 AM - edited 2024-05-16 02:34 AM
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
Solved! Go to Solution.
2024-05-15 07:53 AM
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
2024-05-15 07:53 AM
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