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
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
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.
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
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
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