This is an old revision of the document!
Table of Contents
Oxford Boot Loader
Oxford boot loader is a boot loader that supports loading firmware on dsPIC/PIC24 micro-controllers via UART.
The loader application has been written for POSIX implementations only.
For the UART interface any of a number of serial interfaces may be used which includes bluetooth devices such as the HC-05.
Licence
Oxford Boot Loader is licensed under the GPL version 3.
Credits and Thanks
Oxford Boot Loader is developed by Darron M Broad with contributions from Gerhard Bertelsmann.
I am grateful to Chiculita Claudiu for Tiny PIC Bootloader as Oxford Boot Loader uses a protocol derived from Tiny PIC bootloader.
Configure
Configuring Oxford is a simple case of copying two template files for the target device and editing it to suit the target application.
The first file is the assembly code for the loader and the second file a GNU make file for building the loader.
cd boot cp template.mk mk/myproject.mk cp template.s myproject.s vi myproject.s vi mk/myproject.mk
Follow the guide given in the template files to create the correct boot loader firmware for your target then build the boot loader.
make
Program
Now you must program the boot loader onto the target device. This will depend on the programming tool you have available and in this example we use Pickle Microchip PIC ICSP.
p24 select dsPIC33EP128GP502 lvp program myproject.hex
Once the boot loader hex file is on the target it may be reset whereupon it will listen for a connection from `easy-loader' already installed on the host platform.
Upload
In this final step you now take the application for your target device and upload it to the boot loader which will store it in flash memory.
This process is documented on the Easy-loader page.