Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Pickit3 connecting but not not downloading code to pic

Status
Not open for further replies.

dreambig

Newbie level 3
Joined
Nov 22, 2012
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,306
Hey guys this has been a wrench to my gear and its driving me nuts, I ma trying to download an MPLAB v8.87 code into a PIC16f1823 using the Hi-Tech compiler and it connects but keeps bringing up this error message below, I have increased decresead disabled LVP tryed a different pic and it still does not download. On some ocassion sing a different code and a newly created MPLAB project it downloads but not for this code (all of a sudden) it did download porperly before now.

My Header:

#include <htc.h>
#include <math.h>
#include <stdio.h>
#define _XTAL_FREQ 4000000 /* Used a lower clock frequency. For PIC micros, the power */
/* consumption seems to rise as the square of the frequency. */
__CONFIG(0x2F5C & 0x06FF);

Error Meaasge:
PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.28.02
Firmware type......................Enhanced Midrange
PICkit 3 Connected.
PK3Err0045: You must connect to a target device to use PICkit
3.
Device ID Revision = 00000008

Programming...
The following memory regions failed to program correctly:
Configuration Memory
Address: 00008008 Expected Value: 00001000 Received Value: 00001010
Programming failed

Any helpful ideas would be much appreciated
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top