Re: Problem for program 16f628A with Mplab icd 2 Verification problem
- From: "Paul E. Schoen" <pstech@xxxxxxxxx>
- Date: Wed, 9 May 2007 13:44:49 -0400
"manfer1984" <manolofblanco@xxxxxxxxxxx> wrote in message
news:W96dnThs59d5OdzbnZ2dnUVZ_uKknZ2d@xxxxxxxxxxxxxxx
Hi all>I have had similar problems that were caused by improper circuitry on the
I have some troubles with programing the 16f628A with mplab icd2
i configured all bits configured, i don't have any pull up resistor in
RB6
and RB7, the voltage suply is ok for Vdd and Vpp. the dispositive pass
all
the self test and the voltage have a rigth value. also i configured de
bits configured in the program like this:
__CONFIG _HS_OSC & _WDT_OFF & _PWRTE_ON & _BODEN_OFF & _MCLRE_OFF &
_CP_OFF & _LVP_OFF & _DATA_CP_OFF
I tried with two tipes of communication with usb an with serial mode but
it continue wrong.
This is the error show in my output window.
Programming Target...
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make
sure
that the target device is connected and properly powered. Select "OK" to
continue, or "CANCEL" to abort the operation
..Validating configuration fields
..Erasing Part
..Programming EEPROM Memory
..Programming Program Memory (0x0 - 0x2F)
..Programming User IDs
Verifying...
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make
sure
that the target device is connected and properly powered. Select "OK" to
continue, or "CANCEL" to abort the operation
..Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val =
0x2820, Val Read = 0x0)
ICD0275: Programming failed.
MPLAB ICD 2 Ready
in this text there are two warnings, the one is ICDWarn0052 and i check
all my connections ande the suply voltage of the pic and all are fine.
And the second warning is ICD0161 is something for the verification part
of the icsp protocol, but i don't know what it read a cer value?
I don't what is the problem in my circuit or in the mplab icd2
configuration if anybody know something about this problem please i need
some help
target board. It is helpful to look at the 3 active lines for clean
waveshape and voltage levels. Capacitors and pullup resistors can cause
problems. Particularly, the MCLR line pullup and capacitor (if any) should
be connected via a signal diode so the ICD2 can apply the programming
voltage (which is about 12-13 V). The other two lines are data and clock,
and they should have clean waveforms during programming and verification.
Finally, the target power supply and clock should be correct.
It is a good idea also to run the self test on the target board with the
ICD2 from MPLAB. It will show the voltages it reads.
Paul
.
- References:
- Problem for program 16f628A with Mplab icd 2 Verification problem
- From: manfer1984
- Problem for program 16f628A with Mplab icd 2 Verification problem
- Prev by Date: Re: pic c
- Next by Date: Re: pic c
- Previous by thread: Re: Problem for program 16f628A with Mplab icd 2 Verification problem
- Next by thread: Re: Problem for program 16f628A with Mplab icd 2 Verification problem
- Index(es):
Relevant Pages
|