2025-10-17 9:27 PM
Hi ST Community,
I’m using the STM32MP257F-DK board and successfully followed this guide:
Modify, rebuild and reload the firmware
Everything worked fine during the initial setup and firmware modification. Now I’m trying to flash a new image to the SD card and connect to the board again, but I’m unable to establish a connection via ST-LINK. Here’s the error I get:
ST-LINK SN : 003E004A3234510636303532
ST-LINK FW : V3J16M8B5S1
Board : STM32MP257F-DK
Voltage : 3.29V
Error: Unable to get core ID
Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication
I’ve set the boot switches to the OFF position (boot from UART/USB), and I suspect that during the previous steps, Secure Boot may have been enabled or modified without me realizing it. Could this be preventing me from accessing the board now?
I’ve already tried:
Updating ST-LINK firmware
“Connect under reset” mode
Checking physical connections and voltage
Is there a way to verify or reset the Secure Boot configuration? Or to recover access to the board if Debug Authentication is now required?
Any help or guidance would be greatly appreciated!
Thanks,
Duc Le