I posted a similar question in the schematics area. Attached is a PDF, I can't get my ICSP to work correctly. I get a message that the PIC doesn't match the selected. Please suggest some points to check based on attached PDF.
Thanks
Toby
I posted a similar question in the schematics area. Attached is a PDF, I can't get my ICSP to work correctly. I get a message that the PIC doesn't match the selected. Please suggest some points to check based on attached PDF.
Thanks
Toby
You'll never have any answer in the schematic area.. as it's the place to post working example... euh.. in theory so far.
Looking at your schematic... there's no resistor and diode on the MCLR/VPP line. compare your schematic with Sayzer's one o rthis one on the Melabs website...
![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Reading the support page on the ICSP the diode and resistor are only for the protection of other components.
"If 13V on the MCLR pin might put at risk other components on your board, use a diode in series with the RESET pullup to keep the 13V off of the Vdd line."
mmm... yes but MCLR have to be 13 volt to program the PIC... so let's say your programmer is strong enough to power up everything... your Vdd rail willl be 13Volt and blow everything --- and this include your PIC ----
also make sure the PGM pin is loaded to GND via a resistor or anything else.
The programming sequence and voltage are usually explainned in some PIC datashet or in the Microchip ICSP guide bellow
http://ww1.microchip.com/downloads/e...Doc/30277d.pdf
in that PDF, refer to figure 1 (pdf page 13)
this is a nice document. There's also few timing chart you may refer to.
Last edited by mister_e; - 7th November 2007 at 23:08.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
The schematic shows Vpp shorted to Vdd. Vpp should go to the Vpp/mclr pin of the processor, with a pullup resistor to Vdd. Vdd should also connect to the programmer.
On the ICD2, no Vdd is sometimes reported as mismatch, so check that Vdd is actually getting to the programmer.
Bookmarks