Found PICkit 2 - Operating System Version 2.32.0
PICkit 2 Unit ID = UIC00B V1.0
Target power not detected - Powering from PICkit 2 ( 5.00V)
PK2Error0024: PICkit 2 was unable to establish a valid Vdd on the target (Attempted 5.00V - Read 0.00V)
PICkit 2 Ready
Code:
- CODE: SELECT_ALL_CODE
#include<pic.h>
#define _XTAL_FREQ 4000000
#define uchar unsigned char
__CONFIG(0xFF32);
void main(void)
{
ANSEL = 0x00;
TRISC = 0x00;
while(1)
{
PORTC ^= 0x01;
__delay_ms(500);
}
}
Method:
1. ICSP using UIC00B
2. MPLab 8.66
3. PICKit 2 v2.40
4. Universal Toolsuite v9.81
5. 5.21V pwr supply
THZ IN ADVANCE