cancel
Showing results for 
Search instead for 
Did you mean: 

OBL_LAUNCH with Bootloader (ST ROM) in STM32L0

qbaj
Associate II

Hi,

I have STM32F030 which is connected to STM32L082 with UART (Rx/Tx), RESET and BOOT0 line. When needed STM32F030 is able to restart STM32L082, run ROM Bootloader, erase and program flash.

But when I have clean STM32L082, empty flash on it on production, STM32F030 has a problem with restart and run main program for STM32L082. To run it, it needs power reset.

I've read about OBL_LAUNCH, but it does not work.

I try to:

  • write value 0x89ABCDEF to 0x4002200C address FLASH_PEKEYR
  • write value 0x02030405 to 0x4002200C address FLASH_PEKEYR
  • write OBL_LAUNCH to 0x40022004 - address FLASH_PECR

And I got NACK in 1st command for setting 0x4002200C address.

And my question, does Bootloader (ST ROM) have access to these addresses ? 

BR

Jakub

0 REPLIES 0