STM32F411 going into HardFault when task from interrupt is triggered

Hi @aggarg I will be able to check the TCB latter. Is there anything special to monitor on the TCB?

Regarding my previous post I found that according to the reference manual DMA2_Stream0 has a priority of 63 whereas ucMaxSysCallPriority goes from 32 to 144 and litteraly no interrupts could have this value.

So the big question is why does it change?

I also checked that my stack arrays are not too big, with a stack size of 500 and 4 bytes per word then it should fit into the 128Kbytes of RAM I got.