
Setting Up the Stopwatch Timer Within the Debugger
9
Figure 4. Finding the Starting Address in the Debugger
After finding the starting address, the event detector can be setup. The procedures are outlined in these
steps:
1. Choose EOnCE > EOnCE Configurator > EDCA1.
2. Click PC in the “Bus Selection” box.
3. Enter the address of the first instruction in the measured code into the “Comparator A Hex
32-bits” box.
4. Click Enable in the “Enabled after Event On” box.
Figure 5 on page -10 shows the event detection settings after performing these steps. For more detailed
information in Enhanced OnCE configuration in Code Warrior tools, refer to [3].