Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Programming PIC12F675 using PICKIT2

Status
Not open for further replies.

mishelmo

Newbie level 3
Joined
Jun 29, 2013
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
26
Hi All, I'm having problems with programming PIC12f675 using pickit2. If I check the communication using Tools>Check Communication it says that the pickit2 and the device is found, however, once I try to use blank check, it says that there is no device found. Any advice?
Thank you so much! :)
 

Please, post the schematic of the circuit you are utilizing to program the target device.

Also, how are you powering the target device, through the PICkit or external power supply?

BigDog
 

U use PICkit 2 previously for any IC programming if no then make connection like this
1. Reset / MCLR
2. Vcc
3. GND
4. DATA [Ref. PICKit user manual & IC datasheet]
5. CLK [Ref. PICKit user manual & IC datasheet]
 

@bigdogguru:
Thank you so much for your quick reply. :)
Below is the circuit I used to program the device.
CKT_pic12f675.png

I detached the pic from the ckt I was going to test it with, so I basically didn't have any connections while trying to program the PIC. I'm using the pickit as the power supply.

- - - Updated - - -

Thank you for your reply! I have already tried using pickit2 before but with PIC16f877A, it's my first time using it with PIC12f675. I already checked the datasheet of the PIC and the the pickit2 while connecting. :)

- - - Updated - - -

@Golden Electronics:

Thank you for your reply! I have already tried using pickit2 before but with PIC16f877A, it's my first time using it with PIC12f675. I already checked the datasheet of the PIC and the the pickit2 while connecting. :)
 

Although, your circuit is for only programming device, I would still recommend utilizing a bypass/decoupling capacitor attached as close as possible to the Vdd (+5v) and Vss (GND) pins of the target device, a typical value of 100nF (0.1uF).

I would also recommend pulling MCLR/Vpp pin high with a 10kΩ resistor or reasonable facsimile.

I also utilize a protection diode to prevent migration of the high voltage Vpp to other devices on the circuit, however in this case it is not necessary as the target device is not in-circuit.

If you are sill having issues after implementing the above recommendations, try powering the target device using an external power supply rather than the PICkit and ensure PICkit power option is disabled, this can be particularly an issue with clone PICkits.

Also be aware, the PIC12F675 stores the oscillator calibration value (OSCCAL) in Flash and while most Microchip development tools restore/maintain this value during a complete erasure of the device, some third party development tools do not.

The following are typical minimal circuit for In-Circuit Serial Programming (ICSP):



BigDog
 
I regular use 16F675 but using PICkit3 in which no need of above resistor . I just connect pin no crystal connection . no reset resistor. It work fine. After programming I test on other board is main change.
 

Thank you for all your advice! I have already found out what my problem was, pickit2 does not support pic12f675. However, I will keep all your advice in mind when I program pic16. Thank you again! so much!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top