You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running ThreadX from tag v6.4.1_rel with modules-enabled kernel.
When compiled with TX_SINGLE_MODE_SECURE - it hard faults after first enter to the scheduler and PendSV interrupt.
PendSV interrupt executes until returning from exception.
EXC_RETURN was set to 0xFFFFFFBC and that was causing aforementioned hardfault.
After applying patch below - scheduler runs successfully.
I am running ThreadX from tag v6.4.1_rel with modules-enabled kernel.
When compiled with TX_SINGLE_MODE_SECURE - it hard faults after first enter to the scheduler and PendSV interrupt.
PendSV interrupt executes until returning from exception.
EXC_RETURN was set to 0xFFFFFFBC and that was causing aforementioned hardfault.
After applying patch below - scheduler runs successfully.
It might be that I am not understanding Trustzone secure/non-secure implications.
Following addition was present in MemManage handler e.g. - other interrupts do not have it.
Could someone suggest if this is a scheduler bug for CM33/CM23 and other CMSE architectures or I am configuring my microcontroller wrongly?
The text was updated successfully, but these errors were encountered: