LPC55S69 : writing and reading on internal flash with trustzone

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

LPC55S69 : writing and reading on internal flash with trustzone

1,170件の閲覧回数
mashraf
Contributor I

i have two projects (secure and non secure) with trustzone, now I was trying to write on the internal flash from the secure code, as soon as the call to flash_init is made, the debugger jumps to the hardfault handler with the IBUSERR(0) Instruction bus error.

i checked this ticket:

https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Using-Flash-driver-in-TrustZone/m-p/10121...

i did these changes:

1- changed clock to be 96_MHZ

2- switched the entire Boot ROM memory region (0x13000000 - 0x1301FFFF) from NS-User to S-Priv

3- set the ANACTLR, FLASH, GPIO, INPUTMUX and PRINCE slaves to security level S-Priv

still getting same hardfault handler with the IBUSERR(0) Instruction bus error.

0 件の賞賛
返信
1 返信

1,133件の閲覧回数
RaRo
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信