Skip to main content
Visitor II
April 23, 2024
Solved

stm32h725vgt6 not able to Program

  • April 23, 2024
  • 8 replies
  • 2717 views

Sakthi_Murugesan_0-1714451112678.png

My updates schematic in this pin number 11 is now connected to gnd not to VDD

This My schematic for your reference

 

Sakthi_Murugesan_0-1713868456670.png

This is the error in cube MX. 
previously I had similar issue that time it was because of power supply.
I don't know what the mistake in this design please help me solve this.

I tried using both stlink v2 & segger jlink for programming.

Kindly help in verifying power supply area in my design.

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

    Hi Guys, I got the Solution from ST FAE team it was configuration issues,
    The STM32H725/35 having SMPS controller in it we need to configure that in the ST Cube MX by default it will select in SMPS mode but in my design, it was in LDO supply we need to Change the in STMCUBE MX, this will be available in RCC.

    Sakthi_Murugesan_0-1714524527252.png

    8 replies

    Graduate II
    April 23, 2024

    Have you checked your programming adapter?
    It does not look like the standard ST link connector layout.

    And your power supply looks like you never checked the corresponding datasheet or application note (AN5419 I think) or an example schematic.
    I can only see 100nF caps, but not the recommended 2.2µF for each VCAP pin. But that should not make it unprogrammable.

    Check AN5419 for wiring and caps when using the internal LDO.

     

    Visitor II
    April 23, 2024

    its a custom design & I tried using both stlink v2 & segger Jlink. 

    Graduate II
    April 23, 2024

    Okay, but have you checked programmer wiring, and power supply as shown in the app note?

    Visitor II
    April 25, 2024

    I checked. Wiring connection very first time it was detecting properly in stmcube programmer when I try to dumb led blink code using stmcubeIDE & putting in debugger mode & then I'm getting the error.

    Sakthi_Murugesan_0-1714017144868.png

    after this the controller not even detecting in cube programmer.
    this was happening for me for all four board which I assembled. 

    Graduate II
    April 25, 2024

    Then check again the mentioned app note about the power supply.

    Maybe your "internal LDO wiring" is wrong, combined with the wrong settings in your start-up code.

     

    Graduate II
    April 25, 2024

    I don't see all the GND ("VSS") pins in your (too low resolution) schematic.

    And as I said, the power wiring looks wrong.

    From AN5419:

    LCE_0-1714030587300.png

    And the capacitors... maybe you start using the recommended values.

    RTFM! including AN5419

    Graduate II
    April 25, 2024

    You see 1.25V at VCAP pins? Voltage at NRST ?

    VREF+ ?

    Visitor II
    April 30, 2024

    All VCAP pins I am getting 0V & NRST & VREF+ is 3V3 

    Sakthi_MurugesanAuthorAnswer
    Visitor II
    May 1, 2024

    Hi Guys, I got the Solution from ST FAE team it was configuration issues,
    The STM32H725/35 having SMPS controller in it we need to configure that in the ST Cube MX by default it will select in SMPS mode but in my design, it was in LDO supply we need to Change the in STMCUBE MX, this will be available in RCC.

    Sakthi_Murugesan_0-1714524527252.png

    Graduate II
    May 2, 2024

    Congratulations!

    Another good example: do not only trust Cube blindly, carefully check each Cube setting, read the manuals...

    Anyway, check your capacitor values, and adjust / increase these according to recommended values.