Herramientas de usuario

Herramientas del sitio


ardpic-inst

¡Esta es una revisión vieja del documento!


Instrucciones de instalación de Ardpicprog.

El código fuente de Ardpicprog está disponible en github: https://github.com/rweather/ardpicprog. La fuente tiene dos partes principales: el ardpicprog programa host y el sketch ProgramPIC.

El programa host puede ser construido a partir de la fuente en GNU/Linux y otros sistemas compatibles con POSIX tecleando make. También puede ser construido usando Cygwin bajo Windows e incluso generar un ejecutable en Cygwin/POSIX mode (make) or native Windows mode (make win). Once the program has been built, copy the ardpicprog binary from the host directory to somewhere on your PATH.

The ProgramPIC sketch should be uploaded to an Arduino Uno compatible board that has an appropriate PIC programming shield attached to it.

To test that the host can talk to the PIC programmer, plug the Arduino into the host computer, shut down the Serial Monitor window in the Arduino IDE, and type the following on the host (the port may be different on your machine; e.g. COM1 for native Windows mode):

ardpicprog -p /dev/ttyACM0 –list-devices You should see a list of supported devices like the following:

Supported devices: pic12f629*, pic12f630*, pic12f675*, pic12f676*, pic16f84, pic16f84a*, pic16f87*, pic16f88*, pic16f627*, pic16f627a*, pic16f628*, pic16f628a*, pic16f648a* = autodetected Next, put a compatible PIC device into the programming socket, ensure that the 13 volt programming voltage is applied, and then type the following:

ardpicprog -p /dev/ttyACM0 -o output.hex –skip-ones That should dump the entire contents of the PIC device to the file output.hex.

See the documentation for the host program for more information on using Ardpicprog to read and burn PIC's.

ardpic-inst.1368529254.txt.gz · Última modificación: 2013/05/14 13:00 (editor externo)