Skip to main content
Explorer
December 20, 2023
Solved

Unable to connect STM32H725 custom board

  • December 20, 2023
  • 4 replies
  • 3142 views

Hello Experts,

 

I designed my custom board with reference to AN5419 application note (Getting started with STM32H723/733, STM32H725/735 and STM32H730 Value Line hardware development). but it doesn't work.

When i apply to power to the board and connect it to ST-Link utility, Program is displayed "can not connect to target".

 

I'm a newbie about circuit design. so i referenced the application notes but I am not sure if it's designed properly.

I simply want to use GPIO port and communications.

Please let me know what i can check.

 

Sincerely,

SH.

    This topic has been closed for replies.
    Best answer by TDK

    Quite a few things not following the application note:

    • R116 is unnecessary but isn't causing issues.
    • VCAP capacitors should be 2x2.2 uF. VCAP pins should be tied. Possibly not causing issues.
    • Typically VDDA is downstream of the inductor and VDD is upstream, the reverse of what you have. Possibly not an issue.

    I feel like none of the above issues is the root cause though. Could be wrong.

    As with any chip that is unresponsive:

    • Verify part orientation. pin 1 is bottom left with "STM32" text oriented normally from left to right.
    • Verify VDD and VDDA voltage, should be 3.3V.
    • Verify VCAP voltage, should be ~1.2V
    • Use a genuine debugger.
    • Use supported software to program: STM32CubeProgrammer

    > ST-Link utility

    Has been deprecated for many years and doesn't work with H7 family.

    4 replies

    Graduate II
    December 20, 2023

    The ST-LINK Utilities are too old. You need to be using STM32 Cube Programmer. 

    Check power and ground connection to ST-LINK and SWDIO/SWCLK are the right way around.

    sanghAuthor
    Explorer
    December 20, 2023

    Thank you for your quick response.

    However, I also tried to connect to STM32CubeIDE but it doesn't connect.

     

    Below is the contents of the console.

    STMicroelectronics ST-LINK GDB server. Version 7.5.0

    Copyright (c) 2023, STMicroelectronics. All rights reserved.

     

    Starting server with the following options:

    Persistent Mode : Disabled

    Logging Level : 1

    Listen Port Number : 61234

    Status Refresh Delay : 15s

    Verbose Mode : Disabled

    SWD Debug : Enabled

    InitWhile : Enabled

     

    Target no device found

     

    Error in initializing ST-LINK device.

    Reason: No device found on target.

     

     

     

     

    TDKAnswer
    Super User
    December 20, 2023

    Quite a few things not following the application note:

    • R116 is unnecessary but isn't causing issues.
    • VCAP capacitors should be 2x2.2 uF. VCAP pins should be tied. Possibly not causing issues.
    • Typically VDDA is downstream of the inductor and VDD is upstream, the reverse of what you have. Possibly not an issue.

    I feel like none of the above issues is the root cause though. Could be wrong.

    As with any chip that is unresponsive:

    • Verify part orientation. pin 1 is bottom left with "STM32" text oriented normally from left to right.
    • Verify VDD and VDDA voltage, should be 3.3V.
    • Verify VCAP voltage, should be ~1.2V
    • Use a genuine debugger.
    • Use supported software to program: STM32CubeProgrammer

    > ST-Link utility

    Has been deprecated for many years and doesn't work with H7 family.

    sanghAuthor
    Explorer
    December 20, 2023

    Hello,  i tried what you propsed. unfortunately, but, it doesn't still work.

     

    I resoldered VCAP with the attached file... is that correct?

    VDD and VDDA voltage is 3.29V. (using Digital multimeter)

    VCAP voltage is 0.9mV (VCAP1, 2, 3)

    and i tried using STM32CubeProgrammer.  

     

    I appriciated your help. but is there any other checklist i can try it?

     

    Super User
    December 20, 2023

    > VCAP voltage is 0.9mV (VCAP1, 2, 3)

    This is an issue that will prevent booting. Something isn't right with your hardware. Your change looks good, however.

    Perhaps there are workmanship issues. Perhaps bad solder joints or solder bridges.

    > I appriciated your help. but is there any other checklist i can try it?

    Perhaps show a high resolution photo of the board.

    Does STM32CubeProgrammer recognize your programmer? Does it show target voltage correctly?

     

    sanghAuthor
    Explorer
    December 21, 2023

    Hello TDK,

    VCAP capacitors should be 2x2.2 uF. VCAP pins should be tied.

    > I tried again with another board. Fortunately, I confirmed that it is connected to STM32CubeProgrammer. Probably,  I think i made a mistake while resoldering.

    Thank you so much for your advice. but I should be more careful next time..

     

     

    Sincerely

    SH.

    Graduate II
    December 22, 2023

    In addition to what TDK noted, the R115 is also unnecessary and will cause HSE issues. And what for exactly is the D11 there?