Skip to content

Using the bootloader

nyholku edited this page Feb 14, 2015 · 2 revisions

Kusti/14.2.2015

You really need to first read the original Diolan documentation, that explains 99% of everything.

For some reason the documentation is difficult to find from their website or with google, here is the link to it:

http://usb-pic.org/usb-pic-bootloader

This project ('diolan-plu2') contains the bootloader firmware source code in the folder 'fw', which you'll need to compile and 'flash' to your device. The (load)[https://github.com/nyholku/diolan-plus2/blob/master/src/load] script shows how to do that with the PICKit2.

You also need to compile the tools in the foldersencoder and fw_update to be able to encode your actual application firmware and upload it to the device.

I've read that the fw_update maybe difficult to get to compile in Linux or Mac OS and that it is too complicated piece of code. YMMV.

The Dangerous Prototype project seems to have a fw_update of their own, maybe try that if you run out of luck with the Diolan's. You can find it from the following link:

Dangerous Prototypes' fw_update

I don't know, I haven't tried it as I have my own Java based firmware updater.

Clone this wiki locally