USB application and USB bootloader
Hi all, I am trying to build a USB bootloader for my USB HID device. The USB HID device is working individually and the bootloader is also working separately (meaning. If I try to bootload a program which doesn't use usb, the bootloader works, tested with a simple LED program)
The bootloader is taken from MLA example and modified to suit the device and the board I have.
Once I program the device with the usb hid program, the next time I connect the device to PC, device is recognised as unknown device.
PIC IC: PIC18LF45K50
MPLAB VERSION: 5.10
Any suggestions as to what might be wrong ? I have checked and ensured the OSCILLATOR settings on both devices are same and the CONFIG bits are also matching.
If anyone has faced similar troubles and found a solution, it would be helpful..