2023-02-23 12:39 AM
I need to develop a bootloader on STM32L476. So I adapt my code from this tutorial and codes : video https://www.youtube.com/watch?v=OkUQ3iMmiYQ&list=PLnMKNibPkDnEb1sphpdFJ3bR9dNy7S6mO using STM32G071 , However, my adapted code running on STM32L476 always crash immediately after the execution switch from bootloader to target application. I wonder if there is unknow difference between STM32L476 and STM32G07 on bootloader behavior which cause the crash ?
2023-02-23 02:02 AM
Hello @MHo.15 ,
Did you checked the Bootloader configuration and Known limitation for STM32L47xx and STM32G07xx in AN2606? Try follow the recommendation in this document.
Imen
2023-02-23 04:42 PM
Hi Imen,
Thanks a lot for your feedback. I checked AN2606.It is for using bootloader in boot ROM, but I am using open bootloader https://github.com/STMicroelectronics/stm32-mw-openbl. I think there must be something overlooked or mistaken in the target application execution environment. I checed everything mentioned in this tutorial https://www.youtube.com/watch?v=OkUQ3iMmiYQ&list=PLnMKNibPkDnEb1sphpdFJ3bR9dNy7S6mO but still can not find the cause.