Skip to main content
SGrot.1
Associate II
Oct 10, 2023 5:59 PM UTC
Question

Problem to program a STM32H562ZI

 

Hello everyone, 

I got new prototypes (20 total) for a project with the STM32H562ZI and I'm not able to program/debug the MCU, can't detected the MCU, I try with ST-Link V2 and V3. I try ST-Link utilities, STM32CubreProgrammer and in STM32CubeIDE. I know that both programmer work because I can connect to another product.

I use SWD with PA13 (SWDIO) and PA14 (SWCLK).

I look all VDD for the 3.3V and they all fine, I check the VSS to be grounded and they are all good, the 2 VCAP pin give me 1.014V when I use BOOT0 at low and 1.213V when BOOT0 is high. Normally, I use the circuit with BOOT0 at low, but by looking this forums, some suggested to try BOOT0 at high, but that change nothing, I can't program.

I tried NRST with and without a pull-up, but I know that the MCU have one internal...

I would like your advice for the next thing to try or to check, I'm out of ideas.



Best regards,
Steve

20231010_135615.jpg


MCU powerMCU powerProgrammer MessageProgrammer Message

This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
Oct 10, 2023 6:10 PM UTC

Suggests it's electrically non-functional.

The BOOT0=HIGH is a way to ensure the part boots into the ROM, a safe-harbour, and not dependent on code you might have on the device.

What is the logic state of NRST?

Can you get any signs-of-life response to the boot loaders USARTs ?  AN2606 / AN3155  Send a 0x7F pattern at 9600 8E1

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
Oct 10, 2023 6:16 PM UTC

Quadruple check pin assignments. Probe an unpopulated / solder-test board for expected continuity in power planes.

Orientation looks correct.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
TDK
Oct 10, 2023 7:24 PM UTC

From your log, it looks like you also were unable to connect to a Nucleo-F767, is that correct? Might want to start with debugging that, and move on to custom hardware once a known good board is working.

Schematic and picture look okay to me.

"If you feel a post has answered your question, please click ""Accept as Solution""."
SGrot.1
SGrot.1Author
Associate II
Oct 10, 2023 8:33 PM UTC

Hello TDK,

I used the programmer on the Nucleo-F767 development module to try another programmer on my product, but encountered the same problem programming the STM32H562. Normally I use the STLINK-V3SET.

Sincerely,
Steve