Hello,
Im trying to use MPLABE IDE (version 8.63) , with my Junebug on a PIC18F25J10
The pic is externally powered.
Im able to use the above setup to program fine.
When I connect it says:
Found PICkit 2 - Operating System Version 2.32.0
Target power detected ( 3.14V)
PIC18F25J10 found (Rev 0x2)
PICkit 2 Ready
(And programs + verifies fine)
When I switch to the debugger (selected PicKit2) it says:
Initializing PICkit 2 version 0.0.3.63
Found PICkit 2 - Operating System Version 2.32.0
Target power detected ( 3.14V)
PIC18F25J10 found (Rev 0x2)
PICkit 2 Ready
So far so good.
When I 'run' a popup dialog comes up:
PKWarn0006: The local copy of program memory has been changed since the last program operation. Should PICkit 2 program the target (fix) before proceeding?
Whether or not I select yes, it eventually complains with another popup:
---------------------------
MPLAB IDE
---------------------------
PK2Error0024: PICkit 2 was unable to establish a valid Vdd on the target (Attempted 3.25V - Read 0.00V)
---------------------------
OK
---------------------------
PK2Error0028: Unable to enter debug mode
PICkit 2 Ready
Any suggestions?
The debugger settings are identical to the programmer settings:
(x) connect on startup
(x) use prog exec if available
(All other options off)
It's quite a long program, but it begins with:
#pragma DATA _CONFIG1L, _XINST_OFF_1L & _STVREN_ON_1L & _WDT_OFF_1L
I also tried with:
#pragma DATA _CONFIG1L, _DEBUG_ON_1L & _XINST_OFF_1L & _STVREN_ON_1L & _WDT_OFF_1L
Same results.
Thanks very much.
Rob.