First let me say that SystemView is an excellent product well executed.
In our system (FreeRTOS v9.0.0 with Systemview 2.42) we have a lot of timers that perform different tasks, but we only see the timer daemon task in system view. It would be really useful to see which timer is running (ideally the timer name).
FreeRTOS provides the following timer trace hooks:
traceTIMER_CREATE( pxNewTimer )
traceTIMER_CREATE_FAILED()
traceTIMER_COMMAND_SEND( xTimer, xMessageID, xMessageValueValue, xReturn )
traceTIMER_EXPIRED( pxTimer )
traceTIMER_COMMAND_RECEIVED( pxTimer, xMessageID, xMessageValue )
And Systemview has the API commands (among others):
apiID_XTIMERCREATE
apiID_PVTIMERGETTIMERID
apiID_VTIMERSETTIMERID
apiID_XTIMERISTIMERACTIVE
apiID_XTIMERCREATETIMERTASK
apiID_XTIMERGENERICCOMMAND
The first question is where can I find the documentation for the API commands (esp. arguments they take)?
Secondly, how to send the correct commands so that systemView can tell me which timer is executing (based on the traceTIMER_EXPIRED( pxTimer ) hook probably)?
Thanks,
Henry
In our system (FreeRTOS v9.0.0 with Systemview 2.42) we have a lot of timers that perform different tasks, but we only see the timer daemon task in system view. It would be really useful to see which timer is running (ideally the timer name).
FreeRTOS provides the following timer trace hooks:
traceTIMER_CREATE( pxNewTimer )
traceTIMER_CREATE_FAILED()
traceTIMER_COMMAND_SEND( xTimer, xMessageID, xMessageValueValue, xReturn )
traceTIMER_EXPIRED( pxTimer )
traceTIMER_COMMAND_RECEIVED( pxTimer, xMessageID, xMessageValue )
And Systemview has the API commands (among others):
apiID_XTIMERCREATE
apiID_PVTIMERGETTIMERID
apiID_VTIMERSETTIMERID
apiID_XTIMERISTIMERACTIVE
apiID_XTIMERCREATETIMERTASK
apiID_XTIMERGENERICCOMMAND
The first question is where can I find the documentation for the API commands (esp. arguments they take)?
Secondly, how to send the correct commands so that systemView can tell me which timer is executing (based on the traceTIMER_EXPIRED( pxTimer ) hook probably)?
Thanks,
Henry