
UM0299
Running the demo project
1.
Close the debugger by clicking on the debugger icon. (It is same icon that starts the
debugger).
You are now in the editor.
2.
Go to the file
led_blink.c
by clicking on its file tab, and change the following C code
statement from
blink_delay = SHORT;
to
blink_delay = LONG;
3.
Click "Make All" to recompile and rebuild the program.
4.
Start the debugger by clicking on the debugger icon to re-program this new code into
the Flash memory.
5.
Click "Go" and see that the LED is now permanently blinking at the slower rate.
This code modification is now permanent and resident in the code Flash.
6. Click
"Reset".
3.8
Setting instruction traces
The µPSD3400 will rapidly stream a record of all the MCU instruction steps out to the Ride
software via the eRlink adapter. From this data, RIDE creates a formatted file to help you
find even the most stubborn bugs, showing a history as deep as 500,000+ instruction steps
that the MCU has last executed.
3.8.1
Starting the trace utility
1.
To enable the trace utility, from the title bar select "Debug", then "Trace", then “Options”.
The trace options dialog box is displayed as shown in
.
2.
Click "Set Trace ON", then click OK.