English
Language : 

AN1369 Datasheet, PDF (14/23 Pages) STMicroelectronics – GETTING STARTED WITH RAISONANCE IDE FOR THE ST6 MICROCONTROLLER
GETTING STARTED WITH RAISONANCE IDE FOR THE ST6 MICROCONTROLLER
4.7 ADVANCED FEATURES
4.7.1 Trace window
An easy way to see how the program is executed is to trace the state of the PA0 and PA1
ports. You should be able to see the value toggling from 1 to 0 and 0 to 1 every 0.5s.
Keep the Watch Window open, select PA.0 and click on the right mouse button. The following
menu will appear:
Figure 18. Add/Delete from Trace List
Select the Add/Delete from Trace List item and a blue “T” will be displayed in front of PA.0.
This will allow you to watch the trace of the PA0 pin (you can do the same for PA1) in the Trace
Window.
Figure 19. PA0 and PA1 Toggle Trace
Then select the View >Trace >Options menu to set the Trace Options dialog box. Then click
on the On Changes radio button. The trace will be updated each time the value of the se-
lected item is changed.
14/23