2021-09-08 10:34 AM
I want to be sure of the interconnects between the STlink and STM32 that will give me full debug capability using the CUBEIDE development environment. It would require 4 connections; 3.3v,gnd, SCLK(PA13) and SDIO(PA14). Some STM docs identify two additional signals NRST and TRACESWO. As I understand it the two additional signals are not necessary for full debug. Please confirm thanks.
2021-09-08 11:17 AM
If you expect "Connect Under Reset" to work and allow you to recover the device if you power down or change pin configuration, then connect NRST
SWO (PB3) provides for a debug communications channel, a bit like a USART, good for diagnostic purposes.
If designing a board, far easier to just use a standard connector, ARM defines a few formats in common use, the 2mm 10-pin one being relatively small and readily available.
2021-09-08 11:39 AM
I am very space constrained so a connector is not an option. All I have room for are flying lead connections to solder pads. So 4 connects have an advantage.
Anyone else know for sure if the 4 connect method works for full debug capability?
2021-09-08 11:41 AM
STM32CubeIDE assumes it has control of NRST by default. I would consider that pin required for "full debug". I would also consider SWO required for "full debug".
2021-09-08 12:03 PM
Good answer thanks. If I might, the STM32G473ME6TR in a wlcsp81 package does not identify JTAG pins NRST and SWO only SCLK and SDIO. Do you know the NRST and SWO pinouts?
2021-09-08 12:10 PM
2021-09-08 12:24 PM
What is SWD?
2021-09-08 12:32 PM
The STLINK-V3SET is a modular stand-alone debugging and programming probe for the STM8 and STM32 microcontrollers. It is composed of a main module and a complementary adapter board. ... The modular architecture of STLINK-V3SET enables to extend its main features through additional modules such as the adapter board.
2021-09-08 12:35 PM
Serial Wire Debug
2021-09-08 02:51 PM
Thanks