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?
And it says "Target DLL Cancelled- Debugger Aborted!" and quits...
OK, I found it. The Configure Flash Tools item has to have the Trace Enable unchecked, THEN it'll enter debug mode. And once it's debugging then the View tab has the Serial Windows item under it, that's why I couldn't find it before.
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)
So the basics of what I NEED here are just to be able to stop on breakpoints or user-generated Stop from UVision, and to be able to see where the Program Counter is in the C code and what values are held in variables.
Is all this still available within the scope of the m0's debug capabilities?