programming problem

Here you can ask for specific code examples and discuss about it with other forum members.
Post Reply
Author
Message
rjmendoza1987
Posts: 30
Joined: 27 Nov 2011 09:12

programming problem

#1 Post by rjmendoza1987 » 15 May 2012 03:03

Hi mikroe,

This is my first use of mikroprog and I am having problem during programming using mikroprog, when i click write, the warning dialog box appears, the device detected is different from the device i have selected, how does it happens?
Then if i continue, the programming was failed. Also the VPP was i think too high, see on pictures attached.

Please help me doing this,


Thank you mikroe,
Attachments
mikroprogfailed.PNG
mikroprogfailed.PNG (164.94 KiB) Viewed 9031 times
mikroprog.PNG
mikroprog.PNG (190.98 KiB) Viewed 9031 times

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: programming problem

#2 Post by filip » 15 May 2012 09:17

Hi,

Where are you connecting the mikroProg to ?
Is ti some custom experimental board ?
Could you please attach here detailed photos and its schematic ?

Regards,
Filip.

rjmendoza1987
Posts: 30
Joined: 27 Nov 2011 09:12

Re: programming problem

#3 Post by rjmendoza1987 » 15 May 2012 11:23

Hi,

I'm just followed the basic connection for PIC DIP40 on mikroprog manual and i'm surely right.
And this another very strange happened when i tried to click "write" without inserting the mikroprog to the target device, the warning dialog appears again and shows the same, the detected device is different to the device i have selected. I'm wondering why it detect device though it is not connected to the targert device? Is this happening normally if you click write without connecting the device?

rjmendoza1987
Posts: 30
Joined: 27 Nov 2011 09:12

Re: programming problem

#4 Post by rjmendoza1987 » 15 May 2012 12:07

Hi,


I'am connecting mikroprog to PIC16F887.


Thanks mikroe

rjmendoza1987
Posts: 30
Joined: 27 Nov 2011 09:12

Re: programming problem

#5 Post by rjmendoza1987 » 15 May 2012 23:54

i made prototype pcb for my first use on programming as simulation.
see schematic attached
Attachments
conn.PNG
conn.PNG (14.76 KiB) Viewed 9002 times

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: programming problem

#6 Post by filip » 16 May 2012 08:37

Hi,

Please, this is not a complete schematic, I will need also the values of the components in the circuit.
So, when the mikroProg is not attached to any circuit, and you press write the same message appears ?

Regards,
Filip.

Helmut
Posts: 252
Joined: 02 Aug 2006 12:58
Location: Flensburg Germany

Re: programming problem

#7 Post by Helmut » 16 May 2012 09:12

Power from Programmer is not enable???

You dont use any extern Power.
Best regards

rjmendoza1987
Posts: 30
Joined: 27 Nov 2011 09:12

Re: programming problem

#8 Post by rjmendoza1987 » 16 May 2012 11:40

Ok i will post actual photo and results.

Yes filip, still same message appears. Always PIC12F508 is the device detected though it is not connected to any circuit.
Then if i continue, the progress bar for programming is running. Very strange, programming runs without connecting to the target device? Can i post video of it so you can watch?

I also upgraded the firmware and followed the steps, but then after i tried still the same message appears.


Helmut, i do not use any external power.. The component value is 100nF for capacitor and 1k ohms for resistor same as requirements for PIC DIP40 programming connections.

sunny
Posts: 44
Joined: 26 Mar 2011 07:15

Re: programming problem

#9 Post by sunny » 16 May 2012 16:27

leave at all,
i think you should use a JDm progrmer dear
rjmendoza1987,
i have also faced a lot of problems, but now it is fine and i am using JDm programer with the software winpic

Helmut
Posts: 252
Joined: 02 Aug 2006 12:58
Location: Flensburg Germany

Re: programming problem

#10 Post by Helmut » 16 May 2012 20:54

Did you understand?

If you have no ex. Power you must enable the power from Mikroe-Programmer.

Best regards
Helmut
Attachments
Mikroe_Prg.png
Mikroe_Prg.png (6.64 KiB) Viewed 8957 times

rjmendoza1987
Posts: 30
Joined: 27 Nov 2011 09:12

Re: programming problem

#11 Post by rjmendoza1987 » 17 May 2012 01:23

Of course i understand helmut, i also made that but still same error appears.
I am also currently using my PICKit2 but i have no problem with it, then i bought mikroprog for its nice features but I've encountered such problem like that. That's why i'm asking on this forum for a technical support. I don't want my money to be wasted after all.
Attachments
error.jpg
error.jpg (84.65 KiB) Viewed 8949 times

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: programming problem

#12 Post by filip » 17 May 2012 08:44

Hi,

Ok, the detection of the 12F508 is quite normal.
Please, use a connection as on the picture below, this is an appropriate way of connecting the mikroProg to the 16F887.
I'm sure that it will work in this way.

Regards,
Filip.
Attachments
887.gif
887.gif (44.84 KiB) Viewed 8933 times

rjmendoza1987
Posts: 30
Joined: 27 Nov 2011 09:12

Re: programming problem

#13 Post by rjmendoza1987 » 22 Jun 2012 10:54

Hi mikroe,

I followed your last post. The result, i scrapped 3 pcs of PIC16f887. It doesn't work after trying.
I'm sure i am right on my connections just like what you suggest.
My mikroprog became useless having problem like that. I have finished my project using pickit and not my mikroprog. Maybe the mikroprog i have bought has already a manufacturer defect before i buy since it showing an abnormalities like that.
Programming is running without connecting the device?? :lol: very weird

Thank you..

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: programming problem

#14 Post by filip » 25 Jun 2012 10:10

Hi,

Did you try to program any other chip ?

Regards,
Filip.

rjmendoza1987
Posts: 30
Joined: 27 Nov 2011 09:12

Re: programming problem

#15 Post by rjmendoza1987 » 06 Oct 2012 02:48

thank you filip, my mikroprog is now working fine for PIC16F887.. next time i will try another device..


Thank you again..

Post Reply

Return to “Code Requests”