background image

ENDAT-GX201 USER’S MANUAL 

UNICORN COMPUTER CORP. 

 

27 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

void init(unsigned char flag,unsigned char time) 

 unsigned 

char 

tmp0; 

 outportb(RUNTIME_RWDT_GP60_TYPE_OFFSET,0x0d); //Disable 

WDT 

function 

(set it as input). 
 tmp0=inportb(RUNTIME_RWDT_TIME_OUT_OFFSET); 
 if 

(flag) 

 { 
 

 

tmp0=tmp0|0x80; 

 

//Set time unit is second. 

 } 
 else 
 { 
 

 

tmp0=tmp0&0x7f; 

 

//Set time unit is minute. 

 } 
 outportb(RUNTIME_RWDT_TIME_OUT_OFFSET,tmp0); 
 

outportb(RUNTIME_RWDT_VAL_OFFSET,time);   

//Set time out vlaue. 

 tmp0=inportb(RUNTIME_RWDT_CFG_OFFSET); 
 tmp0=tmp0|0x06; 
 outportb(RUNTIME_RWDT_CFG_OFFSET,tmp0); 

 

//Set WDT interrupt by KB and 

MOUSE. 

 
 
void title(void) 

 

cout<<"\nUNICORN COMPUTER Corp,.      2006/09/14(ver:0.1 beta)"; 

 

cout<<"\nDesigned by Robert Liou for testing WDT on GX2v1!\n\n"; 


 
unsigned char dec2hex(unsigned int number) 

 unsigned 

char 

tmp_num0,tmp_num1; 

 if(number>=255) 
 { 
  tmp_num0=number&0xff; 
 } 

 

else 

 { 
  tmp_num1=(number/16)&0x0f; 
  tmp_num1=tmp_num1<<4; 
  tmp_num0=number%16; 
  tmp_num0=tmp_num0|tmp_num1; 
 } 
 return(tmp_num0); 

 

ENDAT-GX201 USER’S MANUAL 

UNICORN COMPUTER CORP. 

 

28

2-6. Digital I/O 

z

 

16 Bits Digital I/O (CN7) 

I/O type: Unidirectional for 8 bits input and 8 bits output with buffer 

 

Pin definition: 

CN7: DIGITAL I/O Pin Header (2x13 with 2.0mm) 

Pin No.

H/W 

S/W 

Pin No.

H/W 

S/W 

OUTPUT-0 BIT0

 

OUTPUT-4 BIT4

 

OUTPUT-1 BIT1 

OUTPUT-5 BIT5 

OUTPUT-2 BIT2 

OUTPUT-6 BIT6 

OUTPUT-3 BIT3 

OUTPUT-7 BIT7 

GND N/A 

10 

+5V N/A 

11 

+12V N/A 

12 

+3.3V N/A 

13 

GND N/A 

14 

KEY N/A 

15 

+3.3V N/A 

16 

+12V N/A 

17 

+5V N/A 

18 

GND N/A 

19 

INPUT-0 BIT0 

20 

INPUT-4 BIT4 

21 

INPUT-1 BIT1 

22 

INPUT-5 BIT5 

23 

INPUT-2 BIT2 

24 

INPUT-6 BIT6 

25 

INPUT-3 BIT3 

26 

INPUT-7 BIT7 

Operating condition: 

Due to this feature is addressing from ISA bus!  

So, the ISA Bridge (IT8888G) must present on system for this feature support. 

 

H/W jumper: 

J1: DIGITAL Output Voltage Selector (CN7 only, 1x3 with 2.0mm) 

Pin 1-2 * 

+3.3V 

Pin 3-4 

+5V 

 

S/W Port Address

: Output (0x300), Input (0x301). 

 

Sample code

 (using TurboC/C++ 3.0): 

 
 
 
 
 

#define WRITE_OUT  0x300   

 

//8bit I/O output 

#define READ_IN 0x301 

 

 

 

//8bit I/O input 

  unsigned 

char 

val=0; 

  val=inportb(READ_IN); 

 //Read 8 bits data from DIO port 

 

 

outportb(WRITE_OUT,val); 

 

//Write 8 bits data to DIO port 

Summary of Contents for ENDAT-GX201

Page 1: ...rica IBM EGA VGA PC XT PC AT OS 2 and PS 2 are registered trademarks of International Business Machines Corporation Intel is a registered trademark of Intel Corporation Plug and Play is registered tra...

Page 2: ...el port RS 422 485 Optional via COM2 Digital IO 8 bit bi directional I O ports standard on board support 8 bit input and 8 bit output while the IT8888 present optional WDT programmable 1 255 seconds m...

Page 3: ...o could be well adapted to various applications such as kiosks networking systems controlling terminals and other embedded systems with FANLESS environment ENDAT GX201 is designed with AMD GEODE GX 50...

Page 4: ...t and 8 bit output if IT8888 PC104 feature presents z Standard PCI slot supports standard PCI adapter with PCI 2 2 compliant A miniPCI socket and PC104 module connector by optional features z AC97 Aud...

Page 5: ...If any of these items are missing or damage please contact the dealer from whom you purchase the motherboard Save the shipping material and carton in the event that you want to ship or store the boar...

Page 6: ...ITAL I O Pin Header w o buffer UBIO1 MIC IN Header CN10 LINE IN Header CN9 LINE OUT Header CN11 CD In Header CN12 SPEAKER OUT Header CN13 Reserved for factory ISP1 ENDAT GX201 USER S MANUAL UNICORN CO...

Page 7: ...xternal power good 8 9 Internal power good 10 11 Hardware Reset Switch 12 13 Power LED 14 15 Close Enable WDT function 16 17 ATX Power On Off JP1 JP3 RS232 422 485 Selectors for COM2 2 0mm TYPE JP1 3x...

Page 8: ...CD 6 DSR 2 RXD 7 RTS 3 TXD 8 CTS 4 DTR 9 RI 5 GND 10 N C LPT1 Printer Port Box Header 2x13 with 2 54mm Pin No Description Pin No Description 1 STB 10 ACK 2 PD0 11 BUSY 3 PD1 12 PE 4 PD2 13 SLCT 5 PD3...

Page 9: ...C 33 IDE A1 34 P66DET 35 IDE A0 36 IDE A2 37 IDECS1 38 IDESC3 39 HDLED 40 GND ENDAT GX201 USER S MANUAL UNICORN COMPUTER CORP 18 IDE1B Slim IDE1 Connector 2x22 with 2 0mm Pin No Description Pin No De...

Page 10: ...R5 31 R6 32 R7 33 GND 34 GND 35 CLK 36 V SYNC 37 DE 38 H SYNC 39 GND 40 LCD PWR 41 LCD PWR 42 KEY 43 LCD PWR 44 LCD PWR ENDAT GX201 USER S MANUAL UNICORN COMPUTER CORP 20 JUSB1 Pin Header for USB por...

Page 11: ...GPIO2 8 GPIO6 9 GPIO3 10 GPIO7 11 GND 12 3 3V CN10 MIC IN 1x4 with 2 54mm Pin No Function Pin No Function 1 MIC POWER 2 GND 3 GND 4 MIC IN CN9 LINE IN 1x4 with 2 54mm Pin No Function Pin No Function 1...

Page 12: ...ory can be DDR200 DDR266 DDR333 or DDR400 2 3 Shared VGA Memory The ENDAT GX201 is using built in graphic controller with Unified Memory Architecture UMA up to 16MB of system memory The amount of vide...

Page 13: ...stream h include process h define RUNTIME_REG_BASE 0x800 define WDT_TIME_OUT_OFFSET 0x65 Bit7 0 default mean minute bit7 1 mean second define WDT_VAL_OFFSET 0x66 Time out value 1 255 0 default is mean...

Page 14: ...turn tmp_num0 ENDAT GX201 USER S MANUAL UNICORN COMPUTER CORP 28 2 6 Digital I O z 16 Bits Digital I O CN7 I O type Unidirectional for 8 bits input and 8 bits output with buffer Pin definition CN7 DIG...

Page 15: ...1 GPIO7 0x73 0x85 bit 7 Control register configuration GPIO0 to GPIO3 Pin No Function 0 1 BIT0 Input Output Output Input BIT1 Polarity No invert Invert BIT2 GPIO other function GPIO Other function BI...

Page 16: ...es Set how many size will be used on the interface 3 IT8888 DDMA There have 6 DMA channels available on this item 0 1 2 3 5 6 7 please set one or more DMA channel as interface needs ENDAT GX201 USER S...

Page 17: ...the above CMOS BIOS items require board knowledge on PC AT system architecture Incorrect setup could cause system malfunctions ENDAT GX201 USER S MANUAL UNICORN COMPUTER CORP 34 3 1 Standard CMOS Fea...

Page 18: ...pset Features This section allows you to configure the system based on the specific features of the installed chipset This chipset manages bus speeds and the access to the system memory resources such...

Page 19: ...AT GX201 USER S MANUAL UNICORN COMPUTER CORP 38 3 4 Integrated Peripherals The IDE hard drive controllers support up to two separate hard drives These drives have a master slave relationship that is d...

Page 20: ...de I O Size 5 1 Bytes Decode I O Space 0 5 Enable or Disable the Decode I O space function 0 5 Decode I O Speed 0 5 Set the Decode I O speed 0 5 Choice Subtractive Speed Slow Speed Medium Speed Fast S...

Page 21: ...ower Management Setup The Power Management Setup allows users configuring the system to save energy in a most effective way while operating in a manner consistent with their own style of computer use...

Page 22: ...ts Current CPU Temperature VCC 5 VTR 5 V 12 V Fan1 Speed Fan2 Speed ENDAT GX201 USER S MANUAL UNICORN COMPUTER CORP 44 Chapter 4 VGA LCD and drivers 4 1 Graphic controller Feature The ENDAT GX201 inte...

Page 23: ...r of ENDAT GX201 is only support VESA timing for all LCD configurations please make sure the LCD which applies on this board is fully compliant with VESA standard timing Operation procedure z Step 1 S...

Page 24: ...erally is Normal Choice Normal 2 X Refresh Rate This field is used to select the refresh rate VSYNC frequency to LCD panel Default is 60 Hz Choice 60 65 70 72 75 85 ENDAT GX201 USER S MANUAL UNICORN C...

Page 25: ...and transmits data on the network at 100 Mbps or 10 Mbps It also operates in full duplex mode that doubles the network speed up to 20 200 Mbps when working with Fast Switching Hub Built in two RJ 45 p...

Page 26: ...he remote boot function allows the computer to boot up over the network instead of using the local operating system device This enables the system to be a diskless workstation environment 5 5 Diagnost...

Page 27: ...ication Diagnostics On Network To run this test on the network you will need another computer set up as a Responder to receive packets from the adapter being tested and echo them back to the adapter T...

Page 28: ...n 1 DCD 6 DSR 2 RXD 7 RTS 3 TXD 8 CTS 4 DTR 9 RI 5 GND 10 N C LPT1 Printer Port Box Header 2x13 with 2 54mm Pin No Description Pin No Description 1 STB 10 ACK 2 PD0 11 BUSY 3 PD1 12 PE 4 PD2 13 SLCT 5...

Page 29: ...C 33 IDE A1 34 P66DET 35 IDE A0 36 IDE A2 37 IDECS1 38 IDESC3 39 HDLED 40 GND ENDAT GX201 USER S MANUAL UNICORN COMPUTER CORP 58 IDE1B Slim IDE1 Connector 2x22 with 2 0mm Pin No Description Pin No De...

Page 30: ...1 CK 12 LCD PWR 13 CK 14 ENBKLT 15 VBL 12V 16 GND Please make sure the Pin 1 location before inserting the LCD connector ENDAT GX201 USER S MANUAL UNICORN COMPUTER CORP 60 JUSB1 Pin Header for USB por...

Page 31: ...h 2 54mm Pin No Function Pin No Function 1 MIC POWER 2 GND 3 GND 4 MIC IN CN9 LINE IN 1x4 with 2 54mm Pin No Function Pin No Function 1 LINE IN L 2 GND 3 GND 4 LINE IN R ENDAT GX201 USER S MANUAL UNIC...

Page 32: ...over products that have been modified or subjected to unusual electrical or physical stress Unicorn Computer Corp is not liable to repair or replace defective goods caused by improper using or use of...

Page 33: ...ENDAT GX201 USER S MANUAL UNICORN COMPUTER CORP 66 z Issue Code of defect 01 Second Times R M A 11 Memory Socket Bad 02 No Screen No Boot 12 Hang Up Hardware 03 VGA Display Fail 13 Hang Up Software 0...

Reviews: