I'm trying to use the System Analyzer window to verify that all my threads are executed in the right time. My program has four threads, one of which has to executes every 10ms and has a priority osPriorityHigh. When I take this one out of my program, I'm able to see the other three threads on the System Analyzer Window, but when I put it back and run the program with the four threads, the System Analyzer Window only displays the thread actions but not the threads themselves (see image below). How could I solve this problem? It is a problem of the EventRecorder configuration (I left it by default)? I'm using CMSIS::RTOS2 (RTX5), the target is a nRF52840.
Any help would be appreciated.
Hello JAP_7, please open the RTX_Config.h file and switch to the Configuration Wizard view. Then edit the part regarding the Event Recorder in there:
https://arm-software.github.io/CMSIS_5/RTOS2/html/config_rtx5.html#evtrecConfig
There you can also de-select RTX5 related event generation. For example, uncheck Memory Pool, Message Queue and Timer to see if this already makes a difference. In the end, only enable the events you are interested in and hopefully, your debug system will not miss any of them.
Hello Andreas. By enabling only the threads recording on the Event Recorder section of RTX_Config.h, I don't miss any event. Thank you for your help!