Oh, I bet your connector was _not_ reversed. But it is easy to get misoriented in figuring out which pin is where. Ask me how I know. Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) ----- Original Message ----- From: "Alaa El-agha" To: Sent: Thursday, August 16, 2001 6:41 PM Subject: Re: [PIC]: Can't get the programmer to work > I does work now...thanx to all of you > > What a surprise, the parallel connector on my AT motherboard is reversed. > Pin 14 is in place of pin 1. So, I just swapped the cable and it worked > perfectly even from within Win. > > Thanx again, > Alaa > ----- Original Message ----- > From: "dr. Imre Bartfai" > To: "Alaa El-agha" > Sent: Thursday, August 16, 2001 1:14 PM > Subject: Re: Re: [PIC]: Can't get the programmer to work > > > > Hi, > > > > obviously you should use not PIN 18 but say 24 as GND. Then repeat the > > measurement. > > > > Regards, > > Imre > > > > PS: unfortunately, not all PC-s have all pins 18-25 tied to > > ground. Sometimes they use only a part of them. > > > > +-----------------------------------------------------------------------+ > > | The information transmitted is intended only for the person or entity | > > | to which it is addressed and may contain confidential and/or | > > | privileged material. Any review, retransmission, dissemination or | > > | other use of, or taking of any action in reliance upon, this | > > | information by persons or entities other than the intended recipient | > > | is prohibited. If you received this in error, please contact the | > > | sender and delete the material from any computer. | > > +-----------------------------------------------------------------------+ > > > > On Thu, 16 Aug 2001, Alaa El-agha wrote: > > > > > Hi Imre, > > > > > > I am also using 7407. I believe the h/w and s/w are ok. Here is > something > > > interesting on the parallel port. > > > > > > Using DEBUG: > > > - o 0378 00 > > > I measure on the port: pin 1-10 0V, pin 11-17 +5V, all others 0V > (sounds > > > reasonable) > > > > > > - o 0378 80 > > > I measure: all pins 0V except pins 19 to 26 measuring -5V (negative) > > > > > > Now, my understanding is that pins 18-25 are grounds (my GND is pin 18). > The > > > parallel port is set to SPP in the BIOS. Also, I used "i" in the debug > mode > > > to verify that the bytes were written correctly. > > > > > > This looks weired to me. Do you think the parrallel port is > malfunctioning, > > > or am I doing something wrong? (I am not too familiar with it). > > > > > > Thanx, > > > Alaa > > > ----- Original Message ----- > > > From: "dr. Imre Bartfai" > > > To: > > > Sent: Thursday, August 16, 2001 3:42 AM > > > Subject: Re: [PIC]: Can't get the programmer to work > > > > > > > > > > Hi, > > > > > > > > if you are absolutely sure the wires are not reversed, the there is > only > > > > one question: to which pin of the paralel port you did connect the GND > > > > lead of the DVM? > > > > > > > > Regards, > > > > Imre > > > > > > > > > > > > > +-----------------------------------------------------------------------+ > > > > | The information transmitted is intended only for the person or > entity | > > > > | to which it is addressed and may contain confidential and/or > | > > > > | privileged material. Any review, retransmission, dissemination or > | > > > > | other use of, or taking of any action in reliance upon, this > | > > > > | information by persons or entities other than the intended recipient > | > > > > | is prohibited. If you received this in error, please contact the > | > > > > | sender and delete the material from any computer. > | > > > > > +-----------------------------------------------------------------------+ > > > > > > > > On Wed, 15 Aug 2001, Alaa El-agha wrote: > > > > > > > > > Some further insight: > > > > > > > > > > Actually the pport responds to the DEBUG commands and sets the > levels > > > > > accordingly. However, I measured the voltage levels with a DVM and > found > > > > > that high or 1 is aroung -5V and low or 0 is around 0V. > > > > > > > > > > My understanding is that the pport is TTL. It is measuring a > significant > > > > > negative level (the DVM leads are not reversed, to make sure I am in > the > > > > > right directioin, connected a diode LED). > > > > > > > > > > Am I missing something here, or my port is malfunctioning. If so, > how > > > the > > > > > brother printer worked well? > > > > > > > > > > Regards, > > > > > Alaa > > > > > ----- Original Message ----- > > > > > From: "Alaa El-agha" > > > > > To: > > > > > Sent: Wednesday, August 15, 2001 1:34 AM > > > > > Subject: Re: [PIC]: Can't get the programmer to work > > > > > > > > > > > > > > > > Hi Imre, > > > > > > > > > > > > Thanx for the feedback. The wiring of my kit is actually different > > > from > > > > > the > > > > > > default settings in the s/w. However, I changed the settings to > > > indicate > > > > > the > > > > > > right Data In, Data Out, Clk etc. > > > > > > > > > > > > I did re-wire the circuit and go thru the verification steps. > > > everything > > > > > is > > > > > > ok, except whten I connect the parallel port, when pin 5 (Vpp) > goes > > > low. > > > > > It > > > > > > does not change regardless what the s/w is set to. > > > > > > > > > > > > Thru DEBUG, the parallel port base addr is 0378. I sent all 1's to > the > > > > > port, > > > > > > but it measures low. This makes me suspicious about my parallel > port. > > > > > > However, I had a brother laser printer two weeks ago and it worked > > > fine. > > > > > > > > > > > > Any suggestions? > > > > > > > > > > > > Kevin, > > > > > > I actually blow my transistor too. > > > > > > > > > > > > Thanx > > > > > > Alaa > > > > > > ----- Original Message ----- > > > > > > From: "dr. Imre Bartfai" > > > > > > To: > > > > > > Sent: Tuesday, August 14, 2001 4:16 AM > > > > > > Subject: Re: [PIC]: Can't get the programmer to work > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > I have a true programmer from Dobaj so I do not know the > > > differences, > > > > > but > > > > > > > in my version the output pins can be configured. Per default, > the D2 > > > pin > > > > > > > is the MCLR control so you should check, and if do not match, > then > > > > > either > > > > > > > reconfigure the software, or - if it is not possible - then > re-wire > > > the > > > > > > > h/w. > > > > > > > > > > > > > > BTW u can test the port with debug in dos, using the 'o' > command. > > > > > > > I hope this helps. > > > > > > > > > > > > > > Regards, > > > > > > > Imre > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > +-----------------------------------------------------------------------+ > > > > > > > | The information transmitted is intended only for the person or > > > entity > > > > > | > > > > > > > | to which it is addressed and may contain confidential and/or > > > > > | > > > > > > > | privileged material. Any review, retransmission, > dissemination or > > > > > | > > > > > > > | other use of, or taking of any action in reliance upon, this > > > > > | > > > > > > > | information by persons or entities other than the intended > > > recipient > > > > > | > > > > > > > | is prohibited. If you received this in error, please contact > the > > > > > | > > > > > > > | sender and delete the material from any computer. > > > > > | > > > > > > > > > > > > > > > > +-----------------------------------------------------------------------+ > > > > > > > > > > > > > > On Mon, 13 Aug 2001, Alaa El-agha wrote: > > > > > > > > > > > > > > > Hi everyone, > > > > > > > > > > > > > > > > I am new to PIC. I have the Parallel programmer assembled > (from P. > > > > > > Andesren at http://www.phanderson.com/PIC/picstart.html ) and got > > > Bojan's > > > > > > P16prol for 16F84. However, I did not get the programmer to work. > > > > > > > > > > > > > > > > I am sure that the circuit is wired correctly, and the s/w > > > settings > > > > > are > > > > > > ok. What I noticed is the that D3 (pin 5) on the parallel port is > > > always > > > > > > low, which makes the 13.4V voltage appear all the time on /MCLR, > hence > > > > > > preventing correct setup. > > > > > > > > > > > > > > > > I am runing Windows98. I tried running from DOS, but also got > he > > > same > > > > > > problem. > > > > > > > > > > > > > > > > Any suggestion, help is appreciated. > > > > > > > > > > > > > > > > REgards, > > > > > > > > Alaa > > > > > > > > > > > > > > > > -- > > > > > > > > http://www.piclist.com#nomail Going offline? Don't AutoReply > us! > > > > > > > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the > body > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > http://www.piclist.com hint: To leave the PICList > > > > > > > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > http://www.piclist.com hint: PICList Posts must start with ONE > topic: > > > > > > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other > [BUY]:,[AD]: ->Ads > > > > > > > > > > > > > > > > > > > > > > -- > > > > > http://www.piclist.com hint: PICList Posts must start with ONE > topic: > > > > > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other > [BUY]:,[AD]: ->Ads > > > > > > > > > > > > > > > > > > > > > > > -- > > > > http://www.piclist.com hint: The list server can filter out subtopics > > > > (like ads or off topics) for you. See http://www.piclist.com/#topics > > > > > > > > > > > > > > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics