
The hex for bootloader is compiled in a way that bootloader will start every time you restart the device. If you just power on device your application will start.

You can burn SID_GEN4.X.production.hex directly in to your PIC18F2550 but if you like to use bootloader, it's now possible.

For the blank 18F2550 you 
 - erase chip
 - flash diolan-bootloader.hex provided

and you are ready to upgrade firmware trough USB

In order to upgrade firmware trough USB
- download fw_update from diolan site http://www.diolan.com/pic/bootloader_dwn.html
- connect SID to your USB and to power
- restart SID (by shorting pin1 and pin3 of the ICSP connector and then removing the short - this is pushing MCLR to Vss)
- DIOLAN bootloader will start
- update the firmware using ft_update:
 o ERASE flash
   fw_update.exe -e -vid 0x04d8 -pid 0xfa98 -t no
 o WRITE data
   fw_update.exe -w -t no -vid 0x04d8 -pid 0xfa98 -ix SID_GEN4.X.production.hex
 o VERIFY data
   fw_update.exe -v -t no -vid 0x04d8 -pid 0xfa98 -ix SID_GEN4.X.production.hex

That's it. Now power off SID.

NOTE: There's a bunch of capacitance on the SID's power rails so if you turn SID immediately after this procedure it will think it restarted and will go to bootloader, make sure you wait until all capacitors are empty before you power on the SID.
