[i.MX RT1172] Signed image cannot boot, and breaks at 0x223104

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

[i.MX RT1172] Signed image cannot boot, and breaks at 0x223104

ソリューションへジャンプ
2,230件の閲覧回数
Miller
Contributor II

I am developing with RT1172 M7. MCU boots failed and breaks at 0x223104.

Does anyone have suggestions for this case? Thank you very much!

Before that, I have written the SRK_1_2_3_4_fuse and closed SEC_CONFIG, then signed the image and burned it into flash.

Miller_0-1616062019978.png

 

Additional information:

a. Memory

Miller_1-1616062291397.png

Miller_2-1616062306394.png

b. Generate HAB4 PKI Tree.

Miller_3-1616062336806.png

c. Generate SRK table and fuse.

Miller_0-1616063353041.png

d. Sign the image and merge the signature bin.

Miller_2-1616063481018.png

e. Write SRKH and check.(fuse index 0x30~0x37)

Miller_3-1616063496372.png

f. Write SEC_CONFIG fuse and check. (fuse index 0x16)

Miller_4-1616063507742.png

g. Burn the signed image and reboot.

Miller_5-1616063516721.png

More info you can find in the attachment.

タグ(1)
0 件の賞賛
返信
1 解決策
2,156件の閲覧回数
Miller
Contributor II

I have resolved this issue.

The critical step is: merge the right FDCB to address 0x30000400.

(Once your code changes, the FDCB may change)

Miller_0-1617356844076.png

 

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
2,193件の閲覧回数
victorjimenez
NXP TechSupport
NXP TechSupport

Hello, 

To provide you better support I will need more information from your end. Are you using our EVK or a custom board? If you are using a custom board, did you try to flash your image before securing it? If so, did it work? Probably the problem is not related to securing your board but with the hardware. How are you loading the image into the flash? 

Regards,
Victor 

 

0 件の賞賛
返信
2,157件の閲覧回数
Miller
Contributor II

I have resolved this issue.

The critical step is: merge the right FDCB to address 0x30000400.

(Once your code changes, the FDCB may change)

Miller_0-1617356844076.png

 

0 件の賞賛
返信
2,167件の閲覧回数
Miller
Contributor II

Hi Victor,

Thanks for your support.

a. I'm using a custom board.

b. Sure, I have flashed the image before securing it, and it runs normally.

c. As you can see in the picture at step (g). I use J-Link to burn the image.

 

And another question, how can I get the HAB event with RT1172?

0 件の賞賛
返信
2,213件の閲覧回数
Miller
Contributor II

And also tried with different csf configuration.

Miller_1-1616133117057.png

@kerryzhou  Please help, thanks.

 

0 件の賞賛
返信
2,213件の閲覧回数
Miller
Contributor II

Modify the csf address and still not work.

Miller_0-1616133017211.png

 

0 件の賞賛
返信