Setting the Serial Parameters
The UPort 1130/1130I supports three interfaces (RS-485 2W, RS-485 4W, RS-422) and the UPort 1150/1150I
supports four interfaces (RS-232, RS-485 2W, RS-485 4W, RS-422). If you want to switch to a different
interface, execute the setserial command to set the port's interface. The supported parameters are listed
below.
Parameter Value Interface
port 0 RS-232
port 1 RS-485 2W
port 2 RS-422
port 3 RS-485 4W
For example:
To set the port’s information type:
# setserial /dev/ttyUSB0 port 1
To retrieve the port's information type:
# setserial -G /dev/ttyUSB0
Removing the Moxa Driver and Utility Files
To remove the Moxa files, navigate to /moxa/mxu11x0 and then execute:
#make clean;
Both the driver and utility files will be removed.
Installing the Windows CE Driver
In this section, the driver installation procedure for installing Windows CE 5.0 and Windows CE 6.0 driver is
described. Both WinCE 5.0 and WinCE 6.0 require the installation of WinCE 6.0 platform builder. In addition,
you will also need to install Visual Studio 2005 if you are using WinCE 6.0. WinCE 6.0 platform builder has all
the necessary tools to help you to design, create, build, test, and debug a Windows CE. WinCE 6.0 platform
Builder together with Visual Studio 2005 provides a workspace where you can work on OS designs and projects
to build your own embedded system.
With WinCE 6.0, you need to install Visual Studio 2005 & WinCE 6.0 Builder first. When installing Visual Studio
2005, you can select the language with .NET Framework SDK or use the “default.”
After you’ve installed VS 2005; run WinCE 6.0 Builder “setup.exe” to install and download the files. You need
to select “x86” for the WinCE 6.0 operating system. Note that this process will take a couple of hours and the
folder size is around 3GB.
The Win CE drivers support the following models:
UPort 1110: 1-port RS-232 USB-to-Serial Converter.
UPort 1130: 1-port RS-422/485 USB-to-Serial Converter.
UPort 1150: 1-port RS-232/422/485 USB-to-Serial Converter.
UPort 1150I: 1-port RS-232/422/485 USB-to-Serial Converter with isolation protection.
UPort 1130I: 1-port RS-422/485 USB-to-serial converter with isolation protection.
Follow “Installing Visual Studio 2005” to install the UPort 1100 Series WinCE 6.0 driver.