2024-01-01 07:17 AM - last edited on 2024-01-03 02:45 AM by PatrickF
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.
2024-01-02 05:17 AM
Hello @robbie-galfrin ,
Did you follow this wiki article : https://wiki.st.com/stm32mpu/wiki/STM32CubeMP13_Package_-_Getting_started ?
Kind regards,
Erwan.
2024-03-23 12:08 AM
Hi, I havent before but have now.
I have switched to engineering mode boot pin configuration on the board.
Besides this I have performed all steps in the Getting Started page.
I still get the following error:
I would very much appreciate any assistance.
Best Regards,
Robbie.
2024-03-25 01:31 AM
Hello @robbie-galfrin ,
You tell me in your first message that all boot pins are at 0. But it should not. It should be in engineering mode, with boot pin number 3 toggled. It is precised in the first chapter of the article I mentioned in my message. Can you test again the steps of the article with using this boot mode ?
Kind regards,
Erwan.