cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f767Zi freezes when using strings

Karan Kolhe
Associate III

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

2 REPLIES 2

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
Up vote any posts that you find helpful, it shows what's working..
Ozone
Lead II

> 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.