Hello,
Using Keil RTX, I have a very simple program with some threads, created like this: osThreadCreate(osThread(fram_test),NULL);
All is running fine, until I introduce a static variable in a thread, which causes the processor to hang (the debugger tells me the hardfault_handler is where execution ends). Increasing stack and heap sizes does not make a difference.
Maybe anyone has an idea about where I can start looking for what is causing this?
Thanks, Marleen
Increasing stack and heap sizes does not make a difference.
Of course it doesn't. Static variables live neither on the stack nor on the heap.