Bug in ST-LINK Utility, sector 15 not erased for dual bank flash
This purpose of this message is to report a major problem that we encounter with ST-LINK Utility 4.2.0, and an STM32F765NI with 2Mbytes of flash configured in dual bank.
The following command will erase sector 14 instead of sector 15:
ST-LINK_CLI.exe -SE 15�?�?
And the following command will properly erase all sector expect the sector 15 which keep the previous content without any modification:
ST-LINK_CLI.exe -SE 0 23�?
Also if an application big enough is flashed in the bank2, the sector 15 will not be erased, and the 'program and verify' will failed at address 0x0810C000
The only current solution, using the CLI is to realize a mass erase, or with the GUI is to realize a bank2 erase, which is clearly not a good solution for us.
#st-link-cli #st-link #st-link-utility