Skip to main content
Graduate
December 16, 2024
Question

Debugging NUCLEO-H723ZG

  • December 16, 2024
  • 6 replies
  • 1239 views

Does any one know if this board can be debugged via the USB port that is connected to the PC or does one require an external debugging link?

If external is required which one would you guys recommend I do have ST-LINK V2 which I use for smaller boards.

Would like to know what is recommended.

    This topic has been closed for replies.

    6 replies

    Technical Moderator
    December 16, 2024

    Hello @erastusC ,

    There are two different ways to program or debug the on-board STM32H7 MCU:
    • Using the embedded STLINK-V3E, connect PC to CN1 USB.
    • Using an external debug tool connected to the MIPI-10 connector (CN5)

    I advise you to follow the methods described in the UM2407, in "6.3 Embedded STLINK-V3E", 

    and "6.3.3 Using an external debug tool to program and debug the on-board STM32H7" sections.

    Check and configure properly the jumpers and solder bridges, for that you can follow the recommendations in the "6.7 Solder bridges and jumpers" section.

    Graduate II
    December 16, 2024

    Review the picture of the board, the 1x1 cm chip at the North End of the board is an ST-LINK/V3, this provides for primary debugging and a VCP that connects to one of the H723's USART's

    https://www.st.com/en/evaluation-tools/nucleo-h723zg.html

    h723_stlink_v3.jpg

    erastusCAuthor
    Graduate
    December 17, 2024

    Thank you for the help. I was not 100% sure.  What I don't understand is the debug serial wires  via MUX is on PA13 & PA14

    erastusC_0-1734422390427.png

    CN1 is connected to PB14...

    erastusC_1-1734422500262.png

    SO the IDE software does not see the ST-Link:

    erastusC_2-1734422726325.png

     

    ST Employee
    December 18, 2024

    CN1 is connected to PB14

    ---- PB14 is the pin of STLINK MCU, means through USB connector(CN1), the PC talk to STLINK.

    erastusCAuthor
    Graduate
    December 18, 2024

    Please see the problem I have.  To debug via USB the IDE must point the serial line to PB 13 & PB 14 and NOT NOT NOT PA 13 & PA 14.

     

    The IDE software connects the debugger to PA 14 & PA 13 AND NOT TO PB 13 & 14.

     

    So how do I get the IDE to connect the debugger to PB 13 & PB 14 and not PA 13 & PA 14?

     

    erastusC_0-1734505613201.png

     

    erastusCAuthor
    Graduate
    January 4, 2025

    After a long struggle I finally got an error message that states the boards firmware must be upgraded.

    So I down loaded STM v3-15-7 run it.

    The software picked up the board via USB (brand new cable)  started the upgrade and now I get this error:

    erastusC_1-1736022958901.png

     

     

    erastusCAuthor
    Graduate
    January 4, 2025

    I tried about 10 times and it keeps on crashing at this point