How to erase specific sectors on STM32CUBE IDE? [ Solved ]
Problem:
I am trying to create a bootloader and a user application to do my Over the air project. So for custom bootloader I had selected sector 0 and sector 1 of flash memory. (Address starts at 0x08000000) and from sector 2 I want my user application. So I created both of them and when flashing bootloader I don't have any problem with cubeIDE. Now when I flash application on sector 2, the earlier bootloader section 0 is getting erased. How can I prevent from happening in cubeIDE. If I use cube programmer I have control over the options, but how can I do that with STM32 Cube Ide?
-------------------------------------------------------------------------------------------------------------------------------
Details:
I use STM32CubeIDE
Version: 1.6.0
Build: 9614_20210223_1703 (UTC)
Hardware: Nucleo-F411re