2024-07-06 07:59 AM
Hi,
I have an external PCB using STM32L432KCU6 to program and debug. I can program this using the NUCLEO-L433RC-P (MB1319C) and NUCLEO-L476RG development boards in STLink configuration.
Using the L476, I can see the output of the SWV from printf (MCU freq is 4 MHz, matched in STM32CubeIDE software or ST-Link Utility).
If I replace the programming board for the NUCLEO-L433RC-P, I can still interact with and debug the external MCU, but the SWV output no longer works.
If I remove the Idd pin from the NUCLEO side of the board (i.e. with the inbuilt L433 chip) then the STM32CubeIDE or ST-Link utility no longer recognise any target device on the SWD bus.
In both cases, the CN2 connectors are configured as ST-Link (i.e. jumpers disconnected).
Any advice on why the SWV would not work in this second case is appreciated.
Regards,
Jonathan