X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=doc%2Fopenocd.texi;h=aa0bb5d3773b53d7ba156426d9e18449a0243d46;hp=c7776b1073344f1f35d6c5cfcd3ea279e804d5a6;hb=0ebf1eb94d06f892d8699bb35a8af65c721b5f5f;hpb=e3229bdfbbedeff548902c42bed31a23b99cc1d1 diff --git a/doc/openocd.texi b/doc/openocd.texi index c7776b1073..aa0bb5d377 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -3045,11 +3045,11 @@ The vendor ID and product ID of the device. Manually sets the stlink api used, valid options are 1 or 2. (@b{STLINK Only}). @end deffn -@deffn {Config Command} {trace} output_file_path source_clock_hz -Enable SWO tracing (if supported), trace data is appended to the specified -output file and the file is created if it does not exist. The source clock -rate for the trace port must be specified, this is typically the CPU clock -rate. +@deffn {Config Command} {trace} source_clock_hz [output_file_path] +Enable SWO tracing (if supported). The source clock rate for the +trace port must be specified, this is typically the CPU clock rate. If +the optional output file is specified then raw trace data is appended +to the file, and the file is created if it does not exist. @end deffn @end deffn