cancel
Showing results for 
Search instead for 
Did you mean: 

stm32h725vgt6 not able to Program

Sakthi_Murugesan
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Sakthi_Murugesan
Associate II

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

View solution in original post

10 REPLIES 10
LCE
Principal

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.

 

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

LCE
Principal

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

Sakthi_Murugesan
Associate II

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. 

LCE
Principal

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.

 

LCE
Principal

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

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

VREF+ ?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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

Sakthi_Murugesan
Associate II

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