Skip to main content
Visitor II
July 7, 2020
Question

Cannot connect to STM32H745 (NUCLEO-H745ZI-Q) either with the IDE or ST-Link

  • July 7, 2020
  • 4 replies
  • 1252 views

When I try to upload code to the board through the IDE it says:

Error in final launch sequence:

Error in initializing ST-LINK device.

Reason: (4) No device found on target.

When I try to connect through ST-LINK it says:

Cannot connect to target

I'm not sure what else I can do

(The code I am trying to upload is just the initial stuff the IDE creates when creating a new project)

    This topic has been closed for replies.

    4 replies

    Visitor II
    July 7, 2020

    More detail.

    Ever been able to connect?

    IDE?

    Did you have a look at https://www.st.com/resource/en/application_note/dm00629855-getting-started-with-projects-based-on-dualcore-stm32h7-microcontrollers-in-stm32cubeide-stmicroelectronics.pdf ?

    I have got an NUCLEO-H745ZI-Q and I was able to connect from IDE connecting to the inbuild debugger.

    Visitor II
    July 7, 2020

    How are you connecting the board to your computer? It has an stlink3​ built in just be sure to use the correct usb connector. I just went through connecting one of these with Eclipse and the built in debugger of the first time this morning. After figuring out how to add a new debug configuration for the h745 it works.

    Visitor II
    July 7, 2020
    Visitor II
    July 8, 2020

    I think they sorted the issue with accidentally bricking the board. My mxrube generated startup code defaulted to simple smps.

    Interestingly, dual core debugging with eclipse is pretty simple. No messing with the interaction between 2 debug configs like the other ides. One configuration, just make sure to click to make the stlink shareable and then you can configure which core breaks​ at main from reset and if one core breaking should halt the other. Not sure why STM buried the instructions for eclipse at the bottom of the doc. There is almost nothing to it.