Skip to main content
MGree.11
Associate
January 24, 2020
Question

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

  • January 24, 2020
  • 1 reply
  • 1696 views

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.

1 reply

Tesla DeLorean
Guru
January 24, 2020

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
January 24, 2020

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
January 25, 2020
Hi Clive, So I only need to connect power, ground, PA13, PA14 & Reset for programming and debug? Thanks, Mark. Get Outlook for Android<>