2025-06-29 3:37 AM
Hey All,
I hope you can help me. I'm trying to bring up my new board, which contains a STM32N657IO. Attached are the schematics. You can assume the 5V supply is working(it is after a few bodge wires).
My problem is as follows. I'm trying to connect to the STM32N6 over SWD using a JLink. It seems the SWD communication with the Debug port is successful, but the communication with the core fails. I get the following output when trying to connect to the MCU:
Device "STM32N657I0" selected.
Connecting to target via SWD
ConfigTargetSettings() start
---Setting ETM Base Address---
---Setting TF Base Address---
---Setting ETF Base Address---
---Setting TPIU Base Address---
ConfigTargetSettings() end - Took 24us
InitTarget() start
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
Can not attach to CPU. Trying connect under reset.
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
Connecting to CPU via connect under reset failed.
InitTarget() end - Took 104ms
Connect failed. Resetting via Reset pin and trying again.
ConfigTargetSettings() start
---Setting ETM Base Address---
---Setting TF Base Address---
---Setting ETF Base Address---
---Setting TPIU Base Address---
ConfigTargetSettings() end - Took 23us
InitTarget() start
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
Can not attach to CPU. Trying connect under reset.
SWD selected. Executing JTAG -> SWD switching sequence.
DAP initialized successfully.
Connecting to CPU via connect under reset failed.
InitTarget() end - Took 104ms
Error occurred: Could not connect to the target device.
For troubleshooting steps visit: https://wiki.segger.com/J-Link_Troubleshooting
I already investigated the following:
These are my remaining ideas:
So, my question is. Does anyone have an idea what could be wrong?