Quote Originally Posted by Darrel Taylor View Post
You can't use the ICD with the PIC running at greater than 40Mhz.
There's no real reason other than MCS+ won't let you.

But, you can increase the divider so the the core runs at a lower freq.
_CPUDIV_OSC3_PLL4_1L will give 24mhz.

Then change to DEFINE OSC 24.

Also, the ICD is not compatible with standard USB routines.
It will likely drop the connection to the PC because it's not servicing fast enough. (Unless using USB_ASM_Service.pbp)
<br>
OK Darrel ,
I only test ICD on 18F4550.
In Proton+ I was probe and work OK. But I was edit .XML to accept 48Mhz clock and at that freq. need to use 115200 speed in definition of HSEROUT ..
That is problem in PBP ICD 100% but we or I cant edit .ICD file for new devices...

I was probe your suggesst an work 100% ok.
In my code for test I not use USB. Only simple keypad reding + LCDOUT.

Best regards