Issue in jump to application using signed bin file

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

Issue in jump to application using signed bin file

3,820件の閲覧回数
Shealtiel
Contributor II

blhost -t 5000 -p COM26,115200 -j -- write-memory 0x60010000 signed_blinky.bin

I'm writing signed bin file  to 0x60010000 memory address location , when I use jump to application its going to hard fault, I tried using 0x60012000 address location also there also I'm facing same issue but unsigned bin file I can able to jump with out any issue.

tried reset isr address also there also I'm facing hard fault issue.

is there any changes need to be done to execute the signed bin file

Thanks,

Shealtiel

0 件の賞賛
返信
10 返答(返信)

3,799件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @Shealtiel 

How are you implementing the jump to the signed led blinky? From your the application code? It sounds like  you had a bootloader code previously running and that you are attempting to boot to signed application after using HAB ROM API ? If the issue is develop boot code to jump to the app, I would suggest checking the Flashloader source code from the SDK, or the NXP SBL, which implements jump of signed application. Else, please provide more details regarding your application. 

I hope this could help. 

Diego

0 件の賞賛
返信

3,749件の閲覧回数
nxf64834
NXP Employee
NXP Employee

Hi Diego,

Hope you are doing good!!

This is based on i.MX RT1020. We have previously shared the firmware to authenticate the signed target image by using HAB APIs in secondary bootloader. Now the issue that is mentioned in Original Post is regarding jumping to the Target image once that image is successfully authenticated. I am hereby attaching the authentication results for your reference.  

I am able to replicate the issue at my end. Can you please advise if similar issue has been observed previously and what was the workaround? If possible, we can plan a joint debug session to check on the same.

Thanks.

0 件の賞賛
返信

3,743件の閲覧回数
Shealtiel
Contributor II

Hi 

Even I'm getting similar output because I'm using Authenticated HAB but not enabling the HAB (close HAB). But after authentication process I'm using jump to application function its not jumping to the application but if i do unsigned bin (application) its jumping properly.

facing issue in signed bin file.

Thanks,

Shealtiel 

0 件の賞賛
返信

3,737件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @Shealtiel  

Thank you for your response,  ok, lets keep working on this, we will keep you updated. 

@nxf64834 Let me sync with you over teams.

Diego

0 件の賞賛
返信

3,723件の閲覧回数
Shealtiel
Contributor II

Hello

Okay Sure @diego_charles 

Thanks

Shealtiel

0 件の賞賛
返信

3,721件の閲覧回数
Shealtiel
Contributor II

Hello

How to connect you in Teams?

Thanks

Shealtiel

0 件の賞賛
返信

3,696件の閲覧回数
nxf64834
NXP Employee
NXP Employee

Hi @Shealtiel ,

Boby this side. I have contacted Diego on Teams and shared the required documents with him for testing.

Thanks. 

0 件の賞賛
返信

3,389件の閲覧回数
nxf64834
NXP Employee
NXP Employee

Hi @diego_charles , did you got chance to check on above?

0 件の賞賛
返信

3,307件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @nxf64834  and @Shealtiel 

I am sorry for the delay, I am currently taking a look.

Diego

0 件の賞賛
返信

3,234件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @Shealtiel  and @nxf64834 

Thank you very much for your patience. 

I received your files from Boby and I made some adaptations to the BD files, It seems that I am able to jump to the signed led_blinky using my i.MX RT1020-EVK.

I created an internal ticket to share with you all my files and setup instructions. 

I need your help to determine if I am missing something to replicate the issue. 

Diego

0 件の賞賛
返信