You cannot use internal oscillator for ICD with PIC16 and PIC18 family because of internal pull-ups activated on ICD lines in that mode.
Only on PIC24, dsPIC30, and dsPIC33 chips you can use ICD with internal oscillator.
You cannot use internal oscillator for ICD with PIC16 and PIC18 family because of internal pull-ups activated on ICD lines in that mode.
Only on PIC24, dsPIC30, and dsPIC33 chips you can use ICD with internal oscillator.