Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 07:59:58 07:59


Login with username, password and session length


Pages: [1]
Print
Author Topic: Pickit3 and PIC12F675  (Read 15062 times)
0 Members and 1 Guest are viewing this topic.
bigmaurizio
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 11
-Receive: 1


« on: February 11, 2013, 09:05:54 21:05 »

Hi all!

I can't program a PIC16F675 with my pickit3 clone. Someone has programmed a PIC16F675 using a pickit3?
I would understand if the problem is my programmer (it's a chinese clone)
Logged
Parmin
Hero Member
*****
Offline Offline

Posts: 582

Thank You
-Given: 496
-Receive: 133


Very Wise (and grouchy) Old Man


« Reply #1 on: February 11, 2013, 10:02:48 22:02 »

are you talking about PIC12F675?

Not sure I ever seen PIC16F675, not even listed on Microchip site  Grin
Logged

If I have said something that offends you, please let me know, so I can say it again later.
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4666

Thank You
-Given: 833
-Receive: 4320


There is no evidence that I muted SoNsIvRi


« Reply #2 on: February 11, 2013, 10:10:16 22:10 »

and I read it as PIC16F676 Tongue
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1001

Thank You
-Given: 231
-Receive: 983



« Reply #3 on: February 11, 2013, 10:19:13 22:19 »

If you use the PICKIT3 to power your board during programming. You must switch the power on in MPLAB. As default this option is set to off
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
bigmaurizio
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 11
-Receive: 1


« Reply #4 on: February 12, 2013, 08:47:30 08:47 »

 Sad Yeah, 12F675 and 12F683, sorry for mistake!


Posted on: February 12, 2013, 09:46:00 09:46 - Automerged

Sad Yeah, 12F675 and 12F683, sorry for mistake!


I don't use mplab but the stand alone programmer. Anyhow, using mplab the problem still the same.
Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1001

Thank You
-Given: 231
-Receive: 983



« Reply #5 on: February 12, 2013, 09:18:09 09:18 »

You say not work. That is very little to work. Can you tell why it is not working. What kind of errors do you get
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4666

Thank You
-Given: 833
-Receive: 4320


There is no evidence that I muted SoNsIvRi


« Reply #6 on: February 12, 2013, 11:51:31 11:51 »

You say not work. That is very little to work. Can you tell why it is not working. What kind of errors do you get
second that, plus the code your trying to burn, may have errors.

I think there is a problem with internal osc/or/if you set one of the programming pins to output, I think the programmer needs to program the  pic12fxxx at 12V, can your clone do this voltage?
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
bigmaurizio
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 11
-Receive: 1


« Reply #7 on: February 12, 2013, 01:49:37 13:49 »

I'll try to explain step by step

1) the programmer is a Pickit3 clone from Sure Electronics

2) the software is PICkit 3 GUI and Scripting Tool v3.00 BETA from Microchip

3) the .hex file is generated from Mikrobasic

4) no programming problem using the picflash programmer integrated on my easypic5 board, and all work fine

Here the mikrobasic source code

*******

program wif675

' Declarations section
dim I as byte
dim VOLT as word

main:
'   Main program
CMCON = %00000111
ANSEL = %00000010
ADCON0 = %00100101
TRISIO.1 = 1
TRISIO.4 = 0
GPIO.4 = 1

while(1)

VOLT = Adc_read(1)

if VOLT > 128 then

GPIO.4 = not (GPIO.4)

for I=1 to 20

delay_ms(1000)

next I

end if

wend

end.

*******

fuses setting: wdt off, intosc, mclr off

I used this pickit3 clone programmer to program some PIC16F628, PIC16F887, PIC16F877A and PIC18F45K22 and all work fine.

But I can't program pic12f675 and pic12f683

« Last Edit: February 12, 2013, 01:54:09 13:54 by bigmaurizio » Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1001

Thank You
-Given: 231
-Receive: 983



« Reply #8 on: February 12, 2013, 01:59:41 13:59 »

It is something on chip. Could you try to erase the chip. Then program it
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
bigmaurizio
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 11
-Receive: 1


« Reply #9 on: February 12, 2013, 02:14:21 14:14 »

After erase the osccal value is corrupted and the following message is showed "Invalid OSCCAL value detected". Anyhow the device is not really erased, but osccal yes  Sad
After erase all still the same and I can't program the device. 
Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1001

Thank You
-Given: 231
-Receive: 983



« Reply #10 on: February 12, 2013, 03:03:11 15:03 »

Do you use the PICKIT to power your device during programming?
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #11 on: February 12, 2013, 03:59:49 15:59 »

Try this to get your oscal setting back

http://picprojects.org.uk/projects/recal/recal.htm
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1001

Thank You
-Given: 231
-Receive: 983



« Reply #12 on: February 12, 2013, 04:24:27 16:24 »

Your Oscal value is not lost. Look at the picture in post #7 Wink
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #13 on: February 12, 2013, 04:36:20 16:36 »

That's a picture before you told him to erase the chip , post a new pic since you erased the chip
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
titi
Active Member
***
Offline Offline

Posts: 230

Thank You
-Given: 3802
-Receive: 834



« Reply #14 on: February 12, 2013, 06:29:32 18:29 »

Hi bigmaurizio,

To program pic12f675 and pic12f683, you need absolutely in "PICkit 3 Programmer" Software, in menu Tools, check "Use VPP First Program Entry".
If you don't check this option and uses MCLR as IO Pin you can program the PIC one time, the second time you have an error.
To have good programming for these PICs, PICKit 3 MUST supply VDD to target. (it is indicated by the software when you check "Use VPP First Program Entry" option).

If you have or can use a PICKIt 2 there is an option to retreive the lost OSCAL value by using menu Tools in "PICKit2 Programmer" Software (Tools, next OSCCAL, next Autoregenerate).
Unfortunately in "PICKit 3 Programmer" you have only Tools, next OSCCAL, Set Manually.

I hope this help you and other people that programs these small usefull PICs.

Best regards.
« Last Edit: February 12, 2013, 06:42:01 18:42 by titi » Logged
bigmaurizio
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 11
-Receive: 1


« Reply #15 on: February 12, 2013, 08:16:35 20:16 »

Now "Use Vpp first program entry" is checked but all still the same. It's very strange  Lips sealed
I also tried don't use INTOSC and set HS oscillator, but nothing to do.
I hope to find here someone has a genuine PICkit3, that can try to program these pics to know if work fine or not.   
« Last Edit: February 12, 2013, 08:21:50 20:21 by bigmaurizio » Logged
Parmin
Hero Member
*****
Offline Offline

Posts: 582

Thank You
-Given: 496
-Receive: 133


Very Wise (and grouchy) Old Man


« Reply #16 on: February 12, 2013, 09:57:53 21:57 »

If the programming done by ICSP,
Is there loading on the PGD, PGC and VPP pins?


« Last Edit: February 12, 2013, 10:00:56 22:00 by Parmin » Logged

If I have said something that offends you, please let me know, so I can say it again later.
thunderer
Junior Member
**
Offline Offline

Posts: 61

Thank You
-Given: 19
-Receive: 69


I try to be patient


« Reply #17 on: February 13, 2013, 12:11:28 00:11 »

Please try with MCLR ON (link it to Vdd with 10k) and program again. Let us know if it worked. Some Microchip chips do not like the MCLR OFF (the one I hate the most, and I have a bunch of them is the 16F630).
Logged

Interested and hopefully helpful in: DC brushed motor control (mainly R/C - PPM/PWM), analog audio, PIC (mikrobasic PRO). Feel free to ask, and if I can, I will help. But only on forum topics, any started private conversation will continue in a public topic.
Cain
Junior Member
**
Offline Offline

Posts: 81

Thank You
-Given: 165
-Receive: 102


« Reply #18 on: February 13, 2013, 01:41:08 01:41 »

If the programming done by ICSP,
Is there loading on the PGD, PGC and VPP pins?

Some good advice all around and if there are load on PGD and PGC try using ~10k resistor in series.

Logged
demure
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 5
-Receive: 19


« Reply #19 on: March 26, 2013, 01:57:36 13:57 »

Hi everyone;
I bought clone pk3. It works. but  it didn't program 32mx795 series. Can everyone help me?
Thanks
Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1001

Thank You
-Given: 231
-Receive: 983



« Reply #20 on: March 26, 2013, 03:46:31 15:46 »

Hi everyone;
I bought clone pk3. It works. but  it didn't program 32mx795 series. Can everyone help me?
Thanks
Why did you hijack this old thread about a 12F PIC. It is bad forum etiquette to do this
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
demure
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 5
-Receive: 19


« Reply #21 on: March 26, 2013, 05:56:26 17:56 »

Ok. Sorry. But I thought it is same subject.
I will open a new subject.  Thanks.
Logged
Parmin
Hero Member
*****
Offline Offline

Posts: 582

Thank You
-Given: 496
-Receive: 133


Very Wise (and grouchy) Old Man


« Reply #22 on: March 26, 2013, 11:00:23 23:00 »

I dislike those who got in, ask questions repeatedly then silent..
No feedback...

Hey bigmaurizio  did the problem solved itself?
OR did you throw the whole rubbish into the dump?

Logged

If I have said something that offends you, please let me know, so I can say it again later.
bigmaurizio
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 11
-Receive: 1


« Reply #23 on: March 27, 2013, 09:43:55 21:43 »

Hi all! Sorry for delay. Finally I found the problem that was on the zif board. A bad metalization on the pcb.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC