Advertisement

Quick Links

User Manual
Advantech
Advanced LAN Bypass

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LAN Bypass and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Advanced LAN Bypass

  • Page 1 User Manual Advantech Advanced LAN Bypass...
  • Page 2 A product returned without proof of the purchase date is not eligible for warranty service. Write the RMA number visibly on the outside of the package and ship it prepaid to your dealer. Part No. 2002ALBP00 Edition 1 Printed in Taiwan September 2018 Advanced LAN Bypass User Manual...
  • Page 3 Please let us know of any aspect of this product, including the manual, which could benefit from improvements or corrections. We appreciate your valuable input in help- ing make our products better. Please send all such - in writing to: ncg@advantech.com Advanced LAN Bypass User Manual...
  • Page 4 Advanced LAN Bypass User Manual...
  • Page 5: Table Of Contents

    Scope ......................2 Table 1.1: Scope ................. 2 Terminology ....................2 Table 1.2: Terminology..............2 Advanced LAN Bypass Hardware Architecture Overview......3 Figure 1.1 LAN Bypass Hardware Overview ....... 3 Chapter OVERVIEW ...........5 Host Interface.................... 6 Segment Control ..................6 Event and Action ..................
  • Page 6 Table 3.42: API Function "lbp_get_disconnect_led" Error Codes 38 3.7.11 Master/Slave Mode..............38 Table 3.43: Parameter master_slave_config....... 38 Table 3.44: API Function "lbp_set_master_slave_mode" Error Codes ............... 38 Table 3.45: API Function "lbp_get_master_slave_mode" Error Codes ............... 39 Advanced LAN Bypass User Manual...
  • Page 7 Figure 4.27Set a Manual BYPASS Action on Segment 1... 52 4.17 ./lbpcu -CUI ..................... 52 Figure 4.28Usage of the "lbpcu -CUI" Command ....... 52 Figure 4.29Check Upgraded FW Image File ......52 4.18 ./lbpcu -GFM ................... 53 Advanced LAN Bypass User Manual...
  • Page 8 Figure 4.55Send the WDT Start Sequence on All Segments..64 4.39 ./lbpcu -WAT ................... 65 Figure 4.56Strobe the WDT through the Toggle Pin Interface on All Segments ..............65 4.40 ./lbpcu -SACA ..................65 Figure 4.57Usage of the "lbpcu -SACA" Command ....65 Advanced LAN Bypass User Manual viii...
  • Page 9 ./lbpcu -i....................67 Figure 4.60Get all Info of a Segment.......... 68 Appendix A OS limitation ........69 OS limitation.................... 70 A.1.1 Segmentation Fault with Two Linux Distributions ....... 70 Table A.1: Linux Distribution Compatibility ....... 70 Advanced LAN Bypass User Manual...
  • Page 10 Advanced LAN Bypass User Manual...
  • Page 11: Chapter 1 Advanced Lan Bypass

    Chapter ADVANCED LAN BYPASS...
  • Page 12: Scope

    Scope This document describes Advantech Advanced LAN Bypass and related SW APIs. It covers the following SW and FW releases (see Section 3.7.2 for more details): Table 1.1: Scope Release date FW version Liblbpcu version LBPCU version Protocol version 2016/02/04 00.22...
  • Page 13: Advanced Lan Bypass Hardware Architecture Overview

    Using the Advanced LAN Bypass library and related SW APIs, applications running on the host system can access the LAN Bypass MCUs in the system in order to change bypass behavior or to activate and use additional features such as the inte- grated WDT functionality.
  • Page 14 Advanced LAN Bypass User Manual...
  • Page 15: Chapter 2 Overview

    Chapter OVERVIEW...
  • Page 16: Host Interface

    This allows various schemes for applications controlling the bypass segments. In most cases, a centralized control application or OS is used to manage LAN bypass on the system. In such a scenario, the control plane can still control each bypass segment independently (e.g., force one segment into bypass mode but keep another...
  • Page 17 Means that the state will not be changed when the specified event occurs (i.e., network connectivity will remain as is). Figure 2.1 Bypass Actions and Related Port Connectivity The default action setting for all events is "CONNECT", which means LAN Bypass is turned off. Example 1: ...
  • Page 18 Master/Slave mode is disabled Table 2.3: Mapping between Events and Actions (Example 3) Action CONNECT DISCONNECT BYPASS DO_NOT_ CHANGE Event Power Up Power Down Power Reset WDT Start WDT Timeout External Trigger Button Event 1 Button Event 2 Advanced LAN Bypass User Manual...
  • Page 19: Manual Bypass Control

    2.5.1 Standard Watchdog Mechanism In this mode, the WDT in the LAN Bypass MCU is controlled by the host SW via the regular messaging interface. The host SW issues API commands to configure and start, stop, or reset the WDT (see Section 3.7.4 for more details).
  • Page 20: Toggle Pin Mechanism

    2.5.2 Toggle Pin Mechanism In this mode, a dedicated signal ("toggle pin") between the NIC and LAN Bypass MCU is used to strobe the WDT and keep it from timing out. Every signal state change (i.e., each rising or falling edge) will be treated as a WDT strobe.
  • Page 21: Global Watchdog Trigger Mechanism

    Either one single or multiple masters can assert the global WDT trigger signal. Any LAN Bypass MCU can be configured to be a master or slave or to ignore the global WDT trigger signal via dedicated Advanced LAN Bypass SW API commands.
  • Page 22: Bypass Master/Slave Mode With Button And Led Control

    The Master/Slave Mode LED shows the system's bypass state based on the Mas- ter/Slave Mode LED configuration. 2.6.3 Master/Slave Mode Button The Master/Slave Mode button can be used to directly change the bypass state. It alternatingly triggers the events Button Event 1 and Button Event 2. Advanced LAN Bypass User Manual...
  • Page 23: Led Indication

    Duty can be set as an integer between 0 and 100. The value represents the duty cycle as a percentage. Period can be set between 1 and 255 (increment: 100 ms). The LAN Bypass MCU uses the following formula to calculate T (ON time) and T (OFF time).
  • Page 24: Error Codes

    Memory mapping failure Failed to access registers for GPIO 0x87 LBP_ERR_GBASE_OPEN access; please check the PCIe device configuration Failed to close lbp because interfaces 0x88 LBP_ERR_LBP_CLOSE were busy (timeout) 0x89 LBP_ERR_INTERFACE_OPEN Failed to open the interface (timeout) Advanced LAN Bypass User Manual...
  • Page 25 Cannot access NFP 0x9C LBP_ERR_NFP_PARAMETER NFP parameter error 0xE0 NACK_CMD Invalid command 0xE1 NACK_PARAM FW parameter is out of range 0xE2 NACK_CS Checksum mismatch Cannot perform the action in the cur- 0xE3 NACK_CURRENT_STATE rent state Advanced LAN Bypass User Manual...
  • Page 26 Advanced LAN Bypass User Manual...
  • Page 27: Liblbpcu -Advanced Lan Bypass Library

    Chapter LIBLBPCU - ADVANCED LAN BYPASS LIBRARY...
  • Page 28: Supported Distributions

    Advantech provides a static Linux library (liblbpcu.a) and corresponding header file (liblbpcu.h) so you can integrate Advanced LAN Bypass control into your applica- tions. Supported Distributions Liblbpcu is a generic Linux user space library and thus should work with most Linux distributions.
  • Page 29: Segment Control For Pcie-Based Devices

    03:00.3). In the configuration file, the parameters for the first segment would be: – BUS: 3 – DEV: 0 – FUN: 0 Those for the second segment would be: – BUS: 3 – DEV: 0 Advanced LAN Bypass User Manual...
  • Page 30: Header File

    #define lbp_is_wdt_running(x) ((x & 0x01) == 0x01) //WDT is running #define lbp_is_wdt_ext_en(x) ((x & 0x04) == 0x04) //External (Global) WDT is enabled #define lbp_is_wdt_ext_master(x) ((x & 0x06) == 0x06) //External WDT is enabled in Master mode Advanced LAN Bypass User Manual...
  • Page 31 //bit 0: Enable (1) or dis- able (0) toggle pin #define TOGGLE_ARM_PIN1 <<1 //bit 1: Arm (1) or disarm (0) toggle pin #define TOGGLE_AUTO_REARM1 <<2 //bit 2: Automatically rearm (1) or don't rearm (0) when watchdog counter expires Advanced LAN Bypass User Manual...
  • Page 32: Api Command List

    3.7.6.3 00.04 00.04 00.01 lbp_start_reset_monitori 3.7.7.1 00.06 00.06 00.03 lbp_get_reset_monitorin 3.7.7.2 00.06 00.06 00.03 g_state lbp_set_rmt_counter 3.7.7.3 00.06 00.06 00.03 lbp_get_rmt_status 3.7.7.4 00.06 00.06 00.03 lbp_start_wdt_by_toggle 3.7.5.2 00.06 00.06 00.03 lbp_set_message_level 3.7.8.1 00.10 00.08 00.04 Advanced LAN Bypass User Manual...
  • Page 33: How To Use The Api

    Opens the communication interface for a specified bypass segment. This function needs to be called before executing any other function on the specific LAN bypass segment. Returns 0 on success or the following error codes in the case of an error: Advanced LAN Bypass User Manual...
  • Page 34: Lbp Information

    LBP_ERR_GPIO_SET 0x98 3.7.1.3 lbp_err lbp_close(int segment) Closes an opened communication interface of a specific LAN bypass segment. Returns 0 on success or the following error codes in the case of an error: Table 3.4: API Function "lbp_close" Error Codes Name...
  • Page 35 When a user application calls API functions that are available only on FW version 0.04 (protocol version 0.01 or later), liblbpcu will check whether the protocol version of the LAN Bypass MCU FW matches the requirement. If it does not match, the error code "LBP_ERR_COMMAND_NOT_SUPPORT" will be returned.
  • Page 36 Sets the current action for a specified event on a specific segment. Events: #define POWER_ON #define POWER_OFF #define POWER_RST #define WATCHDOG_START #define WATCHDOG_TIMEOUT #define EXTERNAL_TRIGGER #define MANUAL #define BUTTON_EVENT_1 #define BUTTON_EVENT_2 Action: #define BYPASS #define DISCONNECT #define CONNECT #define DO_NOT_CHANGE 0xFF Advanced LAN Bypass User Manual...
  • Page 37 Returns 0 on success or the following error codes in the event of an error: Table 3.13: API Function "lbp_set_current_action" Error Codes Name Error Code LBP_ERR_INTERFACE_OPEN 0x89 LBP_ERR_FW_NRDY 0x8A LBP_ERR_FW_CS 0x8B LBP_ERR_PARAM_OUT_OF_BOUND 0x93 LBP_ERR_LBP_INIT 0x95 Advanced LAN Bypass User Manual...
  • Page 38 Returns 0 on success or the following error codes in the event of an error: Table 3.16: API Function "lbp_reset_start_wdt" Error Codes Name Error Code LBP_ERR_INTERFACE_OPEN 0x89 LBP_ERR_FW_NRDY 0x8A LBP_ERR_FW_CS 0x8B LBP_ERR_PARAM_OUT_OF_BOUND 0x93 LBP_ERR_LBP_INIT 0x95 Advanced LAN Bypass User Manual...
  • Page 39 0x03 global trigger master mode, level triggered Please note that global WDT trigger mode is disabled by default. This setting is non- volatile and will be stored locally in EEPROM. Advanced LAN Bypass User Manual...
  • Page 40 Sends the WDT start sequence through the toggle pin interface. Toggle pin mode needs to be enabled on this segment for this command to take effect. Returns 0 on success or the following error codes in the event of an error: Advanced LAN Bypass User Manual...
  • Page 41 Returns 0 on success or the following error codes in the event of an error: Table 3.25: API function "lbp_get_fw_mode" Error Codes Name Error Code LBP_ERR_INTERFACE_OPEN 0x89 LBP_ERR_FW_NRDY 0x8A LBP_ERR_FW_CS 0x8B LBP_ERR_PARAM_OUT_OF_BOUND 0x93 LBP_ERR_PARAM_NULL_POINTER 0x94 LBP_ERR_LBP_INIT 0x95 Advanced LAN Bypass User Manual...
  • Page 42 This action may be taken by BIOS or by the chipset to recon- figure the PCIe bus. As such, LAN Bypass MCU will treat this reset as a new event and will perform the defined action for a POWER RESET event.
  • Page 43 Set the reset monitoring timer to a very high value and let BIOS send the "start reset monitoring" command (cf. Section 3.7.7.1)  Set the reset monitoring timer to 0, LAN Bypass MCU will start the reset monitor immediately after power on/reset. ...
  • Page 44 The timer will start as soon as the system powers on. When the timer expires, the LAN Bypass MCU will start to monitor the reset signal. Returns 0 on success or the following error codes in the event of an error: Table 3.30: API Function "lbp_set_rmt_counter"...
  • Page 45 Returns 0 on success or the following error codes in the event of an error: Table 3.33: API Function "lbp_set_bypass_ctrl_type" Error Codes Name Error Code LBP_ERR_INTERFACE_OPEN 0x89 LBP_ERR_FW_NRDY 0x8A LBP_ERR_FW_CS 0x8B LBP_ERR_PARAM_OUT_OF_BOUND 0x93 LBP_ERR_LBP_INIT 0x95 LBP_ERR_COMMAND_NOT_SUPPORT 0x96 Advanced LAN Bypass User Manual...
  • Page 46 Returns 0 on success or the following error codes in the event of an error: Table 3.37: API Function "lbp_set_bypass_led" Error Codes Name Error Code LBP_ERR_INTERFACE_OPEN 0x89 LBP_ERR_FW_NRDY 0x8A LBP_ERR_FW_CS 0x8B LBP_ERR_PARAM_OUT_OF_BOUND 0x93 LBP_ERR_PARAM_NULL_POINTER 0x94 LBP_ERR_LBP_INIT 0x95 LBP_ERR_COMMAND_NOT_SUPPORT 0x96 Advanced LAN Bypass User Manual...
  • Page 47 Returns 0 on success or the following error codes in the event of an error: Table 3.41: API Function "lbp_set_disconnect_led" Error Codes Name Error Code LBP_ERR_INTERFACE_OPEN 0x89 LBP_ERR_FW_NRDY 0x8A LBP_ERR_FW_CS 0x8B LBP_ERR_PARAM_OUT_OF_BOUND 0x93 LBP_ERR_PARAM_NULL_POINTER 0x94 LBP_ERR_LBP_INIT 0x95 LBP_ERR_COMMAND_NOT_SUPPORT 0x96 Advanced LAN Bypass User Manual...
  • Page 48 Returns 0 on success or the following error codes in the event of an error. Table 3.44: API Function "lbp_set_master_slave_mode" Error Codes Name Error Code LBP_ERR_INTERFACE_OPEN 0x89 LBP_ERR_FW_NRDY 0x8A LBP_ERR_FW_CS 0x8B LBP_ERR_PARAM_OUT_OF_BOUND 0x93 LBP_ERR_PARAM_NULL_POINTER 0x94 LBP_ERR_LBP_INIT 0x95 LBP_ERR_COMMAND_NOT_SUPPORT 0x96 Advanced LAN Bypass User Manual...
  • Page 49 Gets the master LED's ON duty cycle and the total ON/OFF period of LED indication for CONNECT, DISCONNECT, and BYPASS actions. Returns 0 on success or the following error codes in the event of an error: Advanced LAN Bypass User Manual...
  • Page 50: Scan Event Thread Init/Detach

    }__attribute__ ((packed)) scan_thread_parameters; Returns 0 on success or -1 in the event of an error. 3.7.12.2 lbp_err lbp_scan_event_detach() Stops and detaches the scan event thread. Returns 0 on success or -1 in the event of an error. Advanced LAN Bypass User Manual...
  • Page 51 Chapter LBPCU...
  • Page 52 External WDT pin status: active slave mode Toggle pin WDT mode: active. Toggle pin arm status: armed Toggle pin auto rearm: enabled Toggle pin status at start up: enabled Initial Countdown: 10.0 sec Current Countdown: 0.0 sec ================================================ Advanced LAN Bypass User Manual...
  • Page 53: Chapter 4 Lbpcu

    Get the duty and the period of master LED in bypass or dis- connect. -CUI: [Upgrade] Check upgrade image -UG: [Upgrade] Upgrade FW -CBTEST:evnet change callback test -GFM: [Upgrade] Get FW mode Figure 4.1 Usage of the "lbpcu" Command Advanced LAN Bypass User Manual...
  • Page 54: Lbpcu -V

    Firmware version: 01.18 Figure 4.4 Retrieve the MCU FW Version for Segment 1 ./lbpcu -VP Gets the protocol versions of the liblbpcu and LAN Bypass MCU FW (cf. Section 3.7.2.4): root@localhost:~# ./lbpcu -VP Example: Get segment_1 protocol version between NIC and FW. So use -VP 1 will get segment_1 protocol version.
  • Page 55: Lbpcu -N

    Retrieve the current action (DISCONNECT in this example) for the POWER_OFF event on Segment 1: root@localhost:~# ./lbpcu -GA 1 POWER_OFF Event: POWER_OFF Action: DISCONNECT Figure 4.9 Return the Current Action for the POWER_OFF Event on Segment 1 Advanced LAN Bypass User Manual...
  • Page 56: Lbpcu -Sa

    Set BYPASS as the current action for the POWER_OFF event on Segment 1: root@localhost:~# ./lbpcu -SA 1 POWER_OFF BYPASS root@localhost:~# ./lbpcu -GA 1 POWER_OFF Event: POWER_OFF Action: BYPASS Figure 4.11 Set BYPASS Action for the POWER_OFF Event on Segment 1 Advanced LAN Bypass User Manual...
  • Page 57: Lbpcu -Sw

    Example: Get segment_1 Watch_Dog_Timer status. So use -GW 1 will get Watch_Dog_Timer status for segment_1. Command: Get WDT status Syntax: GW <segment> Output: Watch_Dog_Timer status. Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93) Figure 4.14 Usage of the "lbpcu -GW" Command Advanced LAN Bypass User Manual...
  • Page 58: Lbpcu -Rw

    Figure 4.16 Usage of the "lbpcu -RW" Command Example Reset the WDT to the initial countdown value and then start the WDT on Segment 1: root@localhost:~# ./lbpcu -RW 1 root@localhost:~# Figure 4.17 Start WDT on Segment 1 Advanced LAN Bypass User Manual...
  • Page 59: Lbpcu -Stopw

    Toggle pin arm status: armed Toggle pin auto rearm: disabled Toggle pin status at start up: enabled Initial Countdown: 100.0 sec Current Countdown: 0.0 sec Figure 4.20 Set Toggle Pin Mode on Segment 1 Advanced LAN Bypass User Manual...
  • Page 60: Lbpcu -Sew

    Toggle pin WDT mode: active. Toggle pin arm status: armed Toggle pin auto rearm: disabled Toggle pin status at start up: enabled Initial Countdown: 100.0 sec Current Countdown: 0.0 sec Figure 4.22 Enable External WDT on Segment 1 Advanced LAN Bypass User Manual...
  • Page 61: Lbpcu -Wt

    Figure 4.24 Usage of the "lbpcu -GLEA" Command Get the last event and last action on Segment 1: root@localhost:~# ./lbpcu -GLEA 1 last event: WATCHDOG_TIMEOUT last action: DISCONNECT Figure 4.25 Get the Last Event and Last Action on Segment 1 Advanced LAN Bypass User Manual...
  • Page 62: Lbpcu -Sca

    Figure 4.28 Usage of the "lbpcu -CUI" Command Example Check the upgraded FW image file (in this example, lbp_fw_RU_00_16.bin): root@localhost:~# ./lbpcu -CUI lbp_fw_RU_01_20.bin image total line is 709 Figure 4.29 Check Upgraded FW Image File Advanced LAN Bypass User Manual...
  • Page 63: Lbpcu -Gfm

    4.18 ./lbpcu -GFM Returns the current LAN Bypass MCU FW upgrade status on a specified segment. This command is intended for debugging purposes during FW upgrade (cf. Section 3.7.6.2): root@localhost:~# ./lbpcu -GFM Example: the FW mode on segment_1 is AP. So use -GFM 1 will get AP output.
  • Page 64: Lbpcu -Srm

    Example Upgrade the LAN Bypass MCU FW on Segment 1: root@localhost:~# ./lbpcu -UG 1 lbp_fw_RU_01_20.bin FW downloading. This process will take 1 ~ 2 minutes. FW upgrade completed. Figure 4.35 Upgrade the MCU FW on Segment 1 4.20 ./lbpcu -SRM Starts monitoring a reset signal on a specified segment if the reset monitoring has not been enabled yet (cf.
  • Page 65: Lbpcu -Srmt

    Syntax: GRMT <segment> Output: Reset_Monitoring_Timer status. Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93) root@localhost:~# ./lbpcu -GRMT 1 Reset Monitoring Timer Is: Stopped Initial Countdown: 1.0 sec Current Countdown: 0.0 sec Figure 4.39 Get Related Countdown Values on Segment 1 Advanced LAN Bypass User Manual...
  • Page 66: Lbpcu -Swt

    Output: N/A Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93) root@localhost:~# ./lbpcu -SWT 1 root@localhost:~# Figure 4.40 Send the WDT Start Sequence on Segment 1 4.25 ./lbpcu -ML Sets the debug message output level of LBPCU (cf. Section 3.7.8.1). Example Advanced LAN Bypass User Manual...
  • Page 67 5e dev: 0 fun: 0 conf[1].chip: 15228086 conf[1].sck: 1 conf[1].cs: 2 conf[1].si: 4 conf[1].so: 8 conf[1].seg0_gpio1en: 0, conf[1].seg0_gpio0en: 10000 conf[1].seg0_gpio1_data: 0, conf[1].seg0_gpio0_data: 40000 conf[1].seg0_gpio1_iodir: 0, conf[1].seg0_gpio0_iodir: 400000 conf[1].seg0_reqen: 0, conf[1].seg0_global_wdten: 0 conf[1].seg0_req_data: 0, conf[1].seg0_global_wdt_data: 0 Advanced LAN Bypass User Manual...
  • Page 68: Lbpcu -Sbct

    Command: Set bypass control type. Syntax: SBCT <segment> <bypass control type> bypass control type: COPPER FIBER Output: N/A Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93) root@localhost:~# ./lbpcu -SBCT 1 FIBER Figure 4.42 Set the Bypass Control Type on Segment 1 Advanced LAN Bypass User Manual...
  • Page 69: Lbpcu -Gbct

    NOTE: This setting will apply to both segments on the same NMC card Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93) root@localhost:~# ./lbpcu -SBL 1 30 10 Figure 4.44 Set the LED ON/OFF Settings for a BYPASS Action on Segment 1 Advanced LAN Bypass User Manual...
  • Page 70: Segment 1

    NOTE: This setting will apply to both segments on the same NMC card Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93) root@localhost:~# ./lbpcu -SDL 1 30 10 Figure 4.46 Set the LED ON/OFF Settings for a DISCONNECT Action on Segment 1 Advanced LAN Bypass User Manual...
  • Page 71: Lbpcu -Gdl

    Example command: ./lbpcu -SMSM 1 MASTER YES Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93) root@localhost:~# ./lbpcu -SMSM 1 MASTER YES root@localhost:~# Figure 4.48 Enable Master/Slave Mode, Set as Master, and Disable the Toggle Pin on Segment 1 Advanced LAN Bypass User Manual...
  • Page 72: Lbpcu -Gmsm

    Master/Slave Mode LED in BYPASS action. Example command: ./lbpcu -SML 1 BYPASS 50 10 Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93) root@localhost:~# ./lbpcu -SML 1 BYPASS 50 5 Figure 4.50 Set the Master/Slave Mode LED Behavior, XXX on Segment 1 Advanced LAN Bypass User Manual...
  • Page 73: Segment 1

    Figure 4.52 Usage of the "lbpcu -RAW" Command Example Reset the WDT to the initial countdown value and then start the WDT all segments: root@localhost:~# ./lbpcu -RAW root@localhost:~# Figure 4.53 Start WDT on All Segments Advanced LAN Bypass User Manual...
  • Page 74: Lbpcu -Stopaw

    Command: Start wdt by toggle note: Toggle pin WDT mode needs to be enabled & armed. Syntax: SAWT Output: N/A Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93) root@localhost:~# ./lbpcu -SAWT root@localhost:~# Figure 4.55 Send the WDT Start Sequence on All Segments Advanced LAN Bypass User Manual...
  • Page 75: Lbpcu -Wat

    GLEA" command to check the last event and last action on Segments 1 and 2: root@localhost:~# ./lbpcu -SACA BYPASS root@localhost:~# ./lbpcu -GLEA 1 last event: MANUAL last action: BYPASS root@localhost:~# ./lbpcu -GLEA 2 last event: MANUAL last action: BYPASS Figure 4.58 Set the Manual BYPASS Action on All Segments Advanced LAN Bypass User Manual...
  • Page 76: Lbpcu -Cbtest

    1 event changed! enter callback seg 1 event 5 seg: 2 last event: WATCHDOG_TIMEOUT seg: 2 last action: DISCONNECT seg 2 event changed! enter callback seg 2 event 5 Figure 4.59 Enable the Event Change Detect Thread Advanced LAN Bypass User Manual...
  • Page 77: Lbpcu -I

    Period of master LED: 1.0 sec Action: CONNECT Duty of master LED: 100% Period of master LED: 1.0 sec ------------------------------------------------ Event: POWER_ON Action: CONNECT Event: POWER_OFF Action: DISCONNECT Event: POWER_RST Action: BYPASS Event: WATCHDOG_START Action: BYPASS Advanced LAN Bypass User Manual...
  • Page 78 Current Countdown: 0.0 sec ------------------------------------------------ Duty of bypass led: 99% Period of bypass led: 2.0 sec Duty of disconnect led: 40% Period of disconnect led: 1.0 sec Figure 4.60 Get all Info of a Segment Advanced LAN Bypass User Manual...
  • Page 79: Appendix Aos Limitation

    Appendix OS limitation...
  • Page 80: Os Limitation

    # /boot/grub/grub.cfg # For full documentation of the options in this file, see: info -f grub -n 'Simple configuration' GRUB_DEFAULT=0 GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR=`lsb_release 2> /dev/null echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet"  GRUB_CMDLINE_LINUX="console=ttyS0,115200 iomem=relaxed"Run update- grub root@debian:/# update-grub  Reboot Advanced LAN Bypass User Manual...
  • Page 81 Advanced LAN Bypass User Manual...
  • Page 82 www.advantech.com Please verify specifications before quoting. This guide is intended for reference purposes only. All product specifications are subject to change without notice. No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permis- sion of the publisher.

Table of Contents