Skip to main content
mluerkens
Associate III
July 12, 2023
Question

STM32_Programmer_CLI.exe, exclude sectors from programming

  • July 12, 2023
  • 1 reply
  • 823 views

Hi, 

I'm having an STM32L4P5.

In sectors [0 7] there is a bootloader, in sectors [8 75] the application is located.

With STM32_Programmer_CLI.exe  I can issue an erase for specific sectors and it seems to work. But STM32_Programmer_CLI.exe wants to programm all the time beginning with sector 0. That doesn't matter for the bootloader, but programming the application overwrites the bootloader. --skiperase is not an option, because STM32_Programmer_CLI.exe still tries to programm the application at sector 0, and since it isn't erase, it fails.

I would need an option for excluding sectors from programming. 

Tx

Matthias

This topic has been closed for replies.

1 reply

Pavel A.
Super User
July 12, 2023

Do you have the latest programmer version? Similar bugs have been reported here, may be fixed in the latest update.