View previous topic :: View next topic |
Author |
Message |
NicolasC
Joined: 14 Sep 2006 Posts: 27
|
|
|
NicolasC
Joined: 14 Sep 2006 Posts: 27
|
Solved |
Posted: Fri Sep 15, 2006 11:41 am |
|
|
The above code is enought to be compatible with Microchip bootloader
I added NOPBADEN,WRTB to my fuses to remove warning when loading the HEX file :
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV1,VREGEN,NOPBADEN,WRTB
I still have the Warning "Failed to write CODE DATA" and I still don't know what is related but it's operationnal |
|
|
Joven Guest
|
|
Posted: Mon Sep 18, 2006 4:11 am |
|
|
Hi
you can put a simple exemple for make upload for the pic.
thanks |
|
|
NicolasC
Joined: 14 Sep 2006 Posts: 27
|
|
Posted: Thu Sep 21, 2006 3:44 pm |
|
|
The boot program is provided in the Microchip Bootloader package listed above.
Then add the code above to relocate you program outside of the boot zone.
Be carefull with the configuration bits as they must be compatible with the bootloader. Check the USB bootloader manual.
Regards |
|
|
|