Aaeon TKS-G21-CV05 Manual

Manual is about: Embedded Box Intel Atom D2700 2.13 GHz \ Processor 2 GbE LAN, 4 USB2.0, 6 COM, 1 VGA 1 Mini PCIe, 1 CFast?

Summary of TKS-G21-CV05

  • Page 1

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 tks-g21-cv05 fanless embedded box intel ® atom™ d2700 2.13 ghz processor 2 gbe lan, 4 usb2.0, 6 com, 1 vga 1 mini pcie, 1 cfast tks-g21-cv05 manual 1 st ed. March 2012.

  • Page 2

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 i copyright notice this document is copyrighted, 2012. All rights are reserved. The original manufacturer reserves the right to make improvements to the products described in this manual at any time without notice. No part of this manual may be reproduce...

  • Page 3

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 ii acknowledgments all other products’ name or trademarks are properties of their respective owners. Ami is a trademark of american megatrends inc. Compactflash ™ is a trademark of the compact flash association. Microsoft windows ® is a registered tradem...

  • Page 4

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 iii packing list before you begin operating your pc, please make sure that the following materials are enclosed: 1 tks-g21-cv05 embedded controller 1 cd-rom for manual (in pdf format) and drivers if any of these items should be missing or damaged, please...

  • Page 5

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 iv safety & warranty 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. Do not use liquid or spray detergents for cleaning. Use a damp cloth. 4. Fo...

  • Page 6

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 v d. The equipment does not work well, or you cannot get it to work according to the user’s manual. E. The equipment has been dropped and damaged. F. The equipment has obvious signs of breakage. 15. Do not leave this equipment in an environment where the...

  • Page 7

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 vi below table for china rohs requirements 产品中有毒有害物质或元素名称及含量 aaeon boxer/ industrial system 有毒有害物质或元素 部件名称 铅 (pb) 汞 (hg) 镉 (cd) 六价铬 (cr(vi)) 多溴联苯 (pbb) 多溴二苯醚 (pbde) 印刷电路板 及其电子组件 × ○ ○ ○ ○ ○ 外部信号 连接器及线材 × ○ ○ ○ ○ ○ 外壳 × ○ ○ ○ ○ ○ 中央处理器 与内存 × ○ ○ ○ ○ ○ 硬盘 ...

  • Page 8

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 vii contents chapter 1 general information 1.1 introduction................................................................ 1-2 1.2 features .................................................................... 1-3 1.3 specifications ........................

  • Page 9

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 viii appendix a programming the watchdog timer a.1 programming ........................................................A-2 a.2 ite8783 watchdog timer initial program..............A-6 appendix b i/o information b.1 i/o address map ...........................

  • Page 10: General

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 1 general information 1- 1 general chapter 1 information.

  • Page 11

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 1 general information 1- 2 1.1 introduction the newest embox series tks-g21-cv05 has been introduced by aaeon and it utilizes intel ® atom™ processor. In this era of information explosion, the advertising of consumer products will not be confined...

  • Page 12

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 1 general information 1- 3 1.2 features intel ® atom tm d2700 2.13 ghz processor ddr3 1066 sodimm x 1, up to 4 gb crt (vga) single view realtek alc 662 codec for 2ch hd audio gigabit ethernet x 2 2.5” sata hard disk drive bay x 1 usb2.0 x 4, com ...

  • Page 13

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 1 general information 1- 4 1.3 specifications cpu onboard intel ® atom™ d2700 processor up to 2.13 ghz chipset intel ® atom™ d2700 + nm10 system memory 204-pin ddr3 sodimm x 1, max. 4 gb (ddr3 1066) display interface vga d-sub 15 x 1 ssd cfast™ x...

  • Page 14

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 1 general information 1- 5 mounting desktop or wallmount (optional) operating temperature 32°f ~ 122°f (0°c ~ 50°c) storage temperature -40°f ~ 176°f (-40°c ~ 80°c) anti-vibration 0.5g rms/ 5 ~ 500hz/ random operation (cfast ); 1 g rms/ 5 ~ 500hz...

  • Page 15: Quick

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 1 quick installation chapter 2 guide.

  • Page 16

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 2 2.1 dimension and i/o of tks-g21-cv05 front side back side.

  • Page 17

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 3 2.2 location of connectors and jumpers of the main board component side.

  • Page 18

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 4 solder side.

  • Page 19

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 5 2.3 list of jumpers the board has a number of jumpers that allow you to configure your system to suit your application. The table below shows the function of each of the board's jumpers: label function jp1 auto po...

  • Page 20

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 6 cn28 2 nd rj-45 ethernet cn29 1 st rj-45 ethernet cn30 usb port #1 and #2 cn31 audio line in/out and mic cn32 crt/dvi (configured by manufacturing) cn33 com port #1 cfd1 cfast pcie1 mini card/msata (configured by ...

  • Page 21

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 7 2.5 com port #2 rs-232/422/485 selection (cn19) com2 rs-232/422/485 selection for aaeon tks series is set in bios setting as following: entering bios setting menu: choose "integrated peripherals super io device co...

  • Page 22

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 8 5 txd+ 6 n/c 7 rxd- 8 n/c / +5 volt. / (+12 volt.) 9 ground 10 n/c rs-485 mode pin signal pin signal 1 txd- 2 n/c 3 n/c 4 n/c 5 txd+ 6 n/c 7 n/c 8 n/c / +5 volt. / (+12 volt.) 9 ground 10 n/c note: issue: com port...

  • Page 23

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 9 2.6 digital i/o connector (cn7) note: the max. Rating of pin 1 ~ pin 8 is 3.3v@8ma the max. Rating of pin 9 is 3.3v@0.5a this connector offers 4-pair of digital i/o functions. Bios using the i2c bus to read/write ...

  • Page 24

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 10 2.7 hard disk installation step 1: unfasten the screws on the top of the heat-sink and you will see the inside of the system..

  • Page 25

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 11 step 2: fasten the four hdd screws and black damper, and then you can put the hdd on the opposite side for screwing it up..

  • Page 26

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 12 step 3: putting the hdd with the hdd bracket in by 45 degree height and make sure the bracket holes are matched with the chassis stand. Step 4: screwing the hdd bracket up and connecting the hdd cables with the m...

  • Page 27

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 13 step 5: putting the chassis heat-sink on the top and fastening the screws up..

  • Page 28

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 14 2.8 accessory installation step 1: unfasten the 5 screws where is on the bottom of the box. Step 2: you can see the inside placement of ram, cfast card, pcie slot for you installation. Ram cfast card pcie slot.

  • Page 29

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 15 step 2-1: locate the memory module, insert the gold colored contact into the socket. Push the module down, until it is firmly seated by locking two latches on the sides. Step 2-2: locate the mini card module, ins...

  • Page 30

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 16 step 2-3: insert the compact-fast card into the socket until t is firmly seated, and then put the card bracket and screws it up..

  • Page 31

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 2 quick installation guide 2 - 17 2.9 wallmount kit installation get the brackets ready and fasten appropriate four screws on each bracket. After fastening the two brackets on the bottom lid of, the wall mount kits installation has been finished..

  • Page 32: Ami

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 3 ami bios setup 3-1 ami chapter 3 bios setup.

  • Page 33

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 3.1 system test and initialization these routines test and initialize board hardware. If the routines encounter an error during the tests, you will either hear a few short beeps or see an error message on the screen. There are two kinds of errors: fatal ...

  • Page 34

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 3.2 ami bios setup ami 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 cmos ram so that it retains the setup information when the power is turned off. ...

  • Page 35

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 3 ami bios setup 3-4 2. If the " control lvds2 (ch7511) " has been set " enable, " and then, the screen can be switched to lvds2 under the os. 3. This model does not support lvds2 output under dos mode. So if it is a dual lvds application, users ...

  • Page 36: Driver

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 4 driver installation 4 - 1 driver chapter 4 installation.

  • Page 37

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 4 driver installation 4 - 2 the tks-g21-cv05 comes with a cd-rom that contains all drivers and utilities that meet your needs. Follow the sequence below to install the drivers: step 1 – install chipset driver step 2 – install vga driver step 3 – ...

  • Page 38

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 4 driver installation 4 - 3 4.1 installation: insert the tks-g21-cv05 cd-rom into the cd-rom drive. And install the drivers from step 1 to step 6 in order. Step 1 – install chipset driver 1. Click on the step1-chipset folder and double click on t...

  • Page 39

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 chapter 4 driver installation 4 - 4 step 5 – install ahci driver please refer to the appendix c ahci setting step 6 – install wireless lan driver (optional) 1. Click on the step6-wireless lan folder and select the folder of wlan 2. Select the folder of i...

  • Page 40: Programming The

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-1 programming the appendix a watchdog timer.

  • Page 41

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-2 a.1 programming tks-g21-cv05 utilizes ite 8783 chipset as its watchdog timer controller. Below are the procedures to complete its configuration and the aaeon initial watchdog timer program is also attached ba...

  • Page 42

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-3 there are three steps to complete the configuration setup: (1) enter the mb pnp mode; (2) modify the data of configuration registers; (3) exit the mb pnp mode. Undesired result may occur if the mb pnp mode is...

  • Page 43

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-4 watchdog timer configuration registers configure control (index=02h) this register is write only. Its values are not sticky; that is to say, a hardware reset will automatically clear the bits, and does not re...

  • Page 44

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-5 watch dog timer 1, 2, 3 configuration register (index=72h, 82h, 92h default=001s0000b) watch dog timer 1,2,3 time-out value (lsb) register (index=73h,83h,93h, default=38h) watch dog timer 1,2,3 time-out value...

  • Page 45

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-6 a.2 ite8783 watchdog timer initial program .Model small .Code main: call enter_configuration_mode call check_chip mov cl, 7 call set_logic_device ;time setting mov cl, 10 ; 10 sec dec al watch_dog_setting: ;t...

  • Page 46

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-7 call superio_set_reg ; game port enable mov cl, 9 call set_logic_device initial_ok: call exit_configuration_mode mov ah,4ch int 21h enter_configuration_mode proc near mov si,word ptr cs:[offset cfg_port] mov ...

  • Page 47

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-8 call write_configuration_data ret exit_configuration_mode endp check_chip proc near mov al,20h call read_configuration_data cmp al,87h jne not_initial mov al,21h call read_configuration_data cmp al,81h jne no...

  • Page 48

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-9 out dx,al mov dx,word ptr cs:[cfg_port+06h] in al,dx ret read_configuration_data endp write_configuration_data proc near mov dx,word ptr cs:[cfg_port+04h] out dx,al xchg al,ah mov dx,word ptr cs:[cfg_port+06h...

  • Page 49

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix a programming the watchdog timer a-10 set_logic_device proc near push ax push cx xchg al,cl mov cl,07h call superio_set_reg pop cx pop ax ret set_logic_device endp ;select 02eh->index port, 02fh->data port cfg_port db 087h,001h,055h,055h dw 02eh...

  • Page 50: I/o Information

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix b i/o information b - 1 i/o information appendix b.

  • Page 51

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix b i/o information b - 2 b.1 i/o address map.

  • Page 52

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix b i/o information b - 3.

  • Page 53

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix b i/o information b - 4 b.2 1 st mb memory address map.

  • Page 54

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix b i/o information b - 5 b.3 irq mapping chart.

  • Page 55

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix b i/o information b - 6 b.4 dma channel assignments.

  • Page 56: Ahci Setting

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix c ahci setting c - 1 ahci setting a ppendix c.

  • Page 57

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix c ahci setting c-2 c.1 setting ahci os installation to setup ahci mode. Step 1: copy the files below from “driver cd -> step5-ahci\win7_32\f6 install floppy create for 32 and 64 bit windows” to disk step 2: connect the usb floppy to the board.

  • Page 58

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix c ahci setting c-3 step 3: setup os step 4: press “ f6 ”.

  • Page 59

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix c ahci setting c-4 step 5: choose “ s ” tep 6: choose “ intel(r) nm10 express chipset ” s.

  • Page 60

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix c ahci setting c-5 step 7: it will show the model number you select and then press “ enter step 8: setup is loading files.

  • Page 61: Digital I/o

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix d digital i/o d-1 digital i/o a ppendix d.

  • Page 62

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix d digital i/o d-2 d.1 digital i/o the f75111 provides one serial access interface, i2c bus, to read/write internal registers. The address of serial bus is 0x6e (0110_1110) the related register for configuring dio is list as follows: configuratio...

  • Page 63

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix d digital i/o d-3 gpio2x output control register-index 20h power-on default [7:0]=0000_0000b bit name r/w pwr description 7 gp27_oct rl r/w vsb3v gpio 27 output control. Set to 1 for output function. Set to 0 for input function (default). 6 gp26...

  • Page 64

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix d digital i/o d-4 4 gp24_oda ta r/w vsb3v gpio 24 output data. 3 gp23_oda ta r/w vsb3v gpio 23 output data. 2 gp22_oda ta r/w vsb3v gpio 22 output data. 1 gp21_oda ta r/w vsb3v gpio 21 output data. 0 gp20_oda ta r/w vsb3v gpio 20 output data. Gp...

  • Page 65

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix d digital i/o d-5 begin: mov cl,01h mov al,80h call ct_i2cwritebyte call delay5ms mov al,00h mov cl,20h call ct_i2cwritebyte mov cl,22h call ct_i2creadbyte ;input : cl - register index ; ch - device id ;output : al - value read ct_i2creadbyte pr...

  • Page 66

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix d digital i/o d-6 call delay5ms mov dx, 0f000h + 04h ; transmit slave address register inc ch ; set the slave address and mov al, ch ; prepare for a read command out dx, al mov dx, 0f000h + 03h ; host command register mov al, cl ; offset to read...

  • Page 67

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix d digital i/o d-7 ct_i2creadbyte endp ;input : cl - register index ; ch - device id ; al - value to write ;output: none ct_i2cwritebyte proc near mov ch,06eh xchg ah, al mov dx, 0f000h + 00h ; host control register mov al, 0ffh ; clear previous ...

  • Page 68

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix d digital i/o d-8 out dx, al mov dx, 0f000h + 05h mov al, ah out dx, al mov dx, 0f000h + 00h ; host control register mov al, 48h ; start a byte access out dx, al call ct_chk_smbus_ready ret ct_i2cwritebyte endp ; wait until the busy bit clears, ...

  • Page 69

    E m b e d d e d b o x t k s - g 2 1 - c v 0 5 appendix d digital i/o d-9 out dx,al ;clear status call delay5ms test al, 02h ;termination of command ? Jnz short clear_final and al, not 40h ;mask inuse bit or al,al ;status ok ? Jz short clear_final test al,04h ;device error jnz short smbus_err loop sh...