Mplab

Páginas: 11 (2748 palabras) Publicado: 28 de agosto de 2012
Utilizando MPLAB para crear un archivo HEX Quick guide to assembling firmware with MPLAB Guía rápida para el montaje del firmware con MPLAB * Overview Información general * Getting Started Primeros pasos * Selecting the PIC Selección de la PIC * Assembling with Quickbuild Montaje con QuickBuild * Common Errors Errores comunes * Help with Errors Ayuda con errores * Memory useMemoria de uso | |

This is a very quick guide to allow you to assemble and generate the programmer HEX files from source code files downloaded from the Picprojects website. Esta es una guía muy rápido para que pueda reunirse y generar los archivos HEX programador de archivos de código fuente descargado desde el sitio web Picprojects. It's not a comprehensive guide to using the MPLAB IDE andit's not intended to be... No es una completa guía para usar el MPLAB IDE y no está destinada a ser ...

Overview Información general
One page 'Program a Microchip PIC' quick overview flow chart. Una página de "Programar un PIC de Microchip rápida diagrama de flujo general.
And video Y el vídeo

Many of the projects on the site already provide the necessary HEX file to program into thePIC. Muchos de los proyectos en el sitio ya proporcionan el archivo HEX necesario para el programa en el PIC. In this case all you need to do is download the HEX file and program it into the PIC, you do not need to do anything else. En este caso todo lo que necesitas hacer es descargar el archivo HEX y programarlo en el PIC, usted no necesita hacer nada más. Other projects on the site allow you tomodify or edit the source code to suit your own needs. Otros proyectos en el sitio le permite modificar o editar el código fuente para satisfacer sus propias necesidades. With these projects it is necessary to assemble the modified source code to create a new HEX file. Con estos proyectos, es necesario ensamblar el código fuente modificado para crear un archivo HEX nuevo.
To turn the source codeinto something that can be programmed into the actual PIC microcontroller chip you need to assemble the code. Para activar el código fuente en algo que puede ser programado en el chip microcontrolador PIC real que necesita para ensamblar el código. This is done using the MPASM assembler which takes the source files and creates a HEX file that your programmer hardware can write into the PIC chip.Esto se hace usando el ensamblador MPASM que toma los archivos de código fuente y crea un archivo HEX que el hardware programador puede escribir en el chip PIC.
You can do this by opening the source code files in the MPLAB IDE program and using the Quickbuild option to generate the HEX file. Usted puede hacer esto mediante la apertura de los archivos de código fuente en el programa MPLAB IDE y eluso de la opción QuickBuild para generar el archivo HEX. If you have a PICkit2 programmer attached you can also program the generated HEX file directly into the PIC from within MPLAB. Si usted tiene un programador PICKIT2 adjunta también puede programar el archivo HEX generado directamente en el PIC dentro de MPLAB. For other programmer hardware you will need to use the application that came withthe programmer to write the HEX file into the PIC. Por otra parte hardware del programador tendrá que utilizar la aplicación que viene con el programador para escribir el archivo HEX en el PIC.
Getting started Primeros pasos
* If you haven't already done so, download MPLAB from the Microchip website and install it. Si aún no lo ha hecho, descargue MPLAB desde el sitio web de Microchip einstalarlo.
* Download the source code for the project you are interested in from the Picprojects website and save or unzip all the files to a working directory. Descargue el código fuente para el proyecto en el que están interesados ​​en el sitio web Picprojects y guardar o descomprimir todos los archivos en un directorio de trabajo.

T ip: the MPASM assembler doesn't like directory path...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Mplab
  • Mplab
  • Retardos en mplab
  • Directivas de mplab
  • Interrupciones Mplab
  • Manejor de mplab
  • tutorial mplab
  • Practica De Mplab

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS