cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in ST-LINK Utility, sector 15 not erased for dual bank flash

Benjamin ROBIN
Associate II
Posted on June 20, 2018 at 09:52

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
5 REPLIES 5
Imen.D
ST Employee
Posted on June 20, 2018 at 10:56

Hello

benjarobin

We will check this internally and come back to you.

With Regards,

Imen.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Benjamin ROBIN
Associate II

Posted on July 02, 2018 at 10:22

  

Thank you DAHMEN.IMEN do you have any news about it ?

Regards,

Benjamin

Benjamin ROBIN
Associate II

@Imen DAHMEN​ Sorry to ask again, but since my case number 00062897 was closed, I will ask here : Any news ?

Regards,

Benjamin

The Utilities have been deprecated, migrate to STM32 CubeProgrammer

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Imen.D
ST Employee

Hello @Benjamin ROBIN​ ,

This issue will be fixed with STM32 ST-LINK Utility in version v4.3.0, and will be published soon on ST web site.

Please, keep an eye out for the next update!

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen