Microchip Technology Zena Guide de l'utilisateur Page 67

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 288
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 66
Walk-Through and Detailed Tutorial
© 2006 Microchip Technology Inc. DS51519B-page 57
The file register address of the symbols is listed first, followed by the symbol name and
finally the value of the symbol.
For more on Watch windows, see Section 6.3 “Watch Window”.
Tutorial Step 16:
You will first set up the Watch window:
Select COUNT from the symbol selection box at the top of the window. Click Add
Symbol to add it to the Watch window list. If you want to quickly advance through
the list, start typing COUNT after selecting the pull down icon.
Select WREG from the SFR selection box at the top of the window. Click Add
SFR to add it to the Watch window list. If you want to quickly advance through the
list, start typing WREG after selecting the pull down icon.
Select PORTC from the SFR selection box at the top of the window. Click Add
SFR to add it to the Watch window list. If you want to quickly advance through the
list, start typing PORTC after selecting the pull down icon.
You should now have these symbols in the Watch window. Next, you will run your code
and watch the symbol values change as you step through the program.
•Select Debugger>Reset>Processor Reset
to reset your application.
•Select Debugger>Step Into
(or click the equivalent toolbar icon) until you have
stepped to the following program line:
incf COUNT,F ;increment count
Step one more time to see the value of COUNT in the Watch window change from
00 to 01.
Step one more time to see the value of WREG in the Watch window change from
00 to 01.
Step one more time to see the value of PORTC in the Watch window change from
00 to 01.
3.18 USING BREAKPOINTS
Breakpoints are useful for conditionally halting the execution of your program in either
the file (editor) window, the program memory window or the disassembly window. Sin-
gle breakpoints may be set by double clicking on a line of code, or right clicking on the
line and selecting Set Breakpoint from the pop-up menu. Multiple breakpoints may be
set using the Breakpoint dialog (Debugger>Breakpoints
). The number of breakpoints
available will vary by debug tool and will be shown on the Breakpoint dialog.
For more on breakpoints, see Section 6.4 “Breakpoints”.
Tutorial Step 17:
To run your program again using a breakpoint:
•Select Debugger>Reset>Processor Reset
to reset your application.
Set a breakpoint by double clicking in the gutter next to the following line of code:
incf COUNT,F ;increment count
•Select Debugger>Run
to run your program. Program execution should stop at the
breakpoint. The values for all items in the Watch window should be 0x00. You may
step through your code from this point to watch the values in the Watch window
change again.
This concludes the tutorial. If you have a programmer and wish to program this code
into a device, follow the instructions in the next two sections.
Note: The values in the Watch window are in color if they were changed by the
previous debug operation, and are black if they were not changed by the
previous debug operation.
Vue de la page 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 287 288

Commentaires sur ces manuels

Pas de commentaire

Vodafone 575 manuales

Manuales del propietario y guías del usuario para Teléfonos móviles Vodafone 575.
Ofrecemos 4 manuales en pdf Vodafone 575 para descargar gratis por tipos de documentos: Manual de usuario






Más productos y manuales para Teléfonos móviles Vodafone

Modelos Tipo de documento
228 Manual de usuario   Vodafone 228 User manual, 29 paginas
543 Manual de usuario   Vodafone 543 User manual, 35 paginas
Smart Mini Guía de usuario   Vodafone Smart Mini User guide, 78 paginas
225 Manual de usuario   Manual Vodafone 225 Romana Descarca, 29 paginas
Smart 4 turbo Manual de usuario    Manual de usuario, 76 paginas
527 Manual de usuario   Manual Vodafone 527 Romana Descarca [en] , 96 paginas
Smart Mini Manual de usuario   Ghidul Utilizatorului Vodafone Smart mini, 20 paginas
Smart III Manual de usuario   Manual de utilizare Vodafone Smart III, 65 paginas
LG KS500 Guía de usuario   Vodafone LG KS500 User guide, 74 paginas
Smart 4 turbo Manual de usuario   Manuale dell`utente, 78 paginas
Smart Chat Manual de usuario   Vodafone Smart Chat User manual, 45 paginas
555 Blue Manual de usuario   Vodafone 555 Blue User manual, 17 paginas
Smart Mini Manual de usuario   Manual de utilizare Vodafone Smart mini, 64 paginas
547 Manual de usuario   Vodafone 547 User manual, 46 paginas
1210 VDA IV Manual de usuario   Vodafone 1210 VDA IV User manual [en] , 116 paginas
547 Manual de usuario   Vodafone 547 Mobiltelefon Benutzerhandbuch [en] , 50 paginas
Smart II Manual de usuario   Bedienungsanleitung Vodafone Smart II, 78 paginas
804N Guía de usuario   Vodafone 804N User guide, 337 paginas
Smart Mini Manual de usuario   Vodafone Smart Mini User manual, 64 paginas
SIMPLY VS1 Manual de usuario   A reassuringly brief guide to using your new mobile, 22 paginas