cancel
Showing results for 
Search instead for 
Did you mean: 

Facing an issue with open bootloader on STM32U0

kRaje.1
Associate II

Hi Team,

I am facing an issue regarding the open bootloader. Recently, I downloaded the open bootloader source code for the STM32U0 boards, and I was successfully able to load hex files via the STM32Cube Programmer over UART.

However, I encountered a problem when I try to load hex files with incorrect addresses. Specifically, when I load an application hex file with an incorrect address, the STM32Cube Programmer is erasing my bootloader source code.

For example, when I flash my bootloader source at address 0x8000000 and load an application hex file with the address 0x8000100, everything works as expected and I do not encounter any issues. But if I try to load an application hex file with an incorrect address like 0x8000004, the bootloader source code gets erased.

I have attempted to handle this issue within the bootloader source code, but I am unable to address it from the source code side. Is there a way to prevent this from happening or handle such situations in the bootloader code?

I would appreciate your guidance on how to resolve this issue.

0 REPLIES 0