New to PIC

Started by Shamoon August 17, 2003
Hello everyone,
I have the 16F628, and the JDM Programmer (Serial). Can someone
please give me a run down of how to use ICPROG to program the PIC? I
keep getting a "Verify failed at addres..." error. I searched online
for everything that I could and still no luck. Any help would be
greatly appreciated. Thank you.



hello,

you don't mention what version of windows you're using but, in order for me to get my Win98 parallel port to talk to my programmer I had to enable the "direct cable connection" option for my ECP port. Most likely you may have to do this for your serial port as well. For other versions of windows I think theres a DLL file on the IC-PROG NT/2000 download site you might need for those two or XP.

And, by the way, be sure to have RB4 (pin 10) pulled down (or connected to ground) while you are programming your 16F628 if you're not already doing this.

bring up IC-PROG FIRST, then,
hit "start", select "programs", select "accessories", select "communications", select "direct cable connection", then set it up (make sure its the comm port your JDM  is using) for your particular Comm port.

if you don't see "direct cable connection" as an option then it wasn't loaded when windows was installed and you'll have to install it from your cd (or hit the F1 key to bring up windows help, and search for direct cable connection" and read the help files for it.)

Maybe I'll build a "cheap pic programmer" just to test this feature of IC-PROG.

I really much prefer wouters Wisp628 over my other two programmers but due to reasons better left unsaid (among them is lazyness) I'm beginning to play with my parallel port programmer.

hope that helps,

dave. In a message dated 8/17/03 7:32:18 PM Pacific Daylight Time, h...@yahoo.com writes:

Hello everyone,
I have the 16F628, and the JDM Programmer (Serial). Can someone
please give me a run down of how to use ICPROG to program the PIC? I
keep getting a "Verify failed at addres..." error. I searched online
for everything that I could and still no luck. Any help would be
greatly appreciated. Thank you.





Hello,
I'm using Win2K. My programmer is serial (the JDM Programmer). I
got the appropriate Win2k DLL. Can you please provide some details
about "Direct Cable Connections" with win2k... does my computer have
to be the "guest" or the "host"?

Also, how do I pull pins? The chip sits inside of a housing type
thing. I appreciate your help and would greatly appreciate a little
more direction.

Thank you,
Shamoon Siddiqui

--- In , dkbovaird@a... wrote:
> hello,
>
> you don't mention what version of windows you're using but, in
order for me
> to get my Win98 parallel port to talk to my programmer I had to
enable the
> "direct cable connection" option for my ECP port. Most likely you
may have to do
> this for your serial port as well. For other versions of windows I
think theres
> a DLL file on the IC-PROG NT/2000 download site you might need for
those two
> or XP.
>
> And, by the way, be sure to have RB4 (pin 10) pulled down (or
connected to
> ground) while you are programming your 16F628 if you're not already
doing this.
>
> bring up IC-PROG FIRST, then,
> hit "start", select "programs", select "accessories", select
> "communications", select "direct cable connection", then set it up
(make sure its the comm
> port your JDM is using) for your particular Comm port.
>
> if you don't see "direct cable connection" as an option then it
wasn't loaded
> when windows was installed and you'll have to install it from your
cd (or hit
> the F1 key to bring up windows help, and search for direct cable
connection"
> and read the help files for it.)
>
> Maybe I'll build a "cheap pic programmer" just to test this feature
of
> IC-PROG.
>
> I really much prefer wouters over my other two programmers but due
to
> reasons better left unsaid (among them is lazyness) I'm beginning
to play
> with my parallel port programmer.
>
> hope that helps,
>
> dave. > In a message dated 8/17/03 7:32:18 PM Pacific Daylight Time,
> honamos@y... writes:
>
> > Hello everyone,
> > I have the 16F628, and the JDM Programmer (Serial). Can someone
> > please give me a run down of how to use ICPROG to program the
PIC? I
> > keep getting a "Verify failed at addres..." error. I searched
online
> > for everything that I could and still no luck. Any help would be
> > greatly appreciated. Thank you.
> >





Sorry I don't have a win2K system available. But the search within windows help for direct cable connection on an XP machine still brings up several topics, so I imagine the help docs should be available on a Win2K system.

Essentially this type of cable connection is ordinarily used to transfer data between two PC's. Your PC should be the "host" and the JDM would act as the "guest".

Your PC should be selected as the host and listening (disregard any messages later that your PC doesn't seem to "hear" anything) and you do not need to enable file and print sharing. This direct cable connection thing may not be your problem though. Try adding the pull-down to Pin 10 of the 16F628 first, since without this pull-down your 16F628 will not be able to be programmed with the JDM. Certain other PIC types need a particular pin pulled down during programming as well (RTFM ...  : ), even if the FM is not real clear about certain things).

Adding a pull-down to a pin simply means soldering or connecting a resistor between that pin and ground, if you're adding this resistor to your PIC plugged into the JDM, a value of 10K ohms ( the value is not critical, values from 10K and less, even a direct short to ground) should do. If the pull-down is in your application circuit, you'll most likely have to experiment with different values to get the best performance, but that's an entirely different topic. Short jumper leads (2-3 inches) can be clipped to the PIC pin to connect it to the resistor and another short jumper can connect the other lead of the resistor to a ground point (Pin 5 of the 16F628?).

good luck,
dave.

In a message dated 8/18/03 7:28:43 PM Pacific Daylight Time, h...@yahoo.com writes:

I'm using Win2K.  My programmer is serial (the JDM Programmer).  I
got the appropriate Win2k DLL.  Can you please provide some details
about "Direct Cable Connections" with win2k... does my computer have
to be the "guest" or the "host"?

Also, how do I pull pins?  The chip sits inside of a housing type
thing.  I appreciate your help and would greatly appreciate a little
more direction.





Thank you for all of your help. I no longer get the "Verify failed
at Address..." error. However, when I program some data and try to
read it back, it does not show me what I programmed. For example, in
the EEPROM section of the IC-PROG, I programmed "TESTING" just to see
if it would actually write. I "Read All" and it came up blank.
Anything that I am overlooking? Once again, I really appreciate all
of your help. I am new to PIC and already I see limitless potential,
so I would like to learn all that I can.

Shamoon
--- In , dkbovaird@a... wrote:
>
> Sorry I don't have a win2K system available. But the search within
windows
> help for direct cable connection on an XP machine still brings up
several
> topics, so I imagine the help docs should be available on a Win2K
system.
>
> Essentially this type of cable connection is ordinarily used to
transfer data
> between two PC's. Your PC should be the "host" and the JDM would
act as the
> "guest".
>
> Your PC should be selected as the host and listening (disregard any
messages
> later that your PC doesn't seem to "hear" anything) and you do not
need to
> enable file and print sharing. This direct cable connection thing
may not be your
> problem though. Try adding the pull-down to Pin 10 of the 16F628
first, since
> without this pull-down your 16F628 will not be able to be
programmed with the
> JDM. Certain other PIC types need a particular pin pulled down
during
> programming as well (RTFM ... : ), even if the FM is not real
clear about certain
> things).
>
> Adding a pull-down to a pin simply means soldering or connecting a
resistor
> between that pin and ground, if you're adding this resistor to your
PIC plugged
> into the JDM, a value of 10K ohms ( the value is not critical,
values from
> 10K and less, even a direct short to ground) should do. If the pull-
down is in
> your application circuit, you'll most likely have to experiment
with different
> values to get the best performance, but that's an entirely
different topic.
> Short jumper leads (2-3 inches) can be clipped to the PIC pin to
connect it to
> the resistor and another short jumper can connect the other lead of
the
> resistor to a ground point (Pin 5 of the 16F628?).
>
> good luck,
> dave.
>
> In a message dated 8/18/03 7:28:43 PM Pacific Daylight Time,
> honamos@y... writes:
>
> > I'm using Win2K. My programmer is serial (the JDM Programmer).
I
> > got the appropriate Win2k DLL. Can you please provide some
details
> > about "Direct Cable Connections" with win2k... does my computer
have
> > to be the "guest" or the "host"?
> >
> > Also, how do I pull pins? The chip sits inside of a housing type
> > thing. I appreciate your help and would greatly appreciate a
little
> > more direction.