Hi Robert.
This is quick guide how I did and what I used:
First I created a hexfile as described in step 2 & 3 here:
http://pic18fusb.online.fr/wiki/wikk...ka=UsbBootload
(Attached file Bootfile.zip)
Then I built an ICSP programmer PIC-PG1 like this:
http://www.sparkfun.com/shop/?shop=1&cart=598190&cat=3&
And then I programmed my 18F4550 with Bootfile.hex using WinPic800 v3.58
I connected my 18F4550 to USB-port like this:
http://pic18fusb.online.fr/wiki/wikk...ka=UsbBootload
I created a simple testprogram in MicroCode Studio Plus:
'***********************************************
DEFINE LOADER_USED 1
DEFINE RESET_ORG 800h ' For Microchip USB Bootloader
DEFINE INTERRUPT_ORG 808h ' For Microchip USB Bootloader
led var PORTD.1
loop: HIGH led
Pause 4000
low led
Pause 4000
Goto loop
End
'************************************************
Compile using MPASM and INHX8M checked.
I downloaded the testprogram using USB and
C:\MCHPFSUSB\Pc\Pdfsusb\PDFSUSB.exe (The location in my Pc).
as described in step 1-8 under "USB-bootloading procedure" here:
http://pic18fusb.online.fr/wiki/wikk...ka=UsbBootload
I have probably missed some step but I hope it will help you a little bit.
Good Luck!
Stefan.
Bookmarks