This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX thread - static var - hardfault

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