Skip to main content
Visitor II
August 6, 2019
Question

Error in final launch sequence: Error in initializing ST-LINK error

  • August 6, 2019
  • 4 replies
  • 2114 views

Hello,

I am working with STM32F413H discovery board so far, it was working fine with inbuilt debugger but this reference board raising error like "Error in initializing ST-LINK error" while flashing.

So is it necessary to reset using cube programmer if so how ? and can we get firmware back what initial is running?

IDE : STM32cube IDE

development board :STM32F413H

    This topic has been closed for replies.

    4 replies

    Graduate II
    August 6, 2019

    If you didn't save the original firmware first there isn't a magic button to get it back.

    You could look in the Applications/Demo directories for the ST32F413-DISCO under the CubeF4 HAL trees for a buildable projects or .HEX files.

    Integration of CubeIDE and OpenOCD currently seems very poor and unstable, consider better tools?

    #MadeForSTM32

    NL.0Author
    Visitor II
    August 6, 2019

    hi clive ,

    I am not clear about your answer, My question is like I am not able to flash the demo code into the board as it is showing like "ST- LINK connection error"

    I am not understanding why this issue has been arrived suddenly, I can see com port in device manager please suggest me how to over come from this.

    Regards, Nitish

    Graduate II
    August 6, 2019

    Well if code on your device breaks the debug interface pins or powers down it won't be connectable.

    Try "Connect Under Reset" options

    Try pulling BOOT0 High so your code in FLASH doesn't run.

    NL.0Author
    Visitor II
    August 7, 2019

    Thanks Clive ,

    I have installed the STM 32 CUBE Programmer,In that GUI As you told "Connect Under Reset" option , I tried to do chip erase under reset but getting error like "No connection established before performing the erase" . what is procedure of "Connect Under Rest" can you please elaborate .

    and one more thing after pulling BOOT0 High , can I need to make that pin Low while flashing ?

    Graduate II
    August 16, 2019