2025-04-03 7:55 PM
Hello.
I'd like to debug STM32H723ZG Nucleo Board, connecting directly with PC.
Instead of the basic USB-mini cable, is it possible to cut and work on the USB cable to separate it into 5V, DP, DM, and GND, and then directly connect it to the board for debugging?
In the User Manual,
the pins for DP and DM are PB14 and PB15.
I attatched the screenshot of manual and my hardware setup.
thanks.
2025-04-03 10:15 PM - edited 2025-04-03 10:17 PM
Referring to UM2407 User manual STM32H7 Nucleo-144 boards (MB1364)
there is STLINK-V3E USB Micro-B connector (CN1) on top for the ST-LINK debugger and
USB OTG_FS connector (CN13). You can use USB on the STM32H7 for your own purposes, but not for debugging. Debugging is via the SWD interface which is conntected to the ST-LINK debug chip on top connected to CN1.
For firmware updates (not debugging), STM32H723ZG can use USB DFU with the help of internal ROM code (System Memory Boot).
hth
KnarfB
2025-04-04 12:06 AM - edited 2025-04-04 2:34 AM
Hi,
>I'd like to debug STM32H723ZG Nucleo Board, connecting directly with PC.
Ok, we all do this. :)
>is it possible to cut and work on the USB cable to separate it into 5V, DP, DM, and GND, and then directly connect it to the board for debugging?
What is more "direct" than the USB cable direct to PC ?? separate 5V, gnd...change nothing, except: it might be no more a working USB connection. So how you want improve the micro-USB --- USB-A cable ?