Searching \ for 'PIC programmer via PC' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devprogs.htm?key=programmer
Search entire site for: 'PIC programmer via PC'.

Truncated match.
PICList Thread
'PIC programmer via PC'
1999\02\20@165007 by Wilson Tam

flavicon
face
Hi everyone

I have a general question regarding the connection
of any pic programmer with the PC.  At the moment
my Pentinum 133 has 2 com (rs232) ports.
COM1 = Serial Mouse
COM2 = internal Fax Modem connection.

I have no other available com ports.  Now, at the
moment, on my hands, I have several miniture PIC
programmers such as the one from ITU (PIC-1 Parallel)
and Mr. David Tait's Programmer (specifically "Serpic").
The latter one communicates via the Com ports.  For the
ones who are using the serial port for programming PIC
micro, what procedures do you take?  The problem is
that com1 is connected to my mouse and that's the only
port I "could" use.  Now, if I need to program, I would
disconnect the mouse and connect the programmer to the port.
Then open the programmer software, and proceed on
[Note: this is done all in MS-DOS].
But,for the past months, I could not get this working?
Could it be that my PC still thinks that COM1 is the mouse
and would not accept any other external devices?  But, most
PCs come with two Com ports, so how do they manage it?  If
anyone has any suggestions, I would greatly appreciate it.
Thanks!

Wilson

1999\02\20@170942 by Mail

flavicon
face
-----Original Message-----
From: Wilson Tam <spam_OUTtamwTakeThisOuTspamECF.UTORONTO.CA>
To: .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU <PICLISTspamKILLspamMITVMA.MIT.EDU>
Date: Saturday, February 20, 1999 11:56 PM
Subject: PIC programmer via PC


{Quote hidden}

Disable any mouse drivers that are in your autoexec.bat or config.sys files
by typing rem infront of them    eg    rem gmouse.com
then reboot to ensure nothing else has that port open as the mouse
driver "software" keeps the port  unavailable for other use


regards Mark E'silva
.....saverKILLspamspam.....pta.lia.net

1999\02\20@174032 by Paul

flavicon
face
-----Original Message-----
From: Wilson Tam <EraseMEtamwspam_OUTspamTakeThisOuTECF.UTORONTO.CA>
To: PICLISTspamspam_OUTMITVMA.MIT.EDU <@spam@PICLISTKILLspamspamMITVMA.MIT.EDU>
Date: Saturday, February 20, 1999 3:50 PM
Subject: PIC programmer via PC


>Hi everyone
>
>I have a general question regarding the connection
>of any pic programmer with the PC.  At the moment
>my Pentinum 133 has 2 com (rs232) ports.
>COM1 = Serial Mouse
>COM2 = internal Fax Modem connection.
>
Do you have 2 external Com ports in the back of your computer?
If so you could change your modem to a different internal com port,
and free up Com2 on the back.
If you dont have 2 ports, the (sorta) easy fix is to buy a com port board
and install it into your system, then you'd have a Com3 & 4. the boards are
about $10 to $30 USD.

Any questions , E-mail Me Direct.
Paul M
KILLspamLasertekKILLspamspamgreenbaynet.com

1999\02\20@205940 by a v

picon face
I think I can give you a few hints.  I had a setup the same as yours, I
could not get the 25 pin serial port to work, even with many different
combinations with the bios and win 95. So I bought an internal card with
2 more serial ports.  Using the jumpers on this card, I disabled one of
the ports, and assigned the irq setting for the second port to 7 (or9)
both free irqs in my system.  This forced windows to reconize my
hardware and not give it the same irq setting as either com 1 or com 2.
Now I had no hardware conflicts, A mouse on com1, modem on com2, and a
serial port on com3.

I have since had luck with the 25pin ports, you have to assign the
proper settings in the bios.  In my experience, win95,98 do a funny
thing in the device manager.  It will not let you put in custum irq
settings in any configuration......except 0008.  In that configuration
you can change a device address and its irq setting.  SO I have a system
were i could get com1 and 3 on different irqs (or com2 and 4)

Having said that, I smart guy once showed me how to put a resistor and a
diode in series with those jumpers.  This hardware change wound allow
devices to share irqs.....thats all the info I have on that right now.

Andrew




______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

1999\02\21@012948 by ghost

flavicon
face
1.Can you install a PS/2 mouse install of a RS232 mouse ? So you can use
 COM1 as Programer.
2.Your COM2 used by Modem,but when modem is not being used, COM2 is
 free,You can use it for programer. Different time use same COM2.

ghost
RemoveMEghostTakeThisOuTspam371.net Beijing , China

On Sat, 20 Feb 1999 16:47:59 -0500
Wilson Tam <spamBeGonetamwspamBeGonespamECF.UTORONTO.CA> wrote:

{Quote hidden}

1999\02\21@020348 by Alan King

picon face
 Number 2 is a recipe for eventual disaster if the IRQ is
shared.  Yes, IRQ req line can be tri-stated so another card
can use it.  But the output is totem pole.  Sooner rather than
later, something will crash and leave its line active..  You
use the other item on the same IRQ and voila, one or the other
card will eventually stop working since it's a dead short with
one still trying to pull high, and the other trying to pull
low for IRQ..
 Or do like they could have done, cut the IRQ 3/4 lines on
your cards, put on a 7407 dead bug style, add pull up
resistors and make the lines open collector like as should be,
especially on a hardware hacking platform..

Alan

ghost wrote:
>
> 1.Can you install a PS/2 mouse install of a RS232 mouse ? So you can use
>   COM1 as Programer.
> 2.Your COM2 used by Modem,but when modem is not being used, COM2 is
>   free,You can use it for programer. Different time use same COM2.

1999\02\21@081127 by w. v. ooijen / f. hanneman

picon face
> But, most PCs come with two Com ports, so how do they manage it?
Buy a card with one or two serial ports and put it in your PC, especially
when the hardware for your existing ports is on the mainboard!
Or buy a bus mus with card.
Or use a parellel port programmer.
Soorry if none of these answers are useable, but I never had success
sharing
a port between the mouse and a programmer.
regards,
Wouter.

1999\02\21@161031 by Mark Willis

flavicon
face
In addition to:
 Com1:, 0x3F8, IRQ 04          Modem
 Com2:, 0x2F8, IRQ 03          Mouse

 I use:
 Com3:, 0x3E8, IRQ 05          Other device (PicStart Plus etc.)
 Com4:, 0x2E8, IRQ 02 (i.e. IRQ09)     rather rarely

 Some VGA cards REALLY don't like COM4 using IRQ02/09 much, so mainly I
use just 3 COM ports.

 Also,
 LPT1:, 0x378, IRQ 07  (Some machines use 0x3BC here)
 LPT2:, 0x278, IRQ 05  (Cannot use with above Com3 mapping!!) on a few
machines (Print servers, mainly.)

 I try to standardize all machines - sometimes swap Com1: and Com3:
gets the modem, ONLY when most convenient for me (and I use "1 machine,
1 task") - not ideal, but try - just TRY - to put an ISA card for a Gang
EPRom programmer, a PicStart Plus, a Needham's EMP-20, a sound card, a
PCMCIA interface, extra serial ports, a SCSI card, a NIC, etc. etc. all
in one machine & get it all to work reliably (Just easier to go
multi-machine & turn the ones I'm not using off when not using them for
days on end.)  Especially now that "modern" machines have only 1 or 2
ISA slots, and all my goodies are ISA (like the debugging cards I have,
both ISA.)  Some day USB may save my sanity <G>  I keep notes on each
machine on where what is, so powering it up will clarify things (Tend to
archive all those notes to the file server, too!)  And I'll tell ya,
standardizing on only a few brands of NICs, Video cards, and so on sure
helps!

 (And as Robin's Pentium has no LPT port due to second sound card so
she can use Dragon Dictate, and she needs multiple printers to make MY
life easier, I do need print servers <G>  Need to get 'em all working
right though!)

 Mark

Wilson Tam wrote:
{Quote hidden}

1999\02\23@061235 by paulb

flavicon
face
Mark Willis wrote:

>  Some VGA cards REALLY don't like COM4 using IRQ02/09 much, so mainly
> I use just 3 COM ports.

 I don't think VGA cards use IRQ2/9.  I think it is a problem with port
address $2E8.  I'm still using this lightning-struck motherboard on
which any attempt to use COM3 *or* COM4 generates events on them
(presumably writes to the primary port address) in time with cursor or
mouse action on the screen.

 I initially thought this was a curious accident, but apparently it's
something much deeper.  If I'm *extremely* lucky, it may relate to a
BIOS mis-configuration and be fixable.  I saw something on the list
about this, but can't recall the details (such as they were).

>   LPT2:, 0x278, IRQ 05  (Cannot use with above Com3 mapping!!)

 Eh?  Just pull the IRQ jumper.  Not actually necessary even then,
because the parallel port definition (as well as the *original* serial
port definition, now lost in mediocrity) defines a tri-state control on
this IRQ.

 But it's never used in DOS or Windoze (AFAIK - I expect some comment
on this), so I can only presume you refer here to Linux machines?

> as Robin's Pentium has no LPT port due to second sound card so she can
> use Dragon Dictate,

 As above, I don't see the connection?

 The trick about COM3 and COM4 is to use IRQs 10 and 11, with IRQ12
allocated to the PS/2 mouse.  All my ISA net cards use IRQ5 and my ISA
sound cards use IRQ7.  Works for me!
--
 Cheers,
       Paul B.

1999\02\23@084035 by Wolfgang Strobl

flavicon
face
On 23 Feb 99, 22:00  Paul B. Webster VK2BZC wrote:

> Mark Willis wrote:
>
> >  Some VGA cards REALLY don't like COM4 using IRQ02/09 much, so mainly
> > I use just 3 COM ports.

>   I don't think VGA cards use IRQ2/9.  I think it is a problem with port
> address $2E8.  I'm still using this lightning-struck motherboard on
> which any attempt to use COM3 *or* COM4 generates events on them
> (presumably writes to the primary port address) in time with cursor or
> mouse action on the screen.

If memory servers me right, these are two independant problems.

Long ago, at CGA times, IRQ2 was the "vertical retrace interrupt".

For that reason, most later cards implemented this for compatibility
reasons, but allowed disabling that interrupt (or had it disabled by
default), because very few programs needed it, and because of the
interrupt shortage.

COM4 is someting completely different. The original 8514 graphics
adapter made by IBM, and its much better known enhanced
clones, for example the "accelearated" video cards made by S3
unfortunately used the very same IO address that was allocated by
default for the fourth serial line, COM4. Or more precise, there is a
conflict if the serial adapter only decodes the lowest 12 bits of the
ea address, and so responds to every address whcih ends in 2e8.

--
     o      (     TakeThisOuTWolfgang.StroblEraseMEspamspam_OUTgmd.de (+49 2241) 14-2394
    /\        *   GMD mbH                       #include
  _`\ `_<===      Schloss Birlinghoven,         <std.disclaimer>
__(_)/_(_)___.-._  53754 Sankt Augustin, Germany ________________

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...