cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug FreeRTOS network status in SPC5Studio?

frankbi
Associate II

Dears,

When debugging SPC58N's network function. When I add printf function using RUN IO components.

It always crash. I want to ask how to debug freeRTOS TCPIP protocol? which method to check how to get statistics info and etc.

Thanks for help.

2 REPLIES 2
Erwan YVIN
ST Employee

Hello Franck ,

printf is time consuming for embedded part

I suspect a stack pointer overflow.

i recommend to check the PC, R13 and R14 or increase the stack memory.

do not put your printf in an interruption.

          Best Regards

                     Erwan

frankbi
Associate II

Thank you  Erwan.

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.