Well, now I am starting to wonder if I ever had it working on CDC.
I had a cdc labeled program for it, but what I had does not work. I had a fairly quick time with the 47J53 in CDC as well as HID, but for the 67J50, I can't seem to get either to work, and I have spent a fair amount of time at it.
These were the configs I used for other programs for the 67J50, which pretty much matches Microchip's HID bootloader software.
Code:
'DEFINE LOADER_USED 1
'DEFINE RESET_ORG 1000h ' For Microchip USB Bootloader
#config
CONFIG PLLDIV = 5 ;for 20 mhz chip
CONFIG XINST = OFF
CONFIG STVREN = ON ;stack overflow reset
CONFIG WDTEN = OFF
CONFIG CP0 = OFF
CONFIG IESO = OFF
CONFIG FCMEN = OFF
CONFIG CCP2MX = DEFAULT
CONFIG WDTPS = 32768
CONFIG CPUDIV = OSC1 ;DIVIDE BY 1 MODE
CONFIG FOSC = HSPLL
CONFIG MSSPMSK = MSK5
#endconfig
DEFINE OSC 48
clear
OSCTUNE.6 = 1 ' Enable PLL for 18F87J50 family
I will try a few more things, but I wanted to give you a heads up.
Bookmarks