2024-12-06 05:28 AM
Hello,
we wanted to run some timing tests with USB on the NUCLEO-H7S3L8 together with the SVW (Serial Wire Viewer).
CPUCLK is set to 600 MHz from the CDC_Standalone example, Trace and Debug is enabled.
SWV always fails if the 600 MHz are set in the Debugger configuration but works if set to 400 MHz, see attachments below.
Breakpoins and reading variables works with both settings, but SWV fails to give any output is set to the correct frequency of 600 MHz CPU Clock.
IDE: 1.161.
CubeMX: 6.12.1
Solved! Go to Solution.
2024-12-06 06:42 AM
To answer my own question: We figured it out.
The MHZ in the debugger are not the CPUCLK, but the clock speed of the debug interface: trace_ck.
The information can be found in the clock tree or on description of the clock distribution for Debug and Trace.
2024-12-06 06:42 AM
To answer my own question: We figured it out.
The MHZ in the debugger are not the CPUCLK, but the clock speed of the debug interface: trace_ck.
The information can be found in the clock tree or on description of the clock distribution for Debug and Trace.