FreeRTOS step by step evaluation

karthiprime wrote on Thursday, January 03, 2013:

Hi all,
    I want to analysis my FreeRTOS program in a step by step TASKWISE manner. How can I do that?? Any softwares??
Thanks

rtel wrote on Thursday, January 03, 2013:

Sorry - it is not clear to me what it is you are saying you want to do?  Are you wanting to debug your program, analyse the run time behaviour, analyse the source code, etc?

If you are wanting to view the order in which your tasks are running and making API calls then you can use FreeRTOS+Trace (https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_Trace/FreeRTOS_Plus_Trace.html)

Regards.

karthiprime wrote on Thursday, January 03, 2013:

ya I meant to do the following things:
1. order in which tasks are running
2. see individual tasks information(status, stack etc)

So how can I do that?
So I need FreeRTOS+Trace to can do that?
(I can add the Trace feature to the normal FreeRTOS kernel by adding library or somekind??)

Thanks!!

rtel wrote on Thursday, January 03, 2013:

FreeRTOS+Trace uses the trace macros that are already embedde in the core FreeRTOS kernel source code.  There is a buildable demo for the FreeRTOS Windows simulator here:
http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_Trace/Free_RTOS_Plus_Trace_CLI_Example.shtml

Task states, stack uses, etc. can be obtained using the API functions, or just viewed using one of the StateViewer plug-ins (available for IAR and Eclipse).

Regards.

karthiprime wrote on Thursday, January 03, 2013:

got it… thanks for the time!

Hi sir,
The link you provided is not working. Please have look on that.
URL:
https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_Trace/FreeRTOS_Plus_Trace.shtml)?_ga=2.215317335.1512549420.1583293510-1008506407.1579581087

Regards,
Sai Kumar korada

1 Like

It was 2013 when the link was posted - but in any case it seems to work for me now.