doc102080-1_usb-com_module_configuration
doc102080-1_usb-com_module_configuration
doc102080-1_usb-com_module_configuration
USB-COM Module
How to Program, Install and Reassign Ports
Distribution Statement:
INDEX
INDEX .................................................................................................................................................. 2
Revision History .................................................................................................................................... 2
1 Introduction .................................................................................................................................. 3
2 COM Port Number Assignment ........................................................................................................ 4
2.1 Requirements ......................................................................................................................... 4
2.2 Procedure .............................................................................................................................. 4
3 Update USB-COM Module configuration ........................................................................................... 5
3.1 Verify USB-COM serial and port numbers .................................................................................. 5
3.2 Program USB-COM module ...................................................................................................... 5
4 Programming table reference ......................................................................................................... 6
4.1 USB to 4xRS422/RS485 NMEA Module Gen.1. Isolated. .............................................................. 7
4.2 USB to 4xRS422/RS485 NMEA Module Gen.2. Isolated. .............................................................. 8
4.3 USB to 4xRS232 Module. Non-isolated. ..................................................................................... 9
4.4 USB to 2xRS232 Module. Isolated........................................................................................... 10
Revision History
Created Approved
1 Introduction
4xRS232, 2xRS232i and 4xRS422/RS485 USB COM Modules from Hatteland Technology are programmed
with a fixed identification number (serial number).
The advantage of using fixed ID is that the system will always recognize the module and remember the last
COM port numbers and settings. We can then freely reconnect the module to a different USB connector, or
replace a faulty module, without having to reconfigure the com port settings.
The downside is that if two modules with same preconfigured ID number is connected to same unit, there
will be a conflict that may cause boot issues or other symptoms.
Preinstalled modules will get serial and fixed COM port number according to Hatteland Technology
predefined settings. If the operating system was not provided by Hatteland Technology, it’s up to the
customer to setup and re-assign the COM ports if needed.
External modules will, by default, be delivered programmed as External #1. If you wish to connect several
modules to the same unit you need to program the additional modules as External #2, #3 etc.
We recommend that you mark the reprogrammed modules with the corresponding numbers to avoid mix-up.
A customer pack, USB-COM_Pack, with update tool and configuration files is available on Hatteland
Technology website:
www.hattelandtechnology.com/view_product?id=89!main_category=Marine%20&%20Offshore#Downloads
www.hattelandtechnology.com/view_product?id=90!main_category=Marine%20&%20Offshore#Downloads
All tools and scripts referenced in this document is included in this pack.
Please note that some of the scripts requires elevated Administrator rights to function properly.
COM port number will then stay the same, for each defined module, even after moving to a different USB
slot or replacing the module,
2.1 Requirements
• Driver must be installed.
o Run the script USB-COM_Install.vbs, from USB-COM_Pack, for automated driver install.
▪ Need to be logged in as Administrator for script to work properly.
o Drivers can be added manually in Device Manager by pointing to the driver folder.
o Latest driver is available via Windows Update in recent OS versions.
• USB-COM module must be programmed.
o Refer to chapter 3 for procedure and chapter 4 for programming table.
o Make sure to use correct config! RS232 and RS422/485 config must not be swapped.
2.2 Procedure
• Method 1: Device Manager.
o Open Device Manager (Press Win Key + R to get up Run window, then type devmgmt.msc)
▪ COM module must be connected while you are doing this.
▪ Do not assign to a reserved port unless you are positive it is not in use.
o For each port you want to reassign:
▪ Right click and select Properties
▪ Select Port Settings – Advanced…
▪ Set new port in “COM Port Number” drop down list.
Verify that the new com port assignment is OK. Refer to chapter 3.1 for procedure.
Output example:
FTDIBUS\VID_0403+PID_6011+12345A\0000 : USB Serial Port (COM3)
FTDIBUS\VID_0403+PID_6011+12345B\0000 : USB Serial Port (COM4)
FTDIBUS\VID_0403+PID_6011+12345C\0000 : USB Serial Port (COM5)
FTDIBUS\VID_0403+PID_6011+12345D\0000 : USB Serial Port (COM6)
The numbers in bold text shows the current serials. The assigned COM port is listed to the right.
If youcan’t run the script, you can check manually in Device Manager:
- Open Device Manager
- Locate USB-COM ports and open properties
- Go to Details tab
- Open the dropdown list:
o Win 7/8/10: Select “Device Instance Path”
o Win XP: Select “Device Instance Id”
- You should now see the full port ID including current serial.
Factory image provided with these systems should follow this standard.
The COM port assignment may reset for modules that are not present during SysPrep or First Boot Setup.
You may then need to re-assign the COM ports according to this standard or your own preferences.
Abbreviations:
NA = Not Available. This is normally due to physical limitations of how many cards can be mounted.
ND = Not Defined. Meaning COM is not preassigned/locked to the card serial in standard factory image.
Series:
Q87: HT C02 and HT 221 computers.
QM57: HT B22 computer and Series X MMC Gen. 1. Panel sizes: 12/15/17/19/24/26”.
NM10: Series X MMC Gen. 1, Atom CPU. Panel sizes: 8/13”
GM45: Series X MMC Gen. 1, Core 2 Duo CPU. Panel size: 13”
Q170: Series X MMC Gen. 2, Skylake and Kaby Lake. Panel sizes: 19/24/26/27”
Q170 models with Celeron and i5 CPU = Skylake
Q170 models with i7 CPU = Kaby Lake
B30: Compact fanless computer series based on Skylake-U.
ApoS: Series X MMC Gen. 2, x5-E3930 Atom CPU. Panel sizes: 8/13”
ApoL: Series E MMC, x7-E3950 Atom CPU. Panel sizes: 16/21/24/27”
HW ID: FTDIBUS\VID_0403+PID_6011+
COM # assigned
Module Config Serial # Q87 QM57 A70M NM10 GM45 Q170 B30 ApoS ApoL
Internal #1 RS485_NMEA_V1_BANK1.EPT 12345A-D 41-44 3-6 4-7 8” NA ND 6-9 11-14 7-10 7-10
13” ND
Internal #2 RS485_NMEA_V1_BANK2.EPT 12346A-D 45-48 9-12 NA NA NA 10-13 15-18 NA 11-14
Internal #3 RS485_NMEA_V1_BANK3.EPT 12347A-D 49-52 NA NA NA NA NA NA NA NA
Internal #4 RS485_NMEA_V1_BANK4.EPT 12348A-D 53-56 NA NA NA NA NA NA NA NA
HW ID: FTDIBUS\VID_0403+PID_6011+
COM # assigned
Module Config Serial # Q87 Q170 B30 ApoS ApoL
Internal #1 RS485_NMEA_V2_BANK1.EPT 12345A-D 41-44 6-9 11-14 7-10 7-10
Internal #2 RS485_NMEA_V2_BANK2.EPT 12346A-D 45-48 10-13 15-18 NA 11-14
Internal #3 RS485_NMEA_V2_BANK3.EPT 12347A-D 49-52 NA NA NA NA
Internal #4 RS485_NMEA_V2_BANK4.EPT 12348A-D 53-56 NA NA NA NA
COM number for external modules are not preassigned/locked in factory image.
For custom models with customer image, COM numbers can be preassigned according to customers preferences.
HW ID: FTDIBUS\VID_0403+PID_6011+
COM # assigned
Module Config Serial # Q87 QM57 A70M NM10 GM45 Q170
Internal #1 RS232-V1-INT-BANK1.EPT 23201A-D 21-24 ND ND 8” NA ND 21-24
13” ND
Internal #2 RS232-V1-INT-BANK2.EPT 23202A-D 25-28 ND NA NA NA 25-28
Internal #3 RS232-V1-INT-BANK3.EPT 23203A-D NA NA NA NA NA NA
Internal #4 RS232-V1-INT-BANK4.EPT 23204A-D NA NA NA NA NA NA
HW ID: FTDIBUS\VID_0403+PID_6010+
COM # assigned
Module Config Serial # Q170 B30 ApoL
Internal #1 USB_Config_HDRS232-2i_1.xml 200001A-B 31-32 5-6 15-16
Internal #2 USB_Config_HDRS232-2i_2.xml 200002A-B 33-34 7-8 17-18
Internal #3 USB_Config_HDRS232-2i_3.xml 200003A-B 9-10