Thank you Bruce!
So, this means that you can not override them later with your running program?
The date for the "USB Device - HID - HID Bootloader - C18 - PIC18F4450.hex" is 19.6.2008. I opened the zip-file maybe 1,5-2 month ago.If you're using the older version Microchip USB boot-loader firmware, these are set in the C code.
I don't grasp this. How can I see or found WDTPS in a .HEX file?You can open the loader .HEX file with your programmer, change WDTPS from 32768 to 128 then save the .HEX file & re-program your 4550 with the modified loader firmware. Then you will have a postscaler of 128. I would leave WDT=OFF, and use the software enable option WDTCON.0=1.Code:#pragma config WDT = OFF #pragma config WDTPS = 32768
My program has DEFINE OSC 48, so that can not be the reason for this sleep-error.You'll also want to use DEFINE OSC 48 so PBP will use the correct timing. Without defining the osc speed PBP defaults to 4MHz.
Bookmarks