Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

I am a newbie and am having trouble starting

Status
Not open for further replies.

Iawia

Member
(I have read through the faq, and did a search on my error as not to repost a question that has been answered already 1000 times but have not found an answer, so i turn to you..)

I purchased the Pickit 2 Starter Kit from Microchip about a week ago, trying to get a foothold on this new world of microcontrollers, but I am getting very frustrated because I am not able to write to my target. My code builds and everything, but when I try to write to the target i get the error:


Programming Target (10/21/2011 9:20:26 PM)
PK2Error0049: VPP Voltage error. Check target and retry operation.
PICkit 2 Ready


I ran through one of the tutorials (hello world) and was able to successfully program a P16F690 chip (light an led). I changed the chip and the code to reflect the changes.

I am running windows xp, am using a p10F200 chip, and am using the latest MPLAB IDE v8.80. Why would I suddenly get a voltage error? Can anyone help me???

attached is the code i am using (to simply light an led).
 

Attachments

  • Controller_Program.ASM
    3.6 KB · Views: 160
Can you post a schematic of how the 10F200 is wired? It sounds like you have the MCLR pin wired wrong.

Mike.
 
From your description, it sounds like you may have the PICkit2 + Low Pin Count Demo Board bundle (DV164120 - PICkit 2 Starter Kit)
If that is the case, it's impossible to use the PIC10F DIP package in the 8-pin section of the socket, due to the irregular pinout of these devices.
You need to consult the PIC10F datasheet and make a DIY adapter, or use a breadboard & some jumper wires to match up the 10F pinout to that of the 12F's:

PIC12F675
1 - VDD
2 - GP5 (NOT USED)
3 - GP4 (NOT USED)
4 - MCLR
5 - GP2 (NOT USED)
6 - ICSPCLK
7 - ICSPDAT
8 - VSS

PIC10F200
1 - NC
2 - VDD
3 - GP2 (NOT USED)
4 - ICSPCLK
5 - ICSPDAT
6 - NC
7 - VSS
8 - MCLR

Regards.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top