View Single Post
Old 09-29-2015, 11:40 AM   #2102 (permalink)
thingstodo
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by e*clipse View Post
I made an adapter so the ICD2 could be used. I also wrote a stupid little "hello world" program that would blink the LED @ pin 16. There is also an AtoD converter that will take the input from RB0.
Cool.

Quote:
However, I got these warnings from the ICD2:
ICDwarn0052 "ICD2 cannot validate target device"

Ignored this error and tried to program anyway:

ICD0161 "verify failed Test address 0x800000 expected val 0x40080 val read 0x0
I get a warning when I program with the PICkit 3 - the hex file loads with no errors, but when I verify there is a mismatch at some address. I'll check when I get home.

Quote:
One problem may be the connection to the MCLR pin - when connected to the ICD2, it measures about 2.86V - I don't know if this is a problem or not.
Also, the ICD2 manual says "NO capacitor from MCLR to ground, as this will prevent fast transitions of Vpp. A simple pullup resistor is sufficient."

suggestions? Does the PICKIT3 say anything about MCLR?
2.86V on a board that uses 5V sounds like a problem - it's too close to 2.5V and not close enough to 3.3V.

I did not go through the PICkit 3 documentation. When I plugged it in, it worked, so the manual sits unread.

Here's the manual http://ww1.microchip.com/downloads/e...Doc/51795B.pdf

Page 20 shows a typical connection. It looks like a 4K7 to 10K0 resistor is typical - no capacitor.
  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
e*clipse (09-29-2015)