Skip to main content
Karan Kolhe
Associate II
December 3, 2019
Question

STM32f767Zi freezes when using strings

  • December 3, 2019
  • 2 replies
  • 748 views

I am using freeRTOS , there are two threads one is for TouchGFX gui task and other for my main task.

I have given 4096*4 bytes of stack for each task and heap size in freeRTOS config is 65536

Now, when I declare a string controller freezes. I want to use strings to manipulate .Ini file . This looks like a memory overflow or something

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
December 3, 2019

Perhaps you could use a debugger or something?

Instrument the code, and output useful diagnostics if it gets a Hard Fault or ends up in the Error_Handler routine.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Ozone
Principal
December 3, 2019

> Now, when I declare a string controller freezes.

How do you "declare strings" ?

"Freezes" is not very helpful. Use a debugger (or instrumentation) to check what fault is really happening, and where.

Us people on the other end have no magic crystal balls.