
Optional parameter when using a serial port for connecting to the bootloader. This can be either a serial port object (e.g. The target device where to send the firmware to. Upon creation of the object, the HEX file will be examined and possible errors will be flagged. The hex file that is to be programmed into the target device. Supported parameters are listed below firmware This constructor returns a new Device::Microchip::Bootloader object. The tool allows bootloading over serial port and over ethernet when the device is connected over a serial to ethernet adapter such as a Lantronix XPort. Host software for bootloading a HEX file to a PIC microcontroller that is programmed with the bootloader as described in Microchip AN1310.

My $loader = Device::Microchip::Bootloader->new(firmware => 'my_firmware.hex', target => '/dev/ttyUSB0') DESCRIPTION

read_flash_crc($start_address, $nr_of_write_blocks)ĭevice::Microchip::Bootloader - Bootloader host software for Microchip PIC devices VERSION.read_eeprom($start_address, $nr_of_bytes).
