2024-11-13 05:38 AM
Hello,
I've designed my own PCB using the STM32H533CET6 microcontroller. However, when I try to connect to it using an ST-Link V2 via SWD, STM32Cube Programmer gives me the error: "Cannot identify the device".
I've already tried connecting under reset and adjusting the connection settings, but nothing seems to work. Additionally, on another PCB that was previously working well, I replaced the STM32F303 with the STM32H533, and the same issue occurred.
Could you please help me with this? I'm completely at a loss as to what might be causing the error.
Thank you!
2024-11-15 01:59 PM
Dear @Szerev ,
The only change at hardware level from both MCUs are Pin 22 that becomes VCAP and pin 46 that becomes VCAP instead of PB11 and PB9 respectively, so it seems the PCB and schematics are reworked and I do not see an issue there. May be to check your version of STM32CubeProgrammer as STM32H533 is quite recent and supported in STM32CubeProgrammer v2.16.0 at least.
Hope it helps you
STOne-32.
2024-11-15 05:27 PM - edited 2024-11-15 05:30 PM
Usually power related. Check nets and power
Double check the orientation.
Check voltage at VCAP, should be around 1.25V
Check level presenting at NRST
PC13 isn't suitable for use like this, it's low power/current. You should wire the LED the other way, so PC13 switches to ground.