stm32_start_swv_trace
Connect to STM32 Serial Wire Viewer (SWO/ITM) and stream printf log outputs, with configurable ITM port and clock frequency.
Instructions
Connect to Serial Wire Viewer (SWO/ITM) and stream printf log outputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_file | No | Optional log file path to record SWO output | |
| port_number | No | ITM port number (0-31 or 'all') | 0 |
| clock_freq_mhz | No | MCU System Clock frequency in MHz (e.g. 16, 84, 168, 480) |