Are the erase commands in STM3CubeProgrammer broken? The transmitted commands on the UART do not match the requested functions
I currently implement my booloader (bases on the OpenBootloader) and test it against the STM32CubeProgrammer. I use v2.9.0 on Linux. Unfortunately when erasing sectors it does not send the expected command sequences. The behaviour is identical on CLI and GUI.
Two examples:
I want to erase sectors 15 to 18
Command line: ./STM32_Programmer.sh -c port=/dev/ttyUSB1 br=19200 -vb 3 -e 15 16 17 18
Output:
[...]
data sent successfully to target:
0002000f001000110c
[...]
Sector 18 is missing in the list
Even worse, only wanting to erase one single sector
Command line: ./STM32_Programmer.sh -c port=/dev/ttyUSB1 br=19200 -vb 3 -e 42
Output:
[...]
data sent successfully to target: 0xffff00
[...]
0xffff is a full chip erase?!
Can someone tell me whats going wrong there? Do I miss something?
Addendum:
These errors only occur when conencted to the Bootloader with UART. With a direct swd connection everything works perfectly
