We used to transfer files from a win98 computer over the serial port using Norton Commander for DOS. Is there a program that can transfer to DOS from a more recent Windows version (XP/7/8) over the serial port? I cannot install a network adapter on the CNC controller, I need to use the serial port. I am looking for a way to transfer a file over from my Windows 8 computer to a PandaBoard (has OMAP Ubuntu on it) using a serial cable. The solution should work in general for any ARM board, so for that reason I am using the serial port.

Active1 year, 7 months ago

Transfer Files Over Serial Port 1

I am looking for a way to transfer a file over from my Windows 8 computer to a PandaBoard (has OMAP Ubuntu on it) using a serial cable.

The solution should work in general for any ARM board, so for that reason I am using the serial port. However I am unable to transfer over a file.

If I'm not mistaken SCP and PuTTY don't allow the transfer of a file over a serial port. Or I'm trying it in a wrong way. I have also tried HyperTerminal on Windows 8, but I keep having time-outs when using the file transfer for whatever protocol I select (XModem, Zmodem, etc.). I have the right specifications for serial port communication as I am able to use PuTTY to access the device and communicate with it.

Any suggestions? The best solution would be one that works for Ubuntu/Linux as well.

How to send file over serial port in Windows Command Prompt. Ask Question Asked 3 years, 5 months ago. Active 11 months ago. Viewed 30k times 6. I'm trying to send files over a COM port, but failed every time. First, I configure a serial on each machine like this. With this it should be possible to transfer files over a serial line. Then there's the serial port program transfer issue on top of it. Now I'm thinking it might be best to get a replacement workstation that has a serial port and a parallel port, put VMWare Workstation on it and use a P2V'd version of the existing workstation for programming as well as program transfer.

Peter Mortensen
8,58316 gold badges62 silver badges85 bronze badges
LuizeLuize

2 Answers

If you're looking for a Linux based solution, then sending a file is as easy as running

The jacksons an american dream watch free. and receiving a file is as easy as

But if you're on Windows it's not so easy. I would look and try to find a version of HyperTerminal (which used to come with WinXP, but they quit distributing it in the install *is sad*).

DanielDaniel
2721 gold badge2 silver badges18 bronze badges

For serial communications, like XModem/ZModem, I'd start with just basic communication. Can you get into a terminal program, and type on one end, and see the other end? If not, you may have issues that cannot be resolved with software: OpenBSD FAQ on Serial Connections states, 'we offer one hint: just because the ends plug in doesn't mean it will work.' So start by verifying that hardware works okay. If so, then also verify the basic communications settings: communication at 2400 or 9600 might be more prone to work with many hardware than 115200. 8N1 is a very common setting, 7E1 a bit less so, but such settings must match.

Whenever I've used SCP, it's been using TCP/IP, which means that an IP address must be assigned to both sides. That is a totally different communication design than trying to use raw serial communications like ZModem. Using IP will probably be easier once you've got IP working, although getting to the point of having IP working might be a bit more challenging overall, so ZModem may be an excellent choice.

I typically avoid XModem; some XModems don't even transfer the right number of bytes (but round up to a half-kilobyte), and don't transmit the filename. However, if you do use XModem (or YModem, but especially XModem), there are a number of variations, so you need to make sure you're using the same one. ZModem is typically more compatible with other ZModem implementations.

TOOGAMTOOGAM
11.8k3 gold badges26 silver badges49 bronze badges

Transfer File Through Serial Port Linux

Not the answer you're looking for? Browse other questions tagged windows-8file-transferserial-port or ask your own question.

Coments are closed
Scroll to top