2022-03-10 07:45 AM
I'm using the last 2 sectors in Flash for storing user data, but when I reprogram the firmware via STM32CubeProgrammer (uart) it automatically erases those sectors too.
If I download the firmware via CubeIDE (jtag/swd port), the calibration sectors do not get erased.
Is there a way to to configure the CubeProgrammer to only erase the first few sectors before programming?
2022-03-11 07:13 AM
The behavior of STM32CubeProgrammer's UART mode isn't very well defined. I would try using the command line to see if you get different results.
2022-03-14 02:00 AM
Hi @bnguy.1 ,
Similar issue is fixed in last CubePRogrammer version 2.10.0, can you try please and tell me if it is OK?
Houda