I fixed the problem after many hours spent debugging and I felt it was my duty to tell others too , so they won't spend that time too porting the USB Bootloader to PIC18F87J50
I'm trying to port the CCS USB bootloader for PIC18F87J50 and I just can't make it run the self written code.
I must mention the fact that I've got it working flawlessly on P ...