Re: Dumping file to a serial port?



In message <fKmdnUPVyYHfCyzZnZ2dnUVZ_rOdnZ2d@xxxxxxxxxxx> - Marty
<net.comcast@martyamodeo> writes:

Arie Kazachin wrote:
Hello,

I'm looking for a way to dump a file into a COM2 port (of an 11 years
old PC with WARP 3 on it).
At first I thought that just including in the "IOPL ..." line
the name of the used program (XCOPY) and issuing a command

xcopy file_name com2

would do what I need but it ended with "0 files copied". Does the
"xcopy" expects some acknowledge from "the other side" (which currently
is absent and when it'll be present, I hope to get by with a single
direction RS-232 link) or there is other reason for a copy net
being performed? Do I need some another app?

From some of your replies, it sounds like you might be trying this from
a DOS prompt. If so, try from an OS/2 command prompt, or try with the
"Direct Access to COM ports" option enabled for DOS.

--
[Reverse the parts of the e-mail address to reply.]

Thanks for everyone who replyed,

the more I looked at that the more I became convinced that there is
a hardware issue that looks like a problem with IRQ3 and how the
motherboard deals with it: when I experimented with

copy /b file com1 (com2, com3)

only dumping to com2 causes the trap while other was OK and in case of com3
(modem) I could even hear clicks resulting of random characters written
into it.

When I attempted to disable the influence of IRQ3 (by changing IRQ
in config.sys without doing anything with the card), no trap occured, only
the command got stuck until CTRL-C.

An attempt to install SIO2K serial drivers replaced the trap when using com2
with error returned by a crashing program.

I think I'll have to give up on COM2 operating with IRQ (it's still used
in non-standard way by Aladin diving computer interface under pure DOS),
buy a PCI card with 2 serial ports and 1 parallel and hope to have
other serial port working.


******************************************************************************
* Arie Kazachin, Israel, e-mail: ariek@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx *
******************************************************************************
NOTE: before replying, leave only letters in my domain-name. Sorry, SPAM trap.

.



Relevant Pages

  • Re: Redirected console on serial doesnt show any output
    ... depending on how the registry is set up and whether or not it is persistent, ... If we assume that you know which port is which, though, I think I'd next try ... I dont think this is the problem because I had connected both COM2 and ... I am lost here as i expected it to just work after the registry settings. ...
    (microsoft.public.windowsce.embedded)
  • Re: OPA0 Console connection
    ... COM1 and COM2 don't always map the same ... :disables login from that port, so that is not the right approach. ... and which will receive the connection. ...
    (comp.os.vms)
  • Re: Files=40 on an XP PC
    ... modem on port 2, and way too much hardware settings to go into. ... com2 isn't the ... some sort of expert, and probably some sort of switching program to send things ...
    (microsoft.public.windowsxp.newusers)
  • Re: contolling com2 under compact framework
    ... 'System.IO.FileNotFoundException' at output.But i can see "COM1:" under ... You need to know how your hardware is configured so you know what port you ... I set serialport1 to com1.And haven't been change the other settings. ... When i want to access com2 using serail port component under compact ...
    (microsoft.public.windowsce.embedded)
  • Selecting ActiveSync serial port
    ... The board I'm using has two serial ports. ... COM1 has full handshaking and ... When I manually start repllog.exe it tries to use COM2. ... but I can not find where I can change which COM ports this entry will use. ...
    (microsoft.public.windowsce.platbuilder)