請先看『使用說明』
IO Device:81801 Linux
From LEXWiKi
(Difference between revisions)
Line 4: | Line 4: | ||
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 == | ||
1. '''Compile source code with Code::Blocks'''<br> | 1. '''Compile source code with Code::Blocks'''<br> | ||
Line 17: | Line 18: | ||
# make | # make | ||
# cd src/lanbypass // execute the binary file() | # cd src/lanbypass // execute the binary file() | ||
+ | |||
== How to use the DEMO Application == | == How to use the DEMO Application == | ||
Revision as of 11:13, 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
- download and install the Code::Block and libgtk2.0-dev with command "apt-get install codeblocks libgtk2.0-dev"
- Open an exist project(lanbypass.cbp) in Code::Blocks
- add an option `pkg-config gtk+-2.0 --cflags`-std=gnu99 in "Project->Build Option->compiler setting->Other option"
- add an option `pkg-config gtk+-2.0 --libs` in "Project->Build Option->Linker Setting->Other linker option"
- click the compile button
2.Compile source code with "make"
- download and install the libgtk2.0-dev with command "apt-get install libgtk2.0-dev"
- cd lanbypass
- ./configure
- make
- 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.