User manual
Table Of Contents
- 1. Introduction
- 2. Raisonance tools for ARM overview
- 3. How to register the new Raisonance tools for ARM
- 4. Creating a project
- 5. Debugging with the simulator
- 6. Debugging with hardware tools
- 6.1 Selecting hardware debugging tools
- 6.2 RLink-ARM programming and debugging features
- 6.3 JTAGjet programming and debugging features
- 6.4 Cortex Serial Wire Viewer (SWV) debugging features (Open4 RLink only)
- 6.4.1 Introduction
- 6.4.2 Hardware requirements
- 6.4.3 Configure Ride7 to use the SWV
- 6.4.4 Modify your application to use SWV software traces
- 6.4.5 Configure Ride7 to use SWV software traces
- 6.4.6 Configuring Ride7 to use the SWV hardware traces
- 6.4.7 Configuring Ride7 to use the SWV watchpoint traces
- 6.4.8 Start / Stop the trace
- 6.4.9 Visualizing SWV traces with Ride7
- 7. Raisonance solutions for ARM upgrades
- 8. Conformity
- 9. Glossary
- 10. Index
- 11. History

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 -