I have been able to use SystemView in IAR's debug mode but when in release mode it does not work.
Is there a way to get this to work in release mode?
Thanks
I have been able to use SystemView in IAR's debug mode but when in release mode it does not work.
Is there a way to get this to work in release mode?
Thanks
Hello,
Thank you for your inquiry.
Such an issue is not known to us.
What SystemView sources are you using?
Which IAR Version are you using?
What are the error messages you are getting exactly?
Best regards,
Nino
Hello,
I have been able to use SystemView in IAR's debug mode but when in release mode it does not work.
Is there a way to get this to work in release mode?
Thanks
I assume you're still working with embOS for Cortex-M and IAR, am I correct?
In that case, please be aware that embOS itself does not generate SystemView events in release builds, but in profiling builds only (i.e. "debug & profiling", "debug & trace", or "stack check & profiling").
Furthermore, our BSPs are configured to start SystemView in profiling builds only as well. Hence, even if your application does generate some SystemView events on its own, the initial SysView configuration may still be missing.
To resolve the latter, you'd then need to modify your RTOSInit.c, which contains the following code snippets:
#if (OS_SUPPORT_PROFILE != 0)
if (SEGGER_SYSVIEW_DWT_IS_ENABLED() == 0u) {
SEGGER_SYSVIEW_TickCnt++;
}
#endif
By removing the dependency on OS_SUPPORT_PROFILE from these snippets, SystemView gets configured in release builds as well and should then be usable by your application.
Does this solve the observed issue?
Best regards,
Martin
Don’t have an account yet? Register yourself now and be a part of our community!