This is an old revision of the document!


Easy-loader for Wellington and Oxford boot loaders

fixme.jpg

Easy-loader uploads application hex files to either the Wellington boot loader for PIC18 or Oxford boot loader for dsPIC/PIC24.

Easy-loader also has a number of options to interrogate the boot loader to inspect chip flash and EEPROM content.

Install

Easy-loader is installed from source.

hg clone http://hg.kewl.org/pub/easy-loader
cd easy-loader
make
sudo make install

Usage

Typing easy-loader alone will output the following help.

USAGE: easy-loader [OPTIONS] DEVICE [HEX-FILE]

Invalid args.

Options:
 -b N use TTY baud rate N
 -d   hang up DTR after serial port open
 -e   read EEPROM
 -f   read flash
 -h   HELLO only
 -i N use CAN bus message id N
 -n   do not run firmware on exit
 -p   run pickle pctrl to reset device
 -q   quiet
 -r   hang up RTS after serial port open
 -s   simulate erase/write
 -t   time to wait in seconds after serial port open
 -v   verify

Version: 2

The device can either be a serial interface of CAN Bus interface. Support for CAN Bus is boot loader dependent and this is not available for Oxford boot loader at present.

Example

Here a device attached to RPi is first reset using `pctrl restore' and the a hex file image is uploaded at 57600 baud.

easy-loader -p -b 57600 /dev/ttyAMA0 myapp.hex
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies