2023-05-10 11:01 PM
Nuttx operating system with stm32l562 board, compile the bin file of the board, and then according to the board directory, readme.txt in the operation through the TFM load the bin run, will give the following secure fault problem:
[Sec Thread] Secure image initializing!
ABCDF
[Sec Handler] Oops... Secure fault!!! You're not going anywhere!
[INF] Starting bootloader
[INF] Checking BL2 NV area
[INF] Checking BL2 NV area header
[INF] Checking BL2 NV Counter consistency
[INF] Consistent BL2 NV Counter 3 = 0x1000000
[INF] Consistent BL2 NV Counter 4 = 0x1000000
[INF] Swap type: none
[INF] Swap type: none
[INF] verify counter 0 1000000 1000000
[INF] counter 0 : ok
[INF] verify sig key id 0
[INF] signature OK
[INF] verify counter 1 1000000 1000000
[INF] counter 1 : ok
[INF] verify sig key id 1
[INF] signature OK
[INF] Bootloader chainload address offset: 0x17000
[INF] Jumping to the first image slot set to BL2 SHARED DATA2XX_HUKCUSTOMIZATION [INF] Code c002900 c011bfe
[INF] hash TFM_SBSFU_Boot 12f2c685 .. 57deacd1
[INF] otfdec key b8, c0, 35, 4f, 78, 9e, e4, 62,
[INF] otfdec key 37, 7a, f0, 8, 51, 96, 70, 2b,
I have followed the steps of readme.txt completely, but I still have this problem. Has anyone encountered this problem?