Velleman VM134-k8076 Manual de usuario Pagina 13

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 16
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 12
Use
12
© 2007 Velleman Components
5.2 Programming the PIC controller
A simple explanatory application will explain how to program and to test a PIC. The application is
simply a blinking LED. The used controller in the example is a PIC10F200
.
STEP 1: Compiling your code
·
Start PICprog2006
·
Click the "MPASM" icon
.
·
Read the ".ASM" file
.
1.
The file to compile is generally of the ".ASM" type
.
2.
Set the radix that will be standard accepted (setting the radix in
the .ASM file will have priority over this setting)
3.
Leave the setting on "All Messages" so all error messages and
warnings will be recorded in the .ERR or .LST file
.
4.
Choose the output format. The format can be INHX8M, INHX16,
INHX32.
5.
Choose which files will be generated by the MPASM, e.g. a file
containing error messages…
6.
Choose the PIC controller to be programmed
.
*
For more information please refer to the MPASM help function or
the information on the
Microchip.
website
·
Press the "ASSEMBLE" (7) button when all setting are correctly implemented
(7).
·
When the code assembly does not contain any errors, following screen will appear
.
Vista de pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16

Comentarios a estos manuales

Sin comentarios