STM32MP135 Bare Metal Project Debug Issues
Hi,
Purchased the STM32MP135F-DK.
Opened in STM32CubeIDE a Bare-Metal Project for this specific DK, with default IOC configurations, and only added a simple UART message in main to test.
Project Build went fine, But unable to debug.
The hardware setup:
Power USB-C cable connected.
ST Micro USB cable connected, and ST-LINK debugger is detected.
Boot Toggle Switches configured to Forced USB boot for programming (All 0s)
No SD card inserted.
ST-LINK debugger updated to latest version using the upgrade utility.
Things I tired:
1.
In debug configuration, tried selecting Debug Probe ST-LINK GDB Server
Those are the debug configurations:

I get the following message:
"Failed to start GDB server. Error in initializing ST-LINK device. Reason: (4) No device found on target."

Tried in ST-LINK GDB Server mode to change the Reset Behaviour, modify the frequency, didnt help.
Tried Debug Probe ST-LINK(OpenOCD) with the following configuration:

I get the following text:

Also tried using STM32CubeProgrammer and attempted connecting to the DK, with various configurations, I only get "Error: Cannot identify the device"

I tried all the above on two different Dev Boards, identical results.
How can I run a bare- metal project on this development kit?
Please help me with this.
