cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Secure Boot

amitpramanik
Associate

Hello all,

 

We are working on STM32 Secure bootloader for STM32H7B3RIT6 MCU.

For this we taken reference code from X-CUBE-SBSFU STM32H7B3I-DK .
As of now we have successfully migrated the SBSFU & SECORE code for STM32H7B3I-DK to Our MCU.
We have prepared our Test app that blinks led and it works fine with secure boot.

However without main application code it is not working.

We have taken the reference of linker file of Application (Image User app) by X-CUBE-SBSFU. On our main application we can jump to the main function and execute the code up to the HAL_InitTick(TICK_INT_PRIORITY) call within HAL_Init, the execution stops immediately after this line. I suspect that access to a system register might be getting locked, which is causing the issue.

 

Here i am attaching our main application linker file for the reference.
On based of this Doc "section 8.1 from Integration guide for the X-CUBE-SBSFU" we have also tired by updating VTOR.
We required the some information like what are configuration needs to be done after or before jumping to main application. 


Kindly share your view for the same thanks.

 

0 REPLIES 0