Skip to main content
MGree.11
Associate
Jan 24, 2020 11:47 PM UTC
Question

SWD programming / debug interface on the STM32L073 - SWO??

The STM32 STM32L0x3 ref manual (RM073) and STM32L073 datasheet both show only 2 pins for the SWD programming interface:

- PA13 (SWDIO)

- PA14 (SWCLK)

But the schematic for the STM32L073 Nucelo PCB shows PB3 connected as SWO.

I dont see any reference to PB3 being part of the debug interface in the STM32L073 reference manual, datasheet or Cube MX configuration software.

Is PB3 part of the debug interface or not?

Please advise.

This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
Jan 24, 2020 11:50 PM UTC

NOT supported on CM0(+) devices, board used for several parts.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
Jan 24, 2020 11:55 PM UTC

The "Debug Communications Channel" can be implemented via an "Event Recorder" method

https://www.keil.com/pack/doc/compiler/EventRecorder/html/er_use.html

https://www.keil.com/pack/doc/compiler/RetargetIO/html/_retarget__examples_er.html

ST has a free license for Keil on CM0(+) devices

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
MGree.11
MGree.11Author
Associate
Jan 25, 2020 12:05 AM UTC
Hi Clive, So I only need to connect power, ground, PA13, PA14 & Reset for programming and debug? Thanks, Mark. Get Outlook for Android<>