2020-09-16 05:39 AM
We tried our custom board that has STM32H745XI through ST-link V2 with updated firmware. Initially in boot mode the board connects and we were able to read flash. Then after some time the SWD connection is lost.
It is not even able to debug the application. We measured the power supply on CRO and also connectivity with the MCU. We connected SWDIO,SWCLK and ground pins with the stlink.
2020-09-16 05:46 AM
Does anything eventually remap SWJ pins? Does the application enter Sleep?
2020-09-16 06:21 AM
Application is also not getting loaded at first.so that may not be the issue.
2020-09-16 06:30 AM
I'd have thought the NUCLEO-H745ZI-Q would use an ST-LINK/V3
The H7 is very sensitive to the LDO/SMPS and VOS settings in your configuration code. Low power mode and WFI can drop the debug connection due to the circuits involved being turned off. Check also if you change configuration of the PA13/PA14 pins.
When you get invalid settings you need to power cycle the board with BOOT0 High, until you can connect with STM32 Cube Programmer, and then erase the errant code.
2020-09-16 07:01 AM
The asker mentions Nucleo and Custom. I supposed he means custom board and StlinkV2.
2020-09-16 07:04 AM
Check components and voltages on VCAP pins
2020-09-16 07:28 AM
Trying to decide if the NUCLEO is just a distraction..
Not really any familiarity with the custom board, potentially design or manufacturing issues there. Not clear what board bring-up checklist items have been met. Would have connected the NRST and SWO too. External ST-LINK/V2 needs to see target voltage.
2020-09-16 11:34 PM
Today i connected the custom board with ST-link/V3. Error "STM32 target not found error" message received.
Measured Voltages: VDD_MCU=3.3V, VDD_LDO=3.3V, V_core=1.005V.
SWD Clk and SWD_IO signal measured on CRO and able to see clock and data. Any further suggestion what could go wrong?
2020-09-17 12:02 AM
2020-09-17 02:37 AM
When going off-board, a speed of 24 MHz may be detrimental. Try with lower speed.