Skip to main content
Visitor II
July 20, 2025
Question

On Board STLink (STM32F103CBU6) Fails to Connect to STM32H753VIH6 MCU

  • July 20, 2025
  • 1 reply
  • 234 views
Hello everyone,
I've designed a development board featuring an on-board STLink (based on STM32F103CBU6) and an on-board MCU (STM32H753VIH6. However, I'm encountering a frustrating issue with the on-board STLink functionality.
I've flashed the STLinkV2.J28.M18 firmware onto the on-board STLink, and it seems to be recognized correctly by my system. Both the virtual COM port and the STLink device appear in the Device Manager without any errors. That part seems to be working as expected.
The problem arises when I try to use this on-board STLink to connect to the STM32H753VIH6 MCU. It simply won't establish a connection. I've done some troubleshooting to narrow things down:
  • I've confirmed that the power supply to both the STLink and H753 MCU is stable and correct.
  • The H753 MCU itself is functioning properly.
  • Most importantly, I can successfully program and debug the H753 MCU using an external STLink connected to the board's SWD interface. This confirms that the MCU's SWD interface is working correctly.
Only the on-board STLink fails to connect to the MCU, despite being recognized by the system.
My primary suspicion is that there might be a compatibility issue between my on-board STLink circuit design and the STLinkV2.J28.M18 firmware. I've also tried flashing several other versions of the STLink firmware, but none of them resolved the connection problem.
Has anyone encountered a similar issue or have insights into what might be causing this discrepancy between the on-board and external STLink behavior? I'd appreciate any suggestions or guidance on how to further diagnose and resolve this problem.
Thanks in advance for your help!
8634043886733156352-image.png8634043851060330496-image.png 8634043828356562944-image.png8634043908300132352-image.png

 
 
    This topic has been closed for replies.

    1 reply

    Super User
    July 21, 2025

    From what I could find, the ST-Link Utility was deprecated about a year before the STM32H753 was released. Any firmware that was written before the STM32H7 was a chip probably isn't going to work with it.

    Use a genuine programmer, a standard programming port, and STM32CubeProgrammer and your issues will disappear.