[go: up one dir, main page]

0% found this document useful (0 votes)
3 views10 pages

doc102080-1_usb-com_module_configuration

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 10

DOC102080-1 - Revision 02

USB-COM Module
How to Program, Install and Reassign Ports

This procedure is valid for:

USB to 4xRS422/RS485 NMEA Module Gen.1. Isolated.


Internal, preinstalled: PCA100293-1
External, in case: HT 00262 OPT-A1 HW00
External, open frame: HT 00267 OPT-A1

USB to 4xRS422/RS485 NMEA Module Gen.2 Isolated.


Internal, preinstalled: PCA200828-1
External, in case: HT 00262 OPT-A1 HW01

USB to 4xRS232 Module. Non-isolated.


Internal, preinstalled: PCA100294-1
External, in case: HT 00263 OPT-A1

USB to 2xRS232 Module. Isolated.


Internal, preinstalled: PCA100309-1

Distribution Statement:

All information contained in this specification is proprietary to Hatteland Technology AS


The details connected with this specification shall NOT be published or disclosed to any third party without
prior written permission from Hatteland Technology AS

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 1 of 10


DOC102080-1 - Revision 02

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

Rev Date By Date By Description

01a 2015.09.18 Gunnar First draft.


Myklebust
01b 2015.12.11 Update introduction to clarify. Add A70M, NM10
and GM45 to overview.

2a 2019.09.06 Gunnar Updated overview.


Myklebust
Updated template and references from Hatteland
Display to Hatteland Technology.

2b 2019.12.31 Gunnar Added ApolloL, ApolloS, Q170 and B30 platforms.


Myklebust Added NMEA Gen 2 and 2xRS232i modules

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 2 of 10


DOC102080-1 - Revision 02

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.

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 3 of 10


DOC102080-1 - Revision 02

2 COM Port Number Assignment


To ensure that COM port number is always assigned to the same physical output, we recommend locking it
to a specific serial in the main system/backup image.

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.

• Method 2: ReAssignCOMPortNumb.exe tool.


o This tool can be used to change port number. You can only reassign to a free port. If you
need to force assignment to a reserved port you need to use Method 1.

Verify that the new com port assignment is OK. Refer to chapter 3.1 for procedure.

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 4 of 10


DOC102080-1 - Revision 02

3 Update USB-COM Module configuration


3.1 Verify USB-COM serial and port numbers
Run the script USB-COM_Present.vbs to scan and list serial and port for currently installed COM modules.

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.

3.2 Program USB-COM module


If the module is not programmed with correct configuration file/serial, please follow this procedure.

Config update procedure:


1. Connect the COM Module to the workstation.
a. We recommend using a dedicated workstation and program one module at a time.
b. If several modules are connected, the MProg tool will load selected config to all and increase
the serial number by one for each module.
c. NOTE: if you use a unit with internal COM module installed from factory, the internal
module will be reprogrammed as well!
2. Start MProg 3.5 tool
3. Scan for devices. Device -> Scan (Ctrl+C)
4. Load correct template. File -> Open (Ctrl+O)
a. Refer to overview in Chapter 4 for correct template.
5. Program card. Device -> Program (Ctrl+P)
6. Press the Cycle Device button (upper right corner) and close MProg tool, or reboot the unit, to load
the new device settings.
7. Verify that the module was updated correctly. Ref. chapter 3.1.
8. For external modules we recommend adding a label (EXT #1, #2, #3, #4) to be able to separate
them if you ever need to connect more than one module to same unit.

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 5 of 10


DOC102080-1 - Revision 02

4 Programming table reference


Please refer to the overview below to find correct configuration file for your setup.

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”

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 6 of 10


DOC102080-1 - Revision 02

4.1 USB to 4xRS422/RS485 NMEA Module Gen.1. Isolated.


Internal: PCA100293-1
External: HT 00262 OPT-A1 (HW00/blank) and HT 00267 OPT-A1 (open frame)

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

External #1 RS485_NMEA_V1_BANK1_EXT.EPT 54321A-D 57-60 ND ND ND ND ND ND ND ND


External #2 RS485_NMEA_V1_BANK2_EXT.EPT 54322A-D 61-64 ND ND ND ND ND ND ND ND
External #3 RS485_NMEA_V1_BANK3_EXT.EPT 54323A-D 65-68 ND ND NA ND ND ND ND ND
External #4 RS485_NMEA_V1_BANK4_EXT.EPT 54324A-D 69-72 ND ND NA ND ND ND ND ND

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 7 of 10


DOC102080-1 - Revision 02

4.2 USB to 4xRS422/RS485 NMEA Module Gen.2. Isolated.


Internal: PCA200828-1
External, in case: HT 00262 OPT-A1 HW01

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.

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 8 of 10


DOC102080-1 - Revision 02

4.3 USB to 4xRS232 Module. Non-isolated.


Internal: PCA100294-1
External: HT 00263 OPT-A1

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

External #1 RS232-V1-EXT-BANK1.EPT 23211A-D 37-40 ND ND ND ND ND


External #2 RS232-V1-EXT-BANK2.EPT 23212A-D 73-76 ND ND ND ND ND
External #3 RS232-V1-EXT-BANK3.EPT 23213A-D 77-80 ND ND ND ND ND
External #4 RS232-V1-EXT-BANK4.EPT 23214A-D 81-84 ND ND ND ND ND

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 9 of 10


DOC102080-1 - Revision 02

4.4 USB to 2xRS232 Module. Isolated.


Internal: PCA100309-1

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

Hatteland Technology AS | www.hattelandtechnology.com | Enterprise no: NO974533146 Page 10 of 10

You might also like