115200Bps
Factory testing shows that the best tradeoff between speed and reliability with most
PC clients is 38400.
5.5
Copy Files using the Serial Console
Besides being useful for accessing the CMOS setup menu, the serial console can be
used effectively with non-graphic based DOS applications. Standard file operations
including Fdisk, format, copy, etc. can all be accessed through the serial console.
The serial console can also be used in conjunction with the “SCOPY.EXE” utility to
provide the ability to serially upload or download applications and/or data from the PCM-
586 to the client PC and vice versa.
To use SCOPY it must already be present on a disk currently accessible to the PCM-
586. SCOPY is invoked at the DOS command line on the PCM-586 with the command :
scopy [ com1 | com2 ] [-rq | -sq] file name
The first argument must be the COM port in use. This should match the COM port
used by the PCM-586 for serial console operations, i.e. COM1 or COM2
The next argument is the direction flag '-rq' indicates a desire to have the PCM-586
receive a file, a direction flag of '-sq' indicates that the PCM-586 will send a file.
The last argument is the name of the file to be sent or the name with which to save the
file to be received.
A couple of examples illustrate the usage. In this first case, we wish to send ourrevised
application, called “APP.EXE”, to the PCM-586. We are currently connected to the serial
console using COM2 on the PCM-586. To initiate the reception we type :
scopy com2 -rq app.exe
The reverse of this would be to retrieve a data file “APP.DAT” from the PCM-586 for
analysis. To start the upload we would type :
scopy com2 -sq app.dat
Once Scopy has been started on the PCM-586 we now need to tell Wincom to send or
receive a file. If we specified '-r' to Scopy we wanted the PCM-586 to receive and Wincom
Page
5-10
OPERATIONS MANUAL PCM-586
021402
WinSystems
- "The Embedded Systems Authority"
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com