User manual

Table Of Contents
Raisonance Tools for ARM 6. Debugging with hardware tools
Example of trace with PC time stamp:
6.4.9.3 SWV error messages
Some error messages can occur in the Debug Output View, during an SWV session:
SWV unknown trace received (check CPU frequency or reduce trace speed): the system
received data that it could not interpret. It may be a configuration or synchronization problem.
The SWV data flow depends on the CPU clock, so check that the CPU clock indicated in the
configuration dialog box equals the real CPU clock of your target.
If the frequency is correct, try to reduce the trace speed.
If the problem persists, stop the application for a while, and run it again.
If the problem still persists, end the debug session and restart it.
SWV overrun: Ride7 is not able to treat all the data flow, and some data is lost. Reduce the
frequency of sending or quantity of data sent by the application software.
SWV buffer full: the size of the acquisition buffer is limited to 100 KB. When it becomes full, this
message appears in the Debug Output View, and acquisition is stopped.
SWV USB communication error. Please check that the dongle is connected.: some
communication errors occurred. Check the RLink connection.
Some special events can occur in the global trace view:
Internal Cortex fifo OVERFLOW: the fifo of the CPU SWV module overruns. Reduce the
frequency of sending or quantity of data sent by the application software.
RLink internal buffer OVERRUN: Ride7 is not able to treat all the data flow, and some data is
lost. Reduce the frequency of sending or quantity of data sent by the application software
Unknown event: the system received data that it could not interpret. See the SWV unknown
trace received above.
6.4.9.4 SWV Limitations
Note: Remember that SWV is a low cost method for CPU tracing.
Clearly a single serial wire port cannot provide all trace information because of the high speed of the
Cortex M3 micro-controllers. In particular SWO and Ride7 are not capable of providing every program
counter value because of the high speed at which the STM32 runs.
The system is also unable to provide all exception or diagnostic counters events, depending on the
target CPU clock and the interrupt frequencies.
- 41 -