Skip to main content
Associate
June 19, 2024
Question

How to debug FreeRTOS network status in SPC5Studio?

  • June 19, 2024
  • 2 replies
  • 839 views

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

Erwan YVIN
ST Employee
June 19, 2024

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

frankbiAuthor
Associate
June 20, 2024

Thank you  Erwan.