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:
- Move from MCUXpresso 11.5.0 to 11.7.0
- Update SDK from 2.9.0 to 2.13.0/2.13.1
- Change probe (MCULink or LPCLink2)
Configuration:
- Main Clock speed: 528MH (#define BOARD_BOOTCLOCKRUN_CORE_CLOCK 528000000U)
- Trace clock speed: 108MHz (#define BOARD_BOOTCLOCKRUN_TRACE_CLK_ROOT 108000000UL)
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.
- It is impossible to resize the plot and autosizing obviously does not work perfectly (see after)
- we can't erase previous set of data between 2 runs
- datas between plot and table tabs does not match (see after)
- update frequency of the data should be quite slow for proper data update

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