Hi,
We have a pretty stable application on a DM6437 that we have built over several compiler major revisions (6.0.X, 7.0.X, 7.2.X) and we now face a brand new issue with version 7.3.X.
The problem comes with the CPU load evaluation of our application. For CPU load evaluation, we both check at the CPU load built-in feature on Code Composer (through RTA) and we also have a custom CPU load evaluation function that runs inside the bios (v5.42) idle loop by making use of the IDL_busyObj global variable.
Since version 7.3.X, the CPU load is incredibly high (around 50% with almost nothing running in the application). Both the built-in tool and our custom tool give approximately the same result. Under previous versions, the load was around 1% in similar conditions.
Surprisingly, I don't feel like the actual CPU load is really higher with version 7.3.X since our app can run as usual, and we see that as we load the CPU, it tends toward 100% as it would usually do with previous releases.
I am not so sure about how to find the root cause of this problem, but I could figure out that if I disable RTDX (by commenting bios.enableRtdx(prog) in the TCF file), the CPU load is correct (gets back to 1%). I also noticed that the problem looks not present when I compile in debug mode with no optimization.
I would appreciate having your thoughts about that behavior.
Thanks
Franck