cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer Erasing External Flash Multiple selection

exarian
Associate III

Hey Folks!

Is there a way to select multiple sectors to erase on an External Flash, instead of clicking on every entry?

exarian_0-1742310571942.png

I have tried holding down SHIFT, e.g. Click 0, Hold shift, Click 5. That just selects 5. 

Alternatively is there a CLI tool where I can provide an address range to erase?

I am using 2.19:

exarian_1-1742310679959.png

Kind Regards,

 

1 ACCEPTED SOLUTION

Accepted Solutions
exarian
Associate III

I managed to get it right using the CLI tool, specifically making use of the "-e [START END ]" command.

STM32_Programmer_CLI.exe -e [START END] -el <PATH-TO-LOADER.stldr> <OTHER ARGS TO CONNECT>

exarian_0-1742315451371.png

It would be great however if the GUI had the option to select multiple (But not just ALL).

 

Kind Regards,

View solution in original post

1 REPLY 1
exarian
Associate III

I managed to get it right using the CLI tool, specifically making use of the "-e [START END ]" command.

STM32_Programmer_CLI.exe -e [START END] -el <PATH-TO-LOADER.stldr> <OTHER ARGS TO CONNECT>

exarian_0-1742315451371.png

It would be great however if the GUI had the option to select multiple (But not just ALL).

 

Kind Regards,