Skip to main content
Associate
June 19, 2024
Question

How to debug FreeRTOS network status in SPC5Studio?

  • June 19, 2024
  • 2 replies
  • 862 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.

This topic has been closed for replies.

2 replies

Erwan YVIN
ST Technical Moderator
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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
frankbiAuthor
Associate
June 20, 2024

Thank you  Erwan.