LPC55S69 : Secure boot vs TrustZone

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55S69 : Secure boot vs TrustZone

ソリューションへジャンプ
962件の閲覧回数
trescurieux
Contributor III

Hi

* I have a simple FreeRTOS "blink" app, it works fine when flashed as plain app 

* If i sign it, flash it as signed app: It boots fine ( i have serial output), which leads me to believe the signing is ok. But it  crashes as soon as freeRTOS scheduler is started

Looking closer, the crash happens when doing the  EXC_RETURN call to switch to the 1st thread

The main difference i've spotted so far is that :

* The "plain app" is running with PSP=PSP_S => Secure mode

* The "signed app" is running with PSP=PSP_NS => unsecure mode

I tried doing the provisioning with elf2sb gui  with Use Header/TZ Enabled/TZ disabled => not better

(with TZ enabled i dont even reach the serial output)

 

So the question : Is there an assumption that TrustZone is enabled when using secure boot ?

What's the proper way to have it behave like "plain" app ? It helps as a first step to go the full trustZone way.

Any additional information would be appreciated

Thank you in advance

Tres

 

 

0 件の賞賛
返信
1 解決策
952件の閲覧回数
trescurieux
Contributor III

Found it :

"enableTrustZone": true in the json configuration file 
Works now

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
953件の閲覧回数
trescurieux
Contributor III

Found it :

"enableTrustZone": true in the json configuration file 
Works now

0 件の賞賛
返信