Page 2
SMI is a trademark of Silicon Motion, Inc. Creative is a trademark of Creative Technology LTD. All other product names or trademarks are properties of their respective owners. For more information on this and other Advantech products, please visit our websites at: http://www.advantech.com http://www.advantech.com/epc For technical support and service, please visit our support website at: http://support.advantech.com...
Packing List Before you begin installing your card, please make sure that the following materials have been shipped: • 1 AIMB-340 all-in one single board computer • 1 CD-ROM or disks for utility, drivers, and manual (in PDF format) • 1 warranty certificate •...
Page 4
Additional Information and Assistance Step 1. Visit the Advantech web site at www.advantech.com where you can find the latest information about the product. Step 2. Contact your distributor, sales representative, or Advantech's cus- tomer service center for technical support if you need additional assistance.
Safety Instructions 1. Read these safety instructions carefully. 2. Keep this User's Manual for later reference. 3. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning. 4. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible.
Page 6
Typ. Entsorgung gebrauchter Batterien navh Angaben des Herstellers. Der arbeitsplatzbezogene Schalldruckpegel nach DIN 45 635 Teil 1000 beträgt 70dB(A) oder weiger. DISCLAIMER: This set of instructions is given according to IEC704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein. AIMB-340F User’s Manual...
Page 7
Caution! Danger of explosion if battery is incorrectly replaced. Replace only with the same or equiv- alent type recommended by the manufacturer. Dispose of used batteries according to the man- ufacturer’s instructions.
Page 15
General Information This chapter gives background infor- mation on the AIMB-340F. Sections include: • Sections include: • Introduction • Features • Specifications • Board layout and dimensions...
Pentium 4 series. This processor flexibility combined with all the other on-board features, explains why the AIMB-340F is the new top-of-the-line Industrial Motherboard solution at Advantech. The AIMB-340F is loaded with special on-board features that rival full- size systems.
1.2 Features • All-in-one design simplifies system integration and increases system stability • Socket 478 supports Celeron and Pentium® 4 processors, up to 3.06 (400/533 MHz PSB) and above. • 2 slot 184 pin non-ECC DDR SDRAM (200/266/333MHz DDR ) sup- ports up to 2 GB •...
1.3 Specifications Standard SBC functions ® • CPU: Socket 478 for Intel Celeron™/Pentium 4 processor • BIOS: Award 256 KB Flash memory • Chipset: Intel 82845GV and 82801 (ICH4) • System memory: Two non-ECC DDR SDRAM sockets accept 128 MB ~ 2 GB SDRAM •...
Page 19
• Ethernet interface: PCI 10/100 Mbps Ethernet. IEEE 802.3 U proto- col compatible • Connection: On-board RJ-45 connector • Built-in boot ROM Audio function • Chipset: Intel 82801DB • Audio controller: AC97 version 2.0 compliant interface • Audio interface: Microphone in, line in, CD audio in, line out, speaker L and Speaker R Mechanical and environmental •...
Page 23
Installation This chapter explains how to set up the AIMB-340F hardware, including instructions on setting jumpers and connecting peripherals, switches and indicators. Be sure to read all the safety precautions before you begin the instal- lation procedure.
Chapter 2 Installation 2.1 Jumpers The AIMB-340F has a number of jumpers that allow you to configure your system to suit your application. The table below lists the function of each of the board's jumpers Table 2.1: Table 2.1: Jumpers Host bus speed select jumper LVDS VDDSAFE Select jumper COM1~COM6 pin9 voltage output select...
Page 25
Table 2.2: Connectors CN15 Reserved for Watch-Dog programing CN16 Embedded USB CN17 Inverter Power Connector CN18 ATX Power connector CN19 DIO connector CN20 2nd IDE connector CN21 IrDA Connector CN22 Primary IDE connector CN23 Floppy connector CN24 ATX Power/Reset/LED connector CN25 COM3-COM6 connector CN26...
2.4 Setting Jumpers You configure your board to match the needs of your application by set- ting jumpers. A jumper is the simplest kind of electric switch. It consists of two metal pins and a small metal clip (often protected by a plastic cover) that slides over the pins to connect them.
2.5 CPU installation and upgrading You can upgrade to a higher power Pentium 4 processor at any time. Sim- ply remove the old CPU, install the new one, and the BIOS will auto detect the new CPU type and speed. Warning! Always disconnect the power cord from your chassis when you are working on it.
When the CPU is installed, the lever should snap into place at the side of the socket. Note: To remove a CPU, pull the lever out to the side a little and raise it 2.5.2 CMOS clear (SW2) Warning! To avoid damaging the computer, always unplug the power cord to turnoff the power supply before setting “Clear CMOS.”...
2.7 Primary (3.5") IDE connector (CN22) The 40-pin IDE connector supports up to two 40-pin IDE interface devices, including CD-ROM drives, tape-backup drives, HDDs, etc. When connecting, make sure pin 1 of the connector is matched with pin of the device's connector. The built-in Enhanced IDE (Integrated Device Electronics) controller supports up to two IDE devices, including CD-ROM drives, tape backup drives, a large hard disk drive and other IDE devices.
34-pin flat-cable connector (usually used for 3¾" drives) and a printed-circuit board connector (usually used for 5º" drives). 2.9.1 Connecting the floppy drive Use Advantech 9681000044 FDD adaper to connector with CN23 on the AIMB-340F Plug the 34-pin flat-cable connector into 968100044 FDD connec- tor.
2.10 LPT1 (primary parallel port) connectors (CN5) The primary parallel printer port is located at the rear edge of the board, and has a DB-25 connector. This printer port is typically used to connect a printer via an adapter cable. LPT1's IRQ setting is defined as IRQ7. You can select Normal/EPP/ECP for LPT1, and enable/disable it in BIOS (see Chapter 4).
2.14 Audio interfaces (CN4, CN10, CN11) The AIMB-340FA is equipped with a high quality audio interface, which provides 16-bit CD-quality recording and playback as well as OPL3 com- patible FM music. It is supported by all major operating systems and is 100% Sound Blaster Pro compatible.
2.18.3 LCD VDDSAFE setting (JP2) The AIMB-340F's AGP 4X interface supports 5 V and 3.3 V LCD dis- plays. By changing the setting of JP2, you can select the panel video sig- nal level to be 5 V or 3.3 V. Table 2.3: LCD power (JP2) Closed pins Result...
2.20 Watchdog timer configuration An onboard watchdog timer reduces the chance of disruptions which EMP (electro-magnetic pulse) interference can cause. This is an invalu- able protective device for standalone or unmanned applications. Setup involves one jumper and running the control software (refer to Appendix When the watchdog timer activates (CPU processing has come to a halt), it can reset the system.
Digital I/O Connector OUT2 + 12 2.22.1 Digital output programming Output is CMOS MOSFET (high drive) type, capable of handling 24 VDC / 1 A loading. It is meant to drive relays or a solenoid. Table 2.4: Digital output programming Output Address Out 1...
2.26 Watch Dog programer (CN15). CN15 is reserved for watch dog programming purpose. The pin definita- tion reference appendix, please. 2.27 PCI slot expension (PCI1 or PCI2) The location of PCI1 follow EmbeddedATX specification. And the loca- tion of PCI2 follow MicroATX 2nd PCI slot location. These two PCI slots can not function at the same time.
Chapter 3 Chipset Software Installation Utility 3.1 Before you begin To facilitate the installation of the enhanced display device drivers and utility software, you should read the instructions in this chapter carefully before you attempt installation. The device drivers for the AIMB-340 board are located on the software installation CD.
• Integrates superior video features. These include filtered sealing of 720 pixel DVD content, and MPEG-2 motion compensation for soft- ware DVD Note: This utility is used for the following versions of Windows system, and it has to be installed before installing all the other drivers: Windows 98SE Windows 2000...
Page 44
Click "Next" when you see the following message. Click "Yes" when you see the following message. AIMB-340 User’s Manual...
Page 45
Click "Next" when you see the following message. When the following message appears, click "Finish" to complete the installation and restart Windows. Chapter 3...
3.4 Connections for Standard LCDs Table 3.1: LCD connections LG LM150x60 AIMB-340 Pin No. Function Pin No. Function VDDSAFE VDDSAFE Rx0- LVDS_0N Rx0+ LVDS_0P Rx1- LVDS_1N Rx1+ LVDS_1P Rx2- LVDS_2N Rx2+ LVDS_2P RxC- LVDS_C1N RxC+ LVDS_C1P Rx3- LVDS_3N Rx3+ LVDS_3P AIMB-340 User’s Manual...
Page 47
Audio Setup The AIMB-340F is equipped with an audio interface that records and plays back CD-quality audio. This chapter provides instructions for installing the software driversincluded on the audio driver diskettes.
Chapter 4 Audio Setup 4.1 Introduction The AIMB-340F' on-board audio interface provides high-quality stereo sound and FM music synthesis (ESFM) by using the Realtek ALC202 Audio Codec from Realtek. The audio interface can record, compress, and play back voice, sound, and music with built-in mixer control. The AIMB-340F’s on board audio interface also supports the Plug and Play (PnP) standard and provides PnP configuration for the audio, FM, and MPU-104 logical devices.
Page 49
Step 1. Click "Start" and select "Settings". Click "Control Panel" and double-click Multimedia" icon and press " Reinstall Driver..." to do audio driver installation.. Chapter 4...
Page 50
Step 2. In the Hardware Update Wizard window, click "Next". Step 3. In the following Hardware Update Wizard window, click "Fin- ish" for Windows to complete audio driver installation. AIMB-340F User’s Manual...
Page 51
4.2.3 Windows NT drivers Step 1. Click "Start" and select "Settings". Click "Control Panel" and double-click "Multimedia". Step 2. In the Multimedia Properties window, select the "Devices" tab. Then select the "Audio Devices" item, and click "Add...". Chapter 4...
Page 52
Step 3. In the Add window, select the "Unlisted..." item and click "OK". Step 4. When the Install Driver window appears, insert the utility disc into the CD-ROM drive. Type: D:\AIMB\340\Audio\WinNT\ Then click "OK". D:\AIMB\340\Audio\WinNT\ AIMB-340F User’s Manual...
Page 53
Step 5. In the Add Unlisted or Updated Driver window, select the "Avance AC'97 Audio Driver" item. Then click "OK". Step 6. In the System Setting Change window, click "Restart Now". Chapter 4...
Chapter 5 Award BIOS Setup 5.1 Introduction Award’s BIOS ROM has a built-in setup program that allows users to modify the basic system configuration. This type of information is stored in battery-backed memory (CMOS RAM) so that it retains the setup information when the power is turned off.
5.2 Entering Setup Turn on the computer and check for the “patch code”. If there is a number assigned to the patch code, it means that the BIOS supports your CPU. If there is no number assigned to the patch code, please contact Advan- tech’s applications engineer to obtain an up-to-date patch code file.
5.3 Standard CMOS Setup Choose the “Standard CMOS Features” option from the “Initial Setup Screen” menu, and the screen below will be displayed. This menu allows users to configure system components such as date, time, hard disk drive, floppy drive, display, and memory. Figure 5.2: Standard CMOS features screen 5.4 Advanced BIOS Features The “Advanced BIOS Features”...
Figure 5.3: Advanced BIOS features screen 5.4.1 Virus Warning If enabled, a warning message and alarm beep activates if someone attempts to write here. The commands are “Enabled” or “Disabled.” 5.4.2 L1 & L2 Cache Enabling this feature speeds up memory access. The commands are “Enabled”...
Selection of the command “Disabled” will speed the boot up. Selection of “Enabled” searches disk drives during boot up. 5.4.7 Boot Up NumLock Status This feature selects the “power on” state for NumLock. The commands are “Enabled” or “Disabled.” 5.4.8 Gate A20 Option Normal: A pin in keyboard controller controls GateA20 Fast (Default):...
5.4.14 MPS Version Control For OS This reports if an FDD is available for Windows 95. The commands are “Yes” or “No.” 5.5 Integrated Peripherals 5.5.1 IDE Master/Slave PIO/UDMA Mode, IDE Primary (Secondary) Master/Slave PIO/UDMA Mode (Auto) Each channel (Primary and Secondary) has both a master and a slave, making four IDE devices possible.
5.5.3 USB Controller Select Enabled if your system contains a Universal Serial Bus (USB) con- troller and you have USB peripherals. The choices: Enabled, Disabled. 5.5.4 USB Keyboard/Mouse Support Select Enabled if user plan to use an USB keyboard. The choice: Enabled, Disable.
5.5.14 UR2 Duplex Mode This item allows you to select the IR half/full duplex funcion. The choices: Half, Full. 5.5.15 Onboard Parallel Port This field sets the address of the on-board parallel port connector. You can select either 3BCH/IRQ7, 378H/IRQ7, 278H/IRQ5 or Disabled. If you install an I/O card with a parallel port, make sure there is no conflict in the address assignments.
5.6 Power Management Setup The power management setup controls the CPU card’s “green” features to save power. The following screen shows the manufacturer’s defaults:: Figure 5.5: Power management setup screen 5.6.1 Power-Supply Type Choose AT or ATX power supply 5.6.2 ACPI function The choice: Enabled, Disabled.
User Defined Allows you to set each mode individually. When not dis- (Default) abled, each of the ranges are from 1 min. to 1 hr. except for HDD Power Down which ranges from 1 min. to 15 min. and disable. 5.6.4 Video Off In Suspend When system is in suspend, video will turn off.
When Enabled, the system will resume from suspend mode if Primary IDE 0 (1) or Secondary IDE 0 (1) is active. The choice: Enabled, Dis- abled. 5.6.13 FDD, COM, LPT PORT When Enabled, the system will resume from suspend mode if FDD, COM port, or LPT port is active.
The commands here are “Auto” or “Manual.” Choosing “manual” requires you to choose resources from each following sub-menu. “Auto” automatically configures all of the boot and Plug and Play devices but you must be using Windows 95 or above. 5.7.4 PCI/VGA Palette Snoop This is left at “Disabled.”...
5.9 Password Setting To change the password: Choose the “Set Password” option from the “Initial Setup Screen” menu and press <Enter>. The screen will display the following message: Please Enter Your Password Press <Enter>. If the CMOS is good or if this option has been used to change the default password, the user is asked for the password stored in the CMOS.
5.11 Exit Without Saving Selecting this option and pressing <Enter> lets you exit the setup program without recording any new values or changing old ones. Chapter 5...
Page 71
VGA Setup The AIMB-340F features an integrated VGA interface. This chapter provides instructions for installing the VGA drivers from the driver CD included in your package. Chapter 6...
Chapter 6 VGA Setup 6.1 Introduction As quoted from "Intel® 845GV chipset Graphics Chipset Controller Hub (GMCH) Rev. 1.0 May 2002.”: The Intel® 845GV Graphics Memory Controller Hub (the 845GV GMCH) is Intel’s first memory controller hub with integrated graphics for the Intel Pentium®...
The operating system views the integrated graphics driver as an applica- tion, which uses Direct AGP to request allocation of additional memory for 3D applications, and returns the memory to the operating system when no longer required. The Intel Extreme Graphics Driver determines the size of the pre-allo- cated memory needed and will make additional Non-Local Video Mem- ory requests to achieve the amount needed for the display and application requirement.
Page 74
Insert the driver CD into your system's CD-ROM drive. In a few seconds, the cd main menu appears. Move to "\\AIMB-340\VGA And click "win2k_xpm113" icon or "winnt4m113" icon. "win2k_xpm133" icon is for WIN9x, WIN2000, WINMe, WINXp and "winnt4m133" icon is for WINNT4.x operating system. installation procedure is for Windows 2000.
Page 75
Click "Yes" when you see the following message. Click on "Yes" to continue the installation Chapter 6...
Page 76
VGA driver is now installing When the following message appears, you can choose to restart the computer now or later. AIMB-340F User’s Manual...
6.3.1 Installation for Windows NT Note: Service Pack X (X = 3, 4, 5, 6,...) must be installed first, before you install the Windows NT VGA driver. Select "Start", "Settings", "Control Panel" and double click the "Display" icon. Chapter 6...
Page 78
Choose the "Settings" tab, and press the "Display Type" button. AIMB-340F User’s Manual...
Page 79
Press the "Change..." button. Click the "OK..." button. Chapter 6...
Page 80
Click "Next" to go next step. Click "Next" button. AIMB-340F User’s Manual...
Page 81
Press "Yes" to proceed. Press "Yes" to reboot. Chapter 6...
LAN Configuration • Introduction • Features • Installation of Ethernet Driver for - Windows 2000 Drivers Setup Steps - Windows NT Drivers Setup Steps -Windows Wake-on-LAN Setup Chapter 7...
Chapter 7 PCI Bus Ethernet Interface 7.1 Introduction The AIMB-340F is equipped with a high-performance 32-bit Ethernet chipset which is fully compliant with IEEE 802.3 100 Mbps CSMA/CD standards. It is supported by major network operating systems. It is also both 100Base-T and 10Base-T compatible.
7.3.1 Installation for Windows 2000 Note: The CD-ROM drive is designated as"D" throughout this section. Click "Setup" icon in path "D:\AIMB\340\LAN\" Chapter 7...
Page 86
Choose "Modify" item and click "Next" to go next step. Highlight "Drivers for wired Ethernet adapters" and click "Next". AIMB-340F User’s Manual...
Page 87
Click "Install" to begin the installation. Click "Finish" to exit the wizard. Chapter 7...
Page 88
Then the Installer will show the result after driver installed. AIMB-340F User’s Manual...
7.3.2 Installation for Windows NT 1. Select "Start", "Settings", "Control Panel" and double click "Network" icon. 2. Then this menu will show on the screen. And click "Yes" to install net- work driver. Chapter 7...
Page 90
3. Select "Wired to the network" and click "Next" 4. Click "Start Search" to searh a Network Adapter. Then click "Next" to go next step AIMB-340F User’s Manual...
Page 91
5. Base on current network environment to modify the Network Protocol then Click "Next" Chapter 7...
Page 92
6.Click "Next" to go to next step 7. Click "Next" to install Network Adapter driver. AIMB-340F User’s Manual...
Page 93
8. Check the Licemse Agreement first then select "I accept the terms in the license agreement" and click "Next". 9. Select "Typical" and Click "Next". Chapter 7...
Page 94
10. Click "Install" to start to install driver. 11. Click "Finish" to finish install driver. AIMB-340F User’s Manual...
Programming the Watchdog Timer The AIMB-340F is equipped with a watchdog timer that resets the CPU or generates an interrupt if processing comes to a standstill for whatever rea- son. This feature ensures system reli- ability in industrial standalone or unmanned environments.
Appendix A Programming the Watchdog Timer A.1 Programming the watchdog timer The following example shows how you might program the watchdog timer in assembly: Watch Dog: ;----------------------------------------------------------------------------------- ; Enter the extended function mode ,interruptible double-write | ;----------------------------------------------------------------------------------- MOV DX,2EH MOV AL,87H OUT DX,AL OUT DX,AL ;-----------------------------------------------------------------------------...
Page 99
MOV DX,2EH MOV AL,F5H ; Setting counter unit is second OUT DX,AL MOV DX,2FH MOV AL,00H OUT DX,AL MOV DX,2EH MOV AL,F6H OUT DX,AL MOV DX,2FH MOV AL,05H ; Set 5 seconds OUT DX,AL ;------------------------------------------ ; Exit extended function mode | ;------------------------------------------ MOV DX,2EH MOV AL,AAH...
Appendix B Sample Code of GPIO pro- gramming GPIO output ;----------------------------------------------------------------------------------- ; Enter the extended function mode ,interruptible double-write ;----------------------------------------------------------------------------------- MOV DX,2EH MOV AL,87H OUT DX,AL OUT DX,AL ;--------------------------------------------------------------------------------------- ----------------------- ; Configurate logical device 7(GP10~GP17), configuration register CRF0,CRF1,CRF2 ;--------------------------------------------------------------------------------------- ----------------------- MOV DX,2EH MOV AL,07H ;...
Page 103
OUT DX,AL MOV DX,2FH MOV AL,00H ;Set GPIO is normal not inverter OUT DX,AL MOV DX,2EH MOV AL,F1H OUT DX,AL MOV DX,2FH MOV AL,??H ; Put the output value into AL OUT DX,AL ;------------------------------------------ ; Exit extended function mode | ;------------------------------------------ MOV DX,2EH MOV AL,AAH...
Table C.1: Connectors FAN 1 CPU FAN FAN2 System FAN PCI1 PCI Slot-1 PCI2 PCI Slot-2 (optional) AGP Slot (optional) Clear CMOS switch C.2 CN1 VGA D-TYPE 15 Pins connector signal signal SMB DATA HSYNC VSYNC SMB CLK C.3 CN2 COM1 D-TYPE 9 Pins connect signal signal RI &...
C.4 CN3 S-Video output (4 Pin 2.0mm wafer box) signal pin 1 pin 2 pin 3 pin 4 C.5 CN4 Audio connector Pink MIC input Lime Line out Blue Line in C.6 CN25 LPT1 D-TYPE 25 Pin connector signal signal INIT SLIN BUSY...
C.12 CN15 Reserved to program the Watch-dog signal Pin-1 +3.3V Pin-2 Pin-3 Pin-4 Pin-5 Pin-6 C.13 CN16 Embedded USB (9x2,2.54 mm Pin-header) signal signal Pin-1 Pin-2 Pin-3 Pin-4 Pin-5 Pin-6 Pin-7 USB4_D- Pin-8 USB5_D- Pin-9 USB4_D+ Pin-10 USB5_D+ Pin-11 Pin-12 Pin-13 Pin-14t Over Current#...
C.25 FAN1 CPU FAN (3x1,2.54 mm Molex) signal Pin-1 Speed detect Pin-2 +12V Pin-3 C.26 FAN2 System FAN (3x1,2.54 mm Molex) signal Pin-1 Speed detect Pin-2 +12V Pin-3 C.27 JP1 Host bus speed sel.(3x1,2.0 mm Pin-header) signal Pin-1 BSEL0 Pin-2 BSEL Pin-3 Pin-1,2 short...