background image

Appendix

A

Programming GPIO & 
Watchdog Timer

Summary of Contents for AIMB-341

Page 1: ...AIMB 341 Socket 775 Embedded ATX Micro ATX for Multimedia Appli cations User Manual...

Page 2: ...ational Inc VIA is a trademark of VIA Technologies Inc IBM PC AT PS 2 and VGA are trademarks of International Business Machines Corporation Intel and Pentium are trademarks of Intel Corporation Micros...

Page 3: ...00452 1 COM2 W 485 422 cable p n 1701140201 1 DMA 33 IDE 40 to 44pin IDE flat cable p n 1701440350 1 I O shield p n 1960001955 4 COM port cable kit 18CM p n 1701400181 1 USB cable p n 1703100156 If an...

Page 4: ...he product Step 1 Contact your distributor sales representative or Advantech s customer service center for technical support if you need addi tional assistance Please have the following information re...

Page 5: ...d if not installed and used in accordance with the instruction manual may cause harmful interference to radio commu nications Operation of this device in a residential area is likely to cause harmful...

Page 6: ......

Page 7: ...er side 11 2 5 Setting Jumpers 12 2 6 LVDS Panel Voltage select JP2 13 Table 2 3 LVDS Panel Voltage select JP2 13 2 7 COM2 RS232 422 485 Select JP5 13 Table 2 4 COM2 RS232 422 485 Select JP5 13 2 8 Cl...

Page 8: ...PCI and PCI E X1 Conn PCI1 PCI2 CN34 PCIEX1 21 Chapter 3 Award BIOS Setup 24 3 1 System test and initialization 24 3 1 1 System configuration verification 24 3 2 Award BIOS setup 25 3 2 1 Entering se...

Page 9: ...N6 48 B 5 Keyboard PS 2 Mouse Connector CN8 48 Table B 5 Keyboard PS 2 Mouse Connector CN8 48 B 6 LAN2 USB3 4 Connector CN9 49 Table B 6 LAN2 USB3 4 Connector CN9 49 B 7 LAN1 USB1 2 Connector CN10 50...

Page 10: ...ATA Connector SATA1 2 3 4 63 B 24 ATX Power Connector ATX2 63 Table B 24 ATX Power Connector ATX2 63 B 25 LVDS Connector CN23 65 Table B 25 LVDS Connector CN23 65 B 26 CPU SYSTEM FAN Connector FAN1 FA...

Page 11: ...1 Chapter1 1 General Information CHAPTER...

Page 12: ...et interfaces that can be used one LAN for communication and the other one for backup purposes Other onboard comprehensive peripherals include 1 EIDEs 4 SATAs up to 8 USB 2 0 6 serial ports 5x RS 232...

Page 13: ...CFC card occupies secondary master Serial Ports Four serial ports COM1 3 4 5 6 RS 232 COM2 RS 232 422 485 Parallel Ports one parallel port support SPP EPP ECP Keyboard Mouse Connector Supports standa...

Page 14: ...f up to 165MHz supporting UXGA resolution displays DVI hot plug detection Compliant with DVI Specification 1 0 1 3 4 Solid State Disk Supports CompactFlash Type I II disks 1 3 5 PCI bus Ethernet inter...

Page 15: ...0 00 34 29 80 00 237 49 80 00 237 49 233 68 78 74 6 35 6 35 210 82 78 74 212 55 236 96 166 40 237 59 172 34 227 03 95 00 240 33 69 60 240 28 230 53 229 27 133 80 109 22 224 21 7 58 12 45 5 59 3 05 22...

Page 16: ...AIMB 341 User Manual 6 1 5 Board Layout dimensions cont Figure 1 2 Board layout dimenstions component side 243 8400 243 8400 0 0000 0 0000 117 4600 14 2240 31 1785 30 1899...

Page 17: ...7 Chapter2 2 Installation CHAPTER...

Page 18: ...drives The table below lists the function of each of the board s connectors Table 2 1 Jumpers Label Function J1 RTC Connector JP2 LVDS2 Panel Voltage select JP5 COM2 RS232 422 485 Select Jumper Table...

Page 19: ...ector CN29 SIR Connector CN30 Digital IO Connector CN31 Front Panel Connector CN32 Primary IDE Connector CN33 FDD Connector CN34 MINI PCI Connector CN35 Compact Flash Connector VCN2 DVI1 Connector SA1...

Page 20: ...e Figure 2 1 Jumper Connector Locations CN1 CN4 CN5 CN10 CN9 CN6 CN7 CN8 CN11 CN13 CN12 CN14 CN18 CN15 CN17 CN19 CN21 CN22 CN23 CN24 CN25 CN26 CN27 CN28 CN29 CN30 CN31 CN32 CN16 CN20 SA1 SA2 SA3 SA4 A...

Page 21: ...11 Chapter2 2 4 Locating Connectors solder side Figure 2 2 Connectors component side CN34 CN35...

Page 22: ...open a jumper you remove the clip Sometimes a jumper will have three pins labeled 1 2 and 3 In this case you would connect either pins 1 and 2 or 2 and 3 The jumper settings are schematically depicte...

Page 23: ...panel Default is 5V 2 7 COM2 RS232 422 485 Select JP5 Selects the type of COM port Table 2 3 LVDS Panel Voltage select JP2 Close pins Result 1 2 5V 2 3 3 3V Default value Enable Table 2 4 COM2 RS232...

Page 24: ...etting 2 9 Installing DIMMs The procedure for installing DIMMs appears below Please follow these steps carefully 1 Make sure that all power supplies to the system are switched off 2 Install the DIMM c...

Page 25: ...Printer port connector CN5 Normally the parallel port is used to connect the card to a printer The AIMB 341 includes a multi mode ECP EPP SPP parallel port accessed via CN5 and a D SUB 25 pin connect...

Page 26: ...e A drive The set in the middle connects to the B drive 3 If you are connecting a 5 25 floppy drive line up the slot in the printed circuit board with the blocked off part of the cable connec tor If y...

Page 27: ...of LVDS flat panel displays as well The board has two display connectors one for standard CRT VGA monitors and one for LVDS DVI flat panel displays AIMB 341 with 915GV can support dual independent di...

Page 28: ...on the other The USB interfaces can be disabled in the system BIOS setup 2 17 Ethernet configuration The AIMB 341 is equipped with two high performance 32 bit PCI bus Ethernet interfaces which are fu...

Page 29: ...standard connector CN28 supports COM2 CN16 supports COM3 6 and JP5 is for COM2 RS 232 RS 422 RS 485 selection It provides connections for serial devices a mouse etc or a communica tion network You can...

Page 30: ...ransfer rates up to 150 Mbyte s enabling very fast data and file transfer and independent DMA operation on two ports It also supports alternate Device ID and RAID Class Code options for support of Sof...

Page 31: ...ectors both have 12V FAN power and fan speed detection AIMB 341 recommends FAN1 for CPU fan and FAN2 for sys tem 2 28 PCI MINI PCI and PCI E X1 Conn PCI1 PCI2 CN34 PCIEX1 These 4 connectors all follow...

Page 32: ......

Page 33: ...23 Chapter 3 Ducks that Need Love 3 Award BIOS Setup CHAPTER...

Page 34: ...3 1 1 System configuration verification These routines check the current system configuration against the values stored in the board s CMOS memory If they do not match the program outputs an error me...

Page 35: ...ic system configuration This type of information is stored in battery backed CMOS RAM so that it retains the Setup information when the power is turned off 3 2 1 Entering setup Power on the computer a...

Page 36: ...Setup Screen menu the screen shown below is displayed This standard Setup Menu allows users to configure system components such as date time hard disk drive floppy drive and display Once a field is h...

Page 37: ...choosing the Advanced BIOS Features Setup option from the Initial Setup Screen menu the screen below is displayed This sample screen contains the manufacturer s default values for the AIMB 341 Series...

Page 38: ...res setup By choosing the Advanced Chipset Features option from the Initial Setup Screen menu the screen below is displayed This sample screen contains the manufacturer s default values for the AIMB 3...

Page 39: ...ipherals Choosing the Integrated Peripherals option from the Initial Setup Screen menu should produce the screen below Here we see the manufacturer s default values for the AIMB 341 Series Figure 3 5...

Page 40: ...ment Setup By choosing the Power Management Setup option from the Initial Setup Screen menu the screen below is displayed This sample screen contains the manufacturer s default values for the AIMB 341...

Page 41: ...By choosing the PnP PCI Configurations option from the Initial Setup Screen menu the screen below is displayed This sample screen contains the manufacturer s default values for the AIMB 341 Series Fi...

Page 42: ...AIMB 341 User Manual 32 3 2 8 PC Health Status The PC Health Status option displays information such as CPU and moth erboard temperatures fan speeds and core voltage Figure 3 8 PC Health Status...

Page 43: ...the Initial Setup Screen menu the screen below is displayed This sample screen contains the manufacturer s default values for the AIMB 341 Figure 3 9 Frequency Voltage Control Caution Incorrect settin...

Page 44: ...ly when you turn the AIMB 341 Series system on 3 2 11 Set Password Figure 3 10 Load BIOS defaults screen Note To enable this feature you should first go to the Advanced BIOS Features menu choose the S...

Page 45: ...ssword then press Enter 4 Select Save to CMOS and EXIT type Y then Enter To Change a Password 1 Choose the Set Password option from the CMOS Setup Utility main menu and press Enter 2 When you see Ente...

Page 46: ...and press Enter 2 When you see Enter Password enter the existing password and press Enter 3 You will see Confirm Password Type it again and press Enter 4 Select Set Password again and at the Enter Pa...

Page 47: ...croprocessor will check this every time you turn your system on and use the settings to configure the system This record is required for the system to operate 3 2 13 Exit Without Saving Selecting this...

Page 48: ......

Page 49: ...Appendix A Programming GPIO Watchdog Timer...

Page 50: ...ault 0x00 If a port is programmed to be an output port then its respective bit can be read written If a port is programmed to be an input port then its respective bit can only be read CRF2 GP10 GP17 i...

Page 51: ...ortb SuperIO_A0 0x87 External Function Two Successive writes of 0x87 outportb SuperIO_A0 0x87 External Function Two Successive writes of 0x87 Global CR20 outportb SuperIO_A0 0x20 Temp inportb SuperIO_...

Page 52: ...rIO_A1 Temp 0x00 CRF0 Configure logical device 1 configuration register CRF0 outportb SuperIO_A0 0xF0 outportb SuperIO_A1 0xFF gotoxy 6 6 printf AIMB 341 DIO Testing gotoxy 6 7 printf Set jumpers on C...

Page 53: ...xA Temp Temp 0x00 printf Temp s Temp if Temp 0x0B ErrFlag 1 Exit extended function mode outportb SuperIO_A0 0xAA if ErrFlag 0 gotoxy 10 13 printf Testing is successful else gotoxy 10 13 printf Testing...

Page 54: ......

Page 55: ...45 Appx B B Pin Assignments Appendix...

Page 56: ...CONN 15P 90D Blue Pin Signal Pin Signal Pin Signal 1 RED 6 GND 11 NC 2 GREEN 7 GND 12 DDC DATA 3 BLUE 8 GND 13 H SYNC 4 NC 9 NC 14 V SYNC 5 GND 10 GND 15 DDC CLOCK Table B 2 COM1 Connector CN1 Descri...

Page 57: ...ctor CN5 Description D SUB CONN 25P 90D M Pin Signal Pin Signal 1 STROBE 14 ATUO FEED 2 PD0 15 ERROR 3 PD1 16 INT 4 PD2 17 SELECT IN 5 PD3 18 GND 6 PD4 19 GND 7 PD5 20 GND 8 PD6 21 GND 9 PD7 22 GND 10...

Page 58: ...one Jack 13P 90D F Pin Signal Pin Signal A1 GND A2 LINE IN R A3 NC A4 NC A5 LINE IN L B1 GND B2 LINE OUT R B3 NC B4 NC B5 LINE OUT L 12 GND C1 GND C2 MIN_IN2 C3 NC C4 NC C5 MIC_IN1 Table B 5 Keyboard...

Page 59: ...D F Pin Signal Pin Signal 1 LAN_V25 2 LAN_MDI0 3 LAN_MDI0 4 LAN_MDI1 5 LAN_MDI1 6 LAN_MDI2 7 LAN_MDI2 8 LAN_MDI3 9 LAN_MDI3 10 GND 11 LINK_LED 12 ACT_LED 13 LINK1000_LED 14 LINK100_LED 15 USB1_5V 16 U...

Page 60: ...N_MDI0 3 LAN_MDI0 4 LAN_MDI1 5 LAN_MDI1 6 LAN_MDI2 7 LAN_MDI2 8 LAN_MDI3 9 LAN_MDI3 10 GND 11 LINK_LED 12 ACT_LED 13 LINK1000_LED 14 LINK100_LED 15 USB1_5V 16 USBD1 17 USBD1 18 GND 19 USB2_5V 20 USBD2...

Page 61: ...51 Appx B B 9 CD IN Connector CN11 Table B 9 CD IN Connector CN11 Description WAFER BOX 2 54mm 4P 180DMALE Pin Signal 1 CDIN R 2 GND 3 GND 4 CDIN L 1 2 4 3...

Page 62: ...D 4 GND 5 VDDSAFE_ 3V 6 VDDSAFE_3V 7 VCON 8 GND 9 PD0 B0 10 PD1 B1 11 PD2 B2 12 PD3_B3 13 PD4 B4 14 PD5_B5 15 PD6 B6 16 PD7_B7 17 PD8_G0 18 PD9_G1 19 PD10_G2 20 PD11_G3 21 PD12_G4 22 PD13_G5 23 PD14_G...

Page 63: ...2 Description DF13 20DP 1 25mm Pin Signal Pin Signal 1 TMDS_C0 2 VCC_DVI 3 TMDS_C0 4 TMDS_CK 5 GND 6 TMDS_CK 7 TMDS_C1 8 GND 9 TMDS_C1 10 MDVI_CLK 11 GND 12 MDVI_DATA 13 TMDS_C2 14 HP_DET 15 TMDS_C2 1...

Page 64: ...nnector CN25 CN26 Description Pin HEADER 5 2 180D 2 54mm Pin Signal Pin Signal 1 USB VCC 2 USB VCC 3 DATA1 4 DATA2 5 DATA1 6 DATA2 7 USB GND 8 USB GND 9 USB GND 10 USB GND Table B 13 SIR Connector CN2...

Page 65: ...E_SDCS1 8 GND 9 GND 10 GND 11 GND 12 GND 13 VCC 14 GND 15 GND 16 GND 17 GND 18 IDE_SDA2 19 IDE_SDA1 20 IDE_SDA0 21 IDE_SDD0 22 IDE_SDD1 23 IDE_SDD2 24 NC 25 GND 26 NC 27 IDE_SDD11 28 IDE_SDD12 29 IDE_...

Page 66: ...6 IDE_PDD9 7 IDE_PDD5 8 IDE_PDD10 9 IDE_PDD4 10 IDE_PDD11 11 IDE_PDD3 12 IDE_PDD12 13 IDE_PDD2 14 IDE_PDD13 15 IDE_PDD1 16 IDE_PDD14 17 IDE_PDD0 18 IDE_PDD15 19 GND 20 NC 21 IDE_PDDREQ 22 GND 23 IDE_P...

Page 67: ...57 Appx B B 16 SM BUS Connector CN27 Table B 16 SM BUS Connector CN27 Description Wafer Box 4 Pin 2 0mm Pin Signal 1 GND 2 SMB DAT 3 SMB CLK 4 5V 3 3V 1 2 4 3...

Page 68: ...r 34 Pin 2 54mm Pin Signal Pin Signal 1 GND 2 DRVDENA 3 GND 4 NC 5 GND 6 NC 7 GND 8 INDEX 9 GND 10 MTR A 11 GND 12 DS B 13 GND 14 DS A 15 GND 16 MTR B 17 GND 18 DIR 19 GND 20 STEP 21 GND 22 WDATA 23 G...

Page 69: ...LOW ACTIVE Table B 18 COM2 Connector CN28 Description Box Header 14 Pin 2 0mm Pin Signal Pin Signal 1 NDCD 2 DSR 3 RX 4 RTS 5 TX 6 CTS 7 DTR 8 RI 9 GND 10 GND 11 TXD485P 12 TXD485N 13 RXD485P 14 RXD48...

Page 70: ...IVE Table B 19 COM3 6 Connector CN16 Description Box Header 20 Pin 2 0mm Pin Signal Pin Signal 1 DCD3 2 DSR3 3 RX3 4 RTS3 5 TX3 6 CTS3 7 DTR3 8 RI_3 9 GND 10 GND 11 DCD4 12 DSR4 13 RX4 14 RTS4 15 TX4...

Page 71: ...Pin Header 16 Pin 2 54mm Pin Signal Pin Signal 1 DIO IN0 2 5V 3 DIO_IN1 4 DIOOUT0 5 DIO_IN2 6 GND 7 DIO_IN3 8 DIOOUT1 9 GND 10 12V 11 NC 12 NC 13 DIO_OUT3 14 GND 15 DIO_OUT4 16 12V Table B 21 Front P...

Page 72: ...R for CF Type II 50P 90D M Pin Signal Pin Signal 1 GND 2 IDE_SDD3 3 IDE_SDD4 4 IDE_SDD5 5 IDE_SDD6 6 IDE_SDD7 7 IDE_SDCS1 8 GND 9 GND 10 GND 11 GND 12 GND 13 VCC 14 GND 15 GND 16 GND 17 GND 18 IDE_SDA...

Page 73: ...B 23 SATA Connector SATA1 2 3 4 Description DIP 7P 180D M 1 27mm Pin Signal Pin Signal 1 GND 5 SATA_RXN 2 SATA_TXP 6 SATA_RXP 3 SATA_TXN 7 GND 4 GND 8 NC Table B 24 ATX Power Connector ATX2 Descripti...

Page 74: ...AIMB 341 User Manual 64 LOW ACTIVE 6 5V 16 GND 7 GND 17 GND 8 PWROK 18 5V 9 5VSB 19 5V 10 12V 20 5V Table B 24 ATX Power Connector ATX2 Description Wafer ATX PWR 20 Pin Pin Signal Pin Signal...

Page 75: ...8 LVDS1_N0 9 LVDS0 P0 10 LVDS1_P0 11 GND 12 GND 13 LVDS0_N1 14 LVDS1_N1 15 LVDS0_P1 16 LVDS_P1 17 GND 18 GND 19 LVDS0_N2 20 LVDS1_N2 21 LVDS0_P2 22 LVDS_P2 23 GND 24 GND 25 LVDS0_CLKN 26 LVDS1_CLKN 27...

Page 76: ...AIMB 341 User Manual 66 B 26 CPU SYSTEM FAN Connector FAN1 FAN2 Table B 26 CPU SYSTEM FAN Control Connector FAN1 FAN2 Pin Signal 1 FAN_PWM CONTROL 2 12V 3 FAN DETECT 3 2 1...

Page 77: ...1 REV B9 PCICLK1 PRSNT 1 A10 VCC5V B10 PREQ 1 REV A11 GNT 2 REV B11 PCICLK2 PRSNT 2 A12 GND B12 GND A13 GND B13 GND A14 3VSB B14 PREQ 2 REV A15 RST B15 GND A16 VCC5V B16 PCICLK A17 GNT 0 B17 GND A18 G...

Page 78: ...C3V B45 AD14 A46 AD13 B46 GND A47 AD11 B47 AD12 A48 GND B48 AD10 A49 AD9 B49 GND A50 NC B50 NC A51 NC B51 NC A52 C BE 0 B52 AD8 A53 VCC3V B53 AD7 A54 AD6 B54 VCC3V A55 AD4 B55 AD5 A56 GND B56 AD3 A57...

Page 79: ...RSNT1 B1 12V A2 12V B2 12V A3 12V B3 RSVD A4 GND B4 GND A5 JTAG2 B5 SMB CLK A6 JTAG3 B6 SMB DATA A7 JTAG4 B7 GND A8 JTAG5 B8 3 3V A9 3 3V B9 JTAG1 A10 3 3V B10 3 3VAUX A11 PWRGD B11 WAKE A12 GND B12 R...

Page 80: ...AIMB 341 User Manual 70...

Page 81: ...71 Appx C C System Assignments Appendix...

Page 82: ...ed debug port 81 8F DMA Page Registers 90 91 available for system use 92 System Control 93 9F available for system use A0 A1H Slave Interrupt Controller C0 DF Slave DMA Controller E0 FF available for...

Page 83: ...GA BIOS B8000h BFFFFh CGA EGA VGA text B0000h B7FFFh Unused A0000h AFFFFh EGA VGA graphics 00000h 9FFFFh Base memory If Ethernet boot ROM is disabled Ethernet ROM occupies about 16 KB E0000 EFFFF is r...

Page 84: ...e IRQ 0 Interval timer IRQ 1 Keyboard IRQ 2 Interrupt from controller 2 cascade IRQ 3 COM2 IRQ 4 COM1 IRQ 5 COM4 IRQ 6 FDD IRQ 7 LPT1 IRQ 8 RTC IRQ 9 Reserved audio IRQ 10 COM3 IRQ 11 Reserved for wat...

Reviews: