2019-12-02 11:41 PM
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
2019-12-02 11:56 PM
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.
2019-12-02 11:58 PM
> 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.