Reputation: 536
I got a PICkit3, that I use for programming a PIC24FJ64GA004
with MPLAB IDE 8.83 and the C30 compiler.
The debugger works with the following config bits:
FNOSC
set to primary oscillator (XT HS EC) &
POSCMOD
set to HS osc
But I can't seem to get the debugger working with this config bit:
FNOSC
set to primary oscillator with PLL module (HSPLL ECPLL).
It gives the following error when I run:
PK3Err0040: The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding.
Upvotes: 2
Views: 1932
Reputation: 565
this error occurs when the clock is not running. Check your clock circuit, make sure the pll parameters are such that the clock frequency is within the pics operating limits
Upvotes: 1