I am currently trying to connect the ST-LINK/V2 to my custom board which is using a STM32F446RC. I am able to detect the ST-LINK using both the STM32CubeIDE or the STM32 ST-LINK utility, however this is only displaying the serial number. but it is failing to detect the target (MCU).
I have added a picture of the header on the custom board and the header am using for guidance.
Am not sure whether to use the JTAG connections or the SWD connection guidelines.
@Community member Thank you for replying. So I tried connecting it using the SWD connections. I have attached a picture of the table I used for connection. the SWO pin would be PB3 on the custom board header. Everything else maps the same. I still receive a fail connection.
Using the STM32CubeIDE I change the debugger configuration to openOCD just for the sake of getting some output, the error I receive on the console is the following:
Error: target voltage may be too low for reliable debugging
Error: init mode failed (unable to connect to the target)
Using GDB server I get:
Error in initializing ST-LINK device.
Reason: No device found on target.
The BOOT0 and BOOT1 are both hard-wired to GND on the custom board
Recheck connections. If it's not detecting the target voltage is 3.3V, something is off. BOOTx connection doesn't matter for debugging, unless your program reassigns SWD pins.
Try STM32CubeProgrammer.
"If you feel a post has answered your question, please click ""Accept as Solution""."