EmbeddedRelated.com
Forums

PIC programmer problem

Started by Karlo Campos October 19, 2003
I'm having problems with PIC programmer. I used David Tait's classic
parallel programmer and IC-prog as the software to download/upload
the pic-program. I also installed the required port drivers so that
the IC-prog can run in WinXP. The parallel port signals switching is
working correctly.
I tried to program PIC16F877 and PIC18F458 with a simple program
(blinking LEDs on all output ports). IC-prog says it successfully
uploaded the program, but when it verifies/reads the PIC, it shows
the PIC is empty or blank (no program in it).
I tried reading my friend's PIC (a working one) but still it reads it
as blank.

What do you think is the problem? the hardware, software? or the
signal transition itself?

Karlo



Karlo , check the interface cable , I built a P16pro40
parallel programer and couldnt get it to work as well
, when I plugged the unit into the LPT port directly
(no cable) it worked flawlessly
--- Karlo Campos <> wrote:
> I'm having problems with PIC programmer. I used
> David Tait's classic
> parallel programmer and IC-prog as the software to
> download/upload
> the pic-program. I also installed the required port
> drivers so that
> the IC-prog can run in WinXP. The parallel port
> signals switching is
> working correctly.
> I tried to program PIC16F877 and PIC18F458 with a
> simple program
> (blinking LEDs on all output ports). IC-prog says it
> successfully
> uploaded the program, but when it verifies/reads the
> PIC, it shows
> the PIC is empty or blank (no program in it).
> I tried reading my friend's PIC (a working one) but
> still it reads it
> as blank.
>
> What do you think is the problem? the hardware,
> software? or the
> signal transition itself?
>
> Karlo


__________________________________



Hi Karlo,

Accoriding to what you wrote if the driver for the parallel port is installed corectly and the IC-prog works fine you have hardware problem.

To find where is the problem try doing the folowing:
First check the pins of the LPT port that IC-prog is using by connecting voltmeter to them to see if these pins change their value (Hi Lo 0 V +5V). For example try programming with IC-prog and measure the LPT port pin values. If they're not chainging then you probably have problem with the driver for the LPT port. If everything goes well (port pins are changing there values), connect the cable that you are using to connect the programmer. Connect only the cable, not the board. Then do the same thing as on the LPT port. If there is not change on the connector pins, there is a problem in the cable, bad junction or cut wire. Otherwise if the cable is ok, there is a problem on your board. Check the PCB and it's connections (compare the schematic of the board with the PCB layout), look for some bad wiring or missing connection maybe.
This way you should find the problem if it is coused by bad wiring.

GREETZ, Jovan >working correctly.
>I tried to program PIC16F877 and PIC18F458 with a simple program
>(blinking LEDs on all output ports). IC-prog says it successfully
>uploaded the program, but when it verifies/reads the PIC, it shows
>the PIC is empty or blank (no program in it).
>I tried reading my friend's PIC (a working one) but still it reads it <BR>
>as blank.<BR>
><BR>
>What do you think is the problem? the hardware, software? or the <BR>
>signal transition itself?<BR>
><BR>
>Karlo<BR>
><BR>
></tt>
>
><br>
>
><!-- |**|begin egp html banner|**| -->
>
><table border=0 cellspacing=0 cellpadding=2>
><tr bgcolor=#FFFFCC>
><td alignter><font size="-1" color=#003399><b>Yahoo! Groups Sponsor</b></font></td>
></tr>
><tr bgcolor=#FFFFFF>
><td alignter widthG0><a href="http://rd.yahoo.com/M%9395.3614674.4902533.1261774/D=egroupweb/S06554205:HM/A24963/R=0/SIGo885gmo/*http://hits.411web.com/cgi-bin/autoredir?campU6&lineid614674&prop=egroupweb&pos=HM"><img src="http://us.a1.yimg.com/us.yimg.com/a/sl/sleepangel/sleep_300x250.gif" alt="" width="300" height="250" border="0"></a></td>
></tr>
><tr><td><img alt="" width=1 height=1 src="http://us.adserver.yahoo.com/l?M%9395.3614674.4902533.1261774/D=egroupmail/S=:HM/A24963/randf6658977"></td></tr>
></table>
>
><!-- |**|end egp html banner|**| -- ><br>
><tt>
>to unsubscribe, go to <a href="http://www.yahoogroups.com">http://www.yahoogroups.com</a> and follow the instructions</tt>
><br>
>
><br>
><tt>">http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</a>.</tt>
></br>
>
></body></html



Hello all,
 
Have any one worked on PIC. I am new and have just built a programmer for myself. I found this at: http://feng3.cool.ne.jp/en/pg5v2.html. It is a jdm based programmer.
 
After building it i am unable to program anything. The LED glows and blinks sometimes when programmed. I don't have a clue what is the proplem can anyone help.I would be greatful.
 
Thanks
Anupam




--- In , Anupam Baid <eanupam@y...> wrote:
> Hello all,
>
> Have any one worked on PIC. I am new and have just built a
programmer for myself. I found this at:
http://feng3.cool.ne.jp/en/pg5v2.html. It is a jdm based programmer.
>
> After building it i am unable to program anything. The LED glows and
blinks sometimes when programmed. I don't have a clue what is the
proplem can anyone help.I would be greatful.
>
> Thanks
> Anupam > ---------------------------------
>

Well I went to the site and looked at what was there. The first
thing that struck me was that it appears that they use the
RS232 voltages as the high level programmng voltages. I would
suggest that you check the voltage levels that are actually
apprearing on the pins against the microchip design spec.

Now, I could be totally off base and they might be doing the
low voltage programming model. For which I apologize.

OTOH, if they are doing high voltage programming, then I would
certianly suspect low programming voltages as the first area
to explore.

I too built my first pic programmer. A Tait design from the
Ottowa Robotics Society. Nice little prgrammer. However,
there are some parallel pic programmer kits out there for $15.00
with the parts included. So, it seems like the law of diminishing
returns had reared it ugly head to me. Now, I just go buy the
kit rather than breadboarding or commiting to a PC board (both
of which I've done). BUT, keep at it. It can certianly be a
learning experience. Sometimes the make vs. buy judgement is
not just on cost alone!

All the best of luck with it!

Cheers,

Rich S.




----- Original Message -----
From: Anupam Baid
To:
Cc: ; ;

Sent: Saturday, November 06, 2004 7:03 PM
Subject: [piclist] PIC programmer problem Hello all,

Have any one worked on PIC. I am new and have just built a programmer for
myself. I found this at: http://feng3.cool.ne.jp/en/pg5v2.html. It is a jdm
based programmer.

After building it i am unable to program anything. The LED glows and blinks
sometimes when programmed. I don't have a clue what is the proplem can
anyone help.I would be greatful.

I built the JDM programmer. It worked fine under WinME but has problems with
WinXP. What are you using?

Leon