User’s Manual
WIN Enterprises, Inc.
Sep., 2014
41
Appendix B: LAN Bypass Programming Guide
The default state for CN24/CN25 (LAN1/LAN2) and CN26/CN27 (LAN3/LAN4)
Ethernet ports is set to normal mode.
How to control LAN1/LAN2 and LAN3/LAN4 bypass function by
watchdog timer
Please follow below steps to set the LAN bypass function control by watchdog
timer:
1. Set jumper JP4/JP5
to 1-2 shorted
[default] to switch LAN bypass function
to normal mode.
2. Set JP8 to 2-3 to switch watchdog function, and let bypass function is
controlled by watchdog.
3. Refer to Appendix A to set timer interval value and enable watchdog
timer.
After setting the timer interval value, the watchdog timer begins to count down.
You have to refresh the watchdog timer, so that the watchdog timer will return
to its initial value; otherwise, your system will set LAN1/LAN2 and LAN3/LAN4
ports to bypass state after a time-out.
Note: Once the watchdog timer time-out you need to restart the system to
reset the timer.
How to control LAN1/LAN2 and LAN3/LAN4 bypass function by GPIO
Please follow below steps to set the LAN bypass function control by GPIO:
1. Set jumper JP4/JP5
to 1-2 shorted
[default] to switch LAN bypass function
to normal mode.
2. Refer to the LAN bypass sample code and set LAN1/LAN2 and
LAN3/LAN4 ports to bypass state or normal state.