User manual

Table Of Contents
6. Debugging with hardware tools Raisonance Tools for ARM
Exampe 3:
Look at the TestSWV application in {RideDir}\Examples\ARM\Primer\STM32EvoPrimer\Test_SWV
This application periodically sends the message “Hello world !”, and the value of the loop counter.
It implements a print function that prints strings with integers inside (%d formatter), and sends this
string with the ITM_SendChar function. It also uses the previously described WriteITM function.
6.4.5 Configure Ride7 to use SWV software traces
After beginning your debug session, select the ITM channels to use and the associated views.
Go to the menu Debug->Advanced commands...->SWV Software traces configuration to open the
SWV Software Trace Configuration dialog box:
You can enable each ITM channel by checking the corresponding Enabled port check box. If they are
not checked, the application program will not be able to send data through this port.
You can open a specific view for this channel by checking the corresponding Specific view check box.
If you do not, the trace for this channel will be only available on the Global Trace View.
Note: These configurations are saved within the project.
6.4.6 Configuring Ride7 to use the SWV hardware traces
Go to the menu Debug->Advanced commands...->SWV Hardware traces configuration to open the
SWV DWT Configuration dialog box:
- 34 -