STM32MP15 SWD Issues
- April 17, 2026
- 1 reply
- 97 views
Hi,
I recently just finished the Yocto Bringup of a custom STM32MP15FAA1. Everything seems to be working in my application. I am now looking to begin development of the M4 in which I need access to either SWD or JTAG to do lower-level development. Unfortunately, I am having trouble connecting to either interfaces through both CubeIDE and also manually inputting OpenOCD in an IDF Powershell instance.
I presume the easiest way to get to my goal is to setup SWD which on the MP15 maps to TMS (SWDIO) and TCLK (SWCLK) and I connected GND and VCC. My STLinkV3-MIME detects 3.3V on the reference line but can never connect to target. This is my first time working with a SOM as most of my development is on base Cortex M microcontrollers so I have a few questions.
1. Is there anything in the M4 device tree that can be preventing JTAG from operating like the STPMIC? I do have M4 RPROC enabled in my device tree and the file descriptor is available for me to access.
2. Does the boot mode matter? My end application Linux will manage initialization of the clocks and such but I saw that the best way to develop on M4 is to leave it in Engg Boot so I can verify that my MX project clocks, power, etc is setup correctly. Is this the way to go?
3. SWD uses the NRST as a reset source and not NRTJST? Is there a way to configure this in the project debug configuration?
I posted my JTAG Tag Connect connections below
Thank you for the assistance in advance.
Ayden
