# I'm new to PIC, pls help!

Status
Not open for further replies.

#### 32bit

##### New Member
Hello everyone, I'm new to this forum so if I post in the wrong place or I make any mistakes, pls tell me!

As the title suggests, I'm new to PIC microcontrollers
So I just bought a PIC 12F629 but the I realised that I don't have any programmer for PICs so do any of you guys know any kind of programmer that I could build that supports that PIC and uses parallel port/com? (I can't build a ICD1/2/3 nor PICKIT2 since it's too difficult for me!)

btw, my PC is a desktop, if that somehow matters.

Last edited:

#### Wp100

##### Well-Known Member
I have a pickit 2 clone already (AND I DON'T WANT TO WASTE MONEY ON A PIC18 FOR MAKING A PICKIT2!), it doesn't support HVP (it's 5v only),

A typical pk2 clone does support HVP, that is the 'standard' way to program many Pics.

Think you are wrong or mixed up about using the one you have or there is something very unusual the model you have

Please give links /circuit diagram etv of it so we can see exactly what your Pk2 is, as it should provide you with everything you need.

#### 32bit

##### New Member
I'm sorry, I bought it quite long ago, the seller's website is now defunct, I don't have the schematic. And it says "5V ONLY" and I tried with a pic12f629 and it doesn't work. And do you have a simplified version of the ICD1/2? That'd help me ALOT

#### Wp100

##### Well-Known Member
Hi,

I honestly cannot believe a commercially sold Pk2 is not capable of HVP, I suspect the reference to 5V only means its powered by or can only program chips that normally run on 5V; that is separate to the 12v HVP it generates internally from its 5v supply.

If you have a photo of it, that might help; so we could see the connectors it has . I think we could give you the correct connection diagram to prove it works ok, and so end all your problems.

There have been a lot of Icd2 plans over the years but not my diyers go to the trouble of building them; as the Pk2 was so much easier to build.

#### Wp100

##### Well-Known Member
Here are the connection details of the Pk2 and how its connected to a typical target chip.

Give it a try, only takes 10 mins, what can you loose ?

#### NorthGuy

##### Well-Known Member
PIC12F1501 is 30% cheaper than PIC12F629, much better, and supports LVP.

#### JonSea

##### Well-Known Member
The official PICkit 2 can vary Vdd to the target chip to support programming 3v-only parts. Many of the clones don't support this feature, hence the "5 volts only" label. In the GUI, it will appear that you can change Vdd, but it won't actually change. This isn't a problem unless you're trying to program a 3v-only chip.

Just like the official PICkit 2, the clones will generate the necessary ~12v programming voltage.

Using the PICkit 2 clone is by far the best option for programming the chip you want to use.

Search JDM programmer here and you'll see many people who have spend months trying to make the things work with today's computers without success.

#### Les Jones

##### Well-Known Member
Hi 32bit,
I think the COM84 programmer should work with a PIC12F629 providing you are using software capable of programming the PIC12F629 AND with a serial port with at least a - 12V to +12 volts swing as it is basically a JDM programmer.

Les.

#### JonSea

##### Well-Known Member
Hi 32bit,
I think the COM84 programmer should work with a PIC12F629 providing you are using software capable of programming the PIC12F629 AND with a serial port with at least a - 12V to +12 volts swing as it is basically a JDM programmer.

Les.
Yes, it should work....if....and if....and if....and if.... There are dozens of forum threads here talking about trying to make these things work. If there is a serial port on a computer these days, it's usually not fully compliant with the RS-232 spec and won't work. There's a (mythical?) belief that JDM programmers work with some USB serial adapters, and people have spent months and \$ searching for this Holy Grail of USB adapters without success. Seriously, read some of the forum threads on JDM programmers here. If you want to program micros, use a PICkit - otherwise your time will be wasted trying to make an obsolete programmer work.

#### JimB

##### Super Moderator
otherwise your time will be wasted trying to make an obsolete programmer work.
I once spent a day doing just that...
...and then bought a PicKit2 and never looked back.

I decided to buy the pic12f629, since it's cheap.
Sometimes the cheap option is not cheap, because you spend more time and money trying to get the thing to work.

JimB

#### Triode

##### Active Member
I'm definitely with those that say to just use your PicKit 2, or buy a new one if it's truly broken. There's enough to question with making a circuit and firmware without your programmer/debugger being in question.

• make totally sure you have it hooked up like this (image). Note, the crystal shown is not needed except in chips with no internal crystal, which is now rare.

Your pic has an internal Osc, from the data sheet "Special Microcontroller Features: • Internal and external oscillator options - Precision Internal 4 MHz oscillator factory calibrated to ±1%"

• The pull up resistor on MCLR is required.
• VDD and VSS are required
• The analog references aren't needed for successful programming - may be needed for your application
My only other tip is that if you are unsure of the connections check the data sheet, I've linked to it above, Page 4 of the PDF. I'm not sure how new you are so I don't know if this is obvious.

Status
Not open for further replies.