Skip to main content
MHo.15
Associate III
February 23, 2023
Question

Is there any major difference between STM32L476 and STM32G071 on the bootloader behavior ?

  • February 23, 2023
  • 2 replies
  • 1155 views

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 ?

This topic has been closed for replies.

2 replies

ST Technical Moderator
February 23, 2023

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
MHo.15
MHo.15Author
Associate III
February 24, 2023

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.