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!