Skip to main content
Visitor II
June 20, 2018
Question

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

  • June 20, 2018
  • 5 replies
  • 1059 views
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
    This topic has been closed for replies.

    5 replies

    Technical Moderator
    June 20, 2018
    Posted on June 20, 2018 at 10:56

    Hello

    benjarobin

    We will check this internally and come back to you.

    With Regards,

    Imen.

    Visitor II
    July 2, 2018

    Posted on July 02, 2018 at 10:22

      

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

    Regards,

    Benjamin

    Visitor II
    August 19, 2018

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

    Regards,

    Benjamin

    Graduate II
    August 19, 2018

    The Utilities have been deprecated, migrate to STM32 CubeProgrammer

    Technical Moderator
    October 12, 2018

    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