Hello to all,
I am working on a project using IMXRT-1061/1062
I try to make the SWO Data work efficiently on MCUXpresso without success.
Setup configuration:
Configuration:
With this configuration, i am not using autodetect and set the Trace clock of 108MHz manually :
Configuration of the SWO:
Widgets working:
Basically all except SWO Datas so SWO Profile/Interrupts/Timer/Console is OK.
Widget which is not working:
SWO Data plot is quite buggy.
Plot stay at 0
While table is indicating value changed:
This bug does not happen on all data. In this example, i am monitoring a variable inside a structure. gst_my_scheduler is a pointer to the structure. Another variable from the same structure does not seem to have any issue while it is the same kind of variable (uint32_t). What is suprising is that the table does display correct data, it is really the plot that is not displaying proper data values.
Is there specific limitation on some implementation (like volatile variable or packed struct)?
Is anybody out there does have the same issue? Is there some extra configuration to be done.
Thanks in advance
Hello @Miguel04,
Thank you for your answer but there might be a confusion.
I update the title of my post, the problem that I have is not on the SWO configuration. It is Working.
The problem is on the SWO Data (and more especially the Graph).
Here is a list of my issues
Other captures for the differences between table and plot. Signal is basically a ramp up from 0 to 4 and data is updated every 1ms.It is basically as the plot is undersampling my signal compare to the table. Sometimes 0 and 1 is not displayed, sometimes it is 4 even if everything is correct on the table.
Question related to my issues
Extra question
Thanks in advance.
Regards
Thanks for the clarification, I'll look into it, meanwhile, this advanced debugging tutorial explains how to use the profiling features enabled through SWO.
Advanced Debugging with MCUXpresso IDE | Part 6 | SWO Trace
I'll let you know what I found.
Best Regards, Miguel.
Please look into this documents for more information about SWO.
AN13234 How to enable SWO Trace for iMX RRT10xx Series.
MCUXpresso IDE SWO Trace Guide.
Also, this community posts could help you.
Enabling SWO Debug Console on RT1060
Best Regards, Miguel.