This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SWO on STM32F030

I have previously run debugging with Serial Wire Debug on STM32F4 boards.

Now, I updated everything, have Keil & UVision 5 IDE, an STM32F030 C6, and a ULink 2.

I can't get a serial wire debug window here.

I re-checked all the online How-To guides and it's supposed to be under View->Serial Windows. But there's no entry by that name under this tab.

Why is this? How do I get a Serial Window tab?

Parents
  • Of course there is, you're just mixing up a whole bunch of related TLA's and equating them.

    SWD - Serial Wire Debug, A 2 pin multiplexed JTAG replacement using SWDIO/SWCLK
    SWV - Serial Wire Viewer, A "serial" like equivalent to the old ARM DCC (Debug Communication Channel)
    SWO - Serial Wire Output pin for SWV

    ITM - Instruction Trace Module
    ETM - Enhanced Trace Module
    DWT - Debug Watchpoint Trace

    The SWD is present on the STM32F0x

    On the M3/M4 the SWV is part of the ITM, review core_m0.h and core_m4.h to understand a bit better what's totally missing, vs vendor specific modules that may/may not part of there SoC offerings.

    Ok, so M0 not ITM/ETM, and more limited DWT
    No Trace, remember some limited trace recorded to SRAM, I'd have to find a cite.

    Want to output diagnostics, debug or telemetry, use a serial port (USART)

Reply
  • Of course there is, you're just mixing up a whole bunch of related TLA's and equating them.

    SWD - Serial Wire Debug, A 2 pin multiplexed JTAG replacement using SWDIO/SWCLK
    SWV - Serial Wire Viewer, A "serial" like equivalent to the old ARM DCC (Debug Communication Channel)
    SWO - Serial Wire Output pin for SWV

    ITM - Instruction Trace Module
    ETM - Enhanced Trace Module
    DWT - Debug Watchpoint Trace

    The SWD is present on the STM32F0x

    On the M3/M4 the SWV is part of the ITM, review core_m0.h and core_m4.h to understand a bit better what's totally missing, vs vendor specific modules that may/may not part of there SoC offerings.

    Ok, so M0 not ITM/ETM, and more limited DWT
    No Trace, remember some limited trace recorded to SRAM, I'd have to find a cite.

    Want to output diagnostics, debug or telemetry, use a serial port (USART)

Children