
dsPICDEM™ MCHV-3 Development Board User’s Guide
DS50002505A-page 28
2016 Microchip Technology Inc.
2.4.4.1
RUNNING THE APPLICATION IN DEBUG MODE
The Starter Kit on the board executes the application code in either real-time (Continue)
or steps (Step Into, Step Over, Run to Cursor, and Set PC at Cursor). Real-time
execution occurs when you select
Continue
in MPLAB X IDE. Once the device code
is halted, either by clicking
Pause
or by a breakpoint, you can step.
To see how these options function, do the following:
1. Select
Debug>Reset
or click the
Reset
icon to reset the program.
2. Select
Debug>Continue
or click the
Continue
icon. Observe how the application
operates.
3. Select
Debug>Pause
or click the
Pause
icon to stop program execution. A green
solid arrow will mark the line of code in the File window where the program halted.
4. Select
Debug>Step Into
or click the
Step Into
icon to step the program execution
once. The green solid arrow will move down one line of code in the File window.
Repeatedly click the button to step through the code.
5. Select
Debug>Reset
OR click the
Reset
icon to reset the program again.
6. Select
Debug>Finish Debug Session
or click the
Finish Debug Session
icon to
exit Debug mode.
Note:
When
Pause
is clicked to stop the program execution, all of the peripherals
are frozen.
Содержание dsPICDEM MCHV-3
Страница 1: ... 2016 Microchip Technology Inc DS50002505A dsPICDEM MCHV 3 Development Board User s Guide ...
Страница 3: ...Object of Declaration dsPICDEMTM MCHV 3 Development Board ...
Страница 4: ...dsPICDEM MCHV 3 Development Board User s Guide DS50002505A page 4 2016 Microchip Technology Inc NOTES ...
Страница 6: ...dsPICDEM MCHV 3 Development Board User s Guide DS50002505A page 6 2016 Microchip Technology Inc NOTES ...
Страница 8: ...dsPICDEM MCHV 3 Development Board User s Guide DS50002505A page 8 2016 Microchip Technology Inc NOTES ...
Страница 14: ...dsPICDEM MCHV 3 Development Board User s Guide DS50002505A page 14 2016 Microchip Technology Inc NOTES ...
Страница 27: ...Getting Started 2016 Microchip Technology Inc DS50002505A page 27 FIGURE 2 7 MPLAB X IDE WORKSPACE ...
Страница 48: ...dsPICDEM MCHV 3 Development Board User s Guide DS50002505A page 48 2016 Microchip Technology Inc NOTES ...
Страница 67: ...Index 2016 Microchip Technology Inc DS50002505A page 67 NOTES ...