S32K146: after enable secure boot, first powercycle will get secure boot failed (FCSESTAT->BOK==0)

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

S32K146: after enable secure boot, first powercycle will get secure boot failed (FCSESTAT->BOK==0)

583件の閲覧回数
baichuan
Contributor II

Hi

like the subject said,

1. called CSEC_DRV_BootDefine(0x14000 * 8, CSEC_BOOT_SERIAL) to enable secure boot.

2. powercycle to let chip calculate BOOT_MAC and load it to CSEc automatically and stay in bootloader.

3.  powercycle again to see uartlog to check register FCSESTAT->BOK, the value is 0, secure boot failed.

4. But when I restart it again, uartlog shows register FCSESTAT->BOK == 1, secure boot success.

it didn't happen in S32DS debug. I want to know what caused this problem? How to resolve it? 

J-FLASH version: 6.88

Thanks

タグ(2)
0 件の賞賛
1 返信

555件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

this works as expected on my side, I can't see any issues. The BOK is set as expected right after second reset or power cycle (I tested both).

What is the time between the power cycles? Isn't that some extremely short period?

Regards,

Lukas

0 件の賞賛