I am currently in the process of instrumenting a MICROSAR OS based application on an NXP S32K148 ARM Cortex M4 processor. The relevant code looks like this:
Display All
However SystemView records only a few milliseconds of activity and then hangs. The controller itself is running and with the debugger I see that the SystemView API is called correctly. If I comment out the
When the SystemView application is in this "semi frozen" state I can not stop the recording. When I close the application via File -> Exit then it is still running in the background and needs to be terminated with the Task Manager. Also I see that 1 module is registered from the start event but the properties view shows 0 modules, I suspect that the module description is not sent correctly (see the attached screenshot). Any ideas on how to pursue this issue?
C Source Code
- static void _cbSendTestModuleDesc(void);
- static SEGGER_SYSVIEW_MODULE TestModule =
- {
- "M=Test, 0 myTest void", // sModule
- 1, // NumEvents
- 0, // EventOffset, Set by SEGGER_SYSVIEW_RegisterModule()
- _cbSendTestModuleDesc, // pfSendModuleDesc, NULL: No additional module description
- NULL, // pNext, Set by SEGGER_SYSVIEW_RegisterModule()
- };
- static void _cbSendTestModuleDesc(void)
- {
- SEGGER_SYSVIEW_RecordModuleDescription(&TestModule, " T=TS, S='Test Module'");
- }
- void traceInitialize()
- {
- SEGGER_SYSVIEW_Conf();
- SEGGER_SYSVIEW_RegisterModule(&TestModule);
- SEGGER_SYSVIEW_Start();
- }
SEGGER_SYSVIEW_RegisterModule(&TestModule);
line then everything is working as expected. I am only registering the module, there are no event calls yet.When the SystemView application is in this "semi frozen" state I can not stop the recording. When I close the application via File -> Exit then it is still running in the background and needs to be terminated with the Task Manager. Also I see that 1 module is registered from the start event but the properties view shows 0 modules, I suspect that the module description is not sent correctly (see the attached screenshot). Any ideas on how to pursue this issue?