Hard Fault in FreeRTOS when SECURE_ONLY turned off?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hard Fault in FreeRTOS when SECURE_ONLY turned off?

1,008 Views
chect1
Contributor I

Running into a weird issue. I'm using the default setup in the SDK to run some FreeRTOS demos and found I got a hard fault when I change configRUN_FREERTOS_SECURE_ONLY to 0

I noticed that there is a spot in 'Middleware' where you can select between a nonsecure port and a secure context. I want this to run as fast as possible and there is no need for security.

Attached a screenshot with the details. I thought I had changed something like a priority that broke it, but I bisected it down to this single config change.

Labels (1)
0 Kudos
Reply
1 Reply

971 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @chect1 ,

Please refer to https://www.freertos.org/2020/04/using-freertos-on-armv8-m-microcontrollers.html

It shows that if you don't need security, you should keep this value to 1, not clear to 0.

 

Regards,

Jing

 

0 Kudos
Reply