STM32H723 Custom Board - St-Link V2 very slow
Hello,
After prototyping with a Nucleo H7 board, I'm setting now up a custom board with a STM32H723ZGT6 MCU (the same MCU present on the Nucleo).
I connected my USB Dongle ST-Link V2 via SWD to program the MCU and after having struggled a bit, I have finally come to a working setup but with quite slow frequency 100 Khz as solution. Increasing the frequency leads to impossibility to erase, to download my program or sometime to generate inconsistency errors between what is downloaded and the original code.
At 100Khz debugging is a bit of a challenge so i need to speed it up if possible.
Anyway what is stressing me is that I don't understand if that's normal or not...
In terms of the SWD my setup is: SWDCLK and SWDIO connected directly to the dongle, RST connected with a 10k resistor between the dongle and the MCU, gnd and VDD connected to 3.3V on the board.
The St-Link V2 dongle framework is updated to last version.
Config of SWD is:
1) frequency 100
2) mode Normal
3) Access point 0
4) Reset mode Hardware Reset
5) Speed reliable (if I set fast again I fall into the very same above described issues)
In terms of the MCU power setup I set:
1) all VDD decoupled with 100nf cap
2) VREF decoupled with 1uf and 100nf caps in parallel (as per Nucleo schema)
3) both VCAP (which I don't use cause i use the internal regulator) decoupled with 2 2.2uf caps in parallel (as per Nucleo schema)
4) PDR_ON connected to vdd with 10K resistor (as per Nucleo schema)
5) BOOT0 connected to VSS (i let the dongle switch to the system memory for the programing action and switch back after reset)
is there anyone that can help me in understand?
I was thinking to buy a St-Link V3 Set but unfortunately in this moment speculation is crazy and the prices requested are simply ridiculous...
Thanks a lot in advance,
Filippo
