ploader.pl - Bootloader for Microchip PIC devices
version 0.7
This scripts implements a Microchip bootloader interface over serial port or over a TCP socket. The PIC needs to be pre-programmed with a bootloader that meets the spec of AN1310A.
Usage: ploader.pl -d <device> -f <hexfile>
Where device is either a serial port or a TCP socket (format host:portnumber) and hexfile is the Intel hex file to be loaded into the PIC.
device
hexfile
When using a serial port, the default baudrate used is 115200 bps. To override, pass the parameter 'b' with the required baudrate when invoking the script.
Optionally, a parameter -v <verboselevel> can be passed to modify the verbosity of the Device::Microchip::Bootloader module. Defaults to '0', set to '3' for useful debugging.
Lieven Hollevoet <hollie@cpan.org>
This software is copyright (c) 2013 by Lieven Hollevoet.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Device::Microchip::Bootloader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::Microchip::Bootloader
CPAN shell
perl -MCPAN -e shell install Device::Microchip::Bootloader
For more information on module installation, please visit the detailed CPAN module installation guide.