IO Device:81801 Linux

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
Source file: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/81801_WDT/Windows_Base/81801UWDTw_src_v11.rar 81801UWDTw_src_v11.rar]<br>
Source file: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/81801_WDT/Windows_Base/81801UWDTw_src_v11.rar 81801UWDTw_src_v11.rar]<br>
Binary file: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/81801_WDT/Windows_Base/81801UWDTw_bin_v11.rar 81801UWDTw_bin_v11.rar]
Binary file: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/81801_WDT/Windows_Base/81801UWDTw_bin_v11.rar 81801UWDTw_bin_v11.rar]
- 
- 
== How to compile source code ==
== How to compile source code ==

Revision as of 11:15, 13 January 2012


The Sample code source you can download from

Source file: 81801UWDTw_src_v11.rar
Binary file: 81801UWDTw_bin_v11.rar

How to compile source code

1. Compile source code with Code::Blocks

  1. download and install the Code::Block and libgtk2.0-dev with command "apt-get install codeblocks libgtk2.0-dev"
  2. Open an exist project(lanbypass.cbp) in Code::Blocks
  3. add an option `pkg-config gtk+-2.0 --cflags`-std=gnu99 in "Project->Build Option->compiler setting->Other option"
  4. add an option `pkg-config gtk+-2.0 --libs` in "Project->Build Option->Linker Setting->Other linker option"
  5. click the compile button

2.Compile source code with "make"

  1. download and install the libgtk2.0-dev with command "apt-get install libgtk2.0-dev"
  2. cd lanbypass
  3. ./configure
  4. make
  5. cd src/lanbypass // execute the binary file()

How to use the DEMO Application

  • Step 1:Key-in the 1~255 value in Red number 1.
  • Step 2:Press the "WDT Enable" button in Red number 2,the system will reboot after step 1 you key-in Sec.
  • Step 3:Press the "WDT Disable" button in Red number 3,It will stop WDT function.

So you can make the loop with Enable and Disable to protection your system when crash.

Personal tools