‑‑drv_swo_clock_setup
Syntax
‑‑drv_swo_clock_setup=frequency,autodetect,wanted
Parameters
frequencyThe exact clock frequency used by the internal processor clock,
HCLK, in Hz. This value is used for configuring the SWO communication speed and for calculating timestamps.autodetect0, Manually specified frequency. Use if data packets are lost during transmission. Specify the desired frequency using the parameterwanted.1, Automatic detection. Automatically uses the highest possible frequency that the J-Link debug probe can handle.wantedThe frequency to be used if
autodetectis0, in Hz.
For use with
The C-SPY J-Link/J-Trace driver.
The C-SPY ST-LINK driver.
The C-SPY TI XDS driver.
Description
Use this option to set up the CPU clock. If this option is not used, the CPU clock frequency is by default set to 72 MHz.
Caution
Project>Options>Debugger>J-Link/J-Trace>Setup>Clock setup
Project>Options>Debugger>ST-LINK>Communication>Clock setup
Project>Options>Debugger>TI XDS>Communication>Clock setup