Keil Logo

µVISION DEBUGGER: STM32F3-Discovery: Modifying the Board for SWO Trace


Information in this knowledgebase article applies to:

  • MDK-ARM all versions
  • STM32F3-Discovery board

QUESTION

I'm using a STM32F3-Discovery board with STM32F303VC, and want to enable SWO trace to receive SWO trace data via ST-LINK in µVision.

As written in this knowledge base article ULINK: Trace: No Synchronization, I configured the Core Clock under Options for Target - Debug - Settings - Trace so it matches the SystemCoreClock, but I still get the following  error in the Trace Status bar.

Trace: No Synchronization

How can I enable the SWO trace on the STM32F3-Discovery board?

CAUSE

As written on the page 20 of the following STM32F3 Discovery board UM1570 User manual, in order to get the SWO trace data via ST-LINK, the bridge SB10 on the backside of the board should be connected.

However, unlike STM32F4 Discovery board where SB12 SWO bridge is connected by default with a solder bridge at SB10, that bridge is not connected on the STM32F3 Discovery board. See the following photo.

SB10 Unsoldered

RESOLUTION

To enable SWO trace on this board, solder a bridge at SB10 on the backside of STM32F3 Discovery board as shown in the following photo.

SB10 soldered

MORE INFORMATION

Last Reviewed: Monday, February 4, 2019


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.