background image

AR-B5292 User

‟s Manual 

 

AR-B5292 PCI I/O board with discrete I/O, battery backup SRAM,

 

1/99 

Timer, power off intrusion event logger and Protect-U 

 
 

 

 
 
 
 
 
 
 
 
 
 

AR-B5292 Gaming Board 

PCI I/O Board with discrete I/O, battery backup SRAM, 

Timer, power-off intrusion Event Logger and Protect-U 

 

 

 
 
 
 
 
 
 
 

Edition

: 1.1 

Book Number: AR-B5292-09.04.06

Содержание AR-B5292

Страница 1: ...rete I O battery backup SRAM 1 99 Timer power off intrusion event logger and Protect U AR B5292 Gaming Board PCI I O Board with discrete I O battery backup SRAM Timer power off intrusion Event Logger...

Страница 2: ...2 99 Document History Version Date Description 1 0 2007 08 10 Initial release 1 1 2009 04 06 1 Notice for Rechargeable battery P 99 Please charge the battery 24hrs firstly before using 2 Modify Audio...

Страница 3: ...ibility of such damages This document contains proprietary information protected by copyright All rights are reserved No part of this Manual may be reproduced by any mechanical electronic or other mea...

Страница 4: ...SETUP 23 3 6 BOOT SETUP 24 3 7 EXIT SETUP 25 4 AGC REGISTER DESCRIPTION 27 4 1 PCI CONFIGURATION REGISTER 27 4 2 SRAM MEMORY ADDRESS MAP 31 4 3 I O INTERFACE ADDRESS MAP 32 5 AGC DRIVER AND LIBRARY 4...

Страница 5: ...ler General Gaming interface JAMMA interface SRAM controller and Timer are controlled by AGC AGA is a Micro Controller Security Power monitor Random number generator are controller by AGA 1 1 Specific...

Страница 6: ...r s Manual 6 99 1 2 What You Have Before you begin to install your AR B5292 board please make sure that the following items are inside the AR B5292 package The quick manual 1 AR B5292 board 1 Software...

Страница 7: ...OM1 COM3 COM4 Or ccTalk1 ccTalk2 GPIO CPU North Bridge Dual Channel DDR2 CRT LVDS Dual SRAM CF HD 2 SATA KB MS 6 USB PC I DMI FSB LPC AGC Serial Poart 1 iButtoon 2 Second RTC 3 PTU 4 intrusion logger...

Страница 8: ...5292 At first it shows the Function diagram and the layout of AR B5292 It then describes the unpacking information which you should be careful with as well as the jumper switch settings for the AR B52...

Страница 9: ...1 SATA2 Standard 7 pin SATA connector optional ICH6 M I O Controller Hub 6 M CN2 CR2032 Size Coin Battery U52 iButton 20 PINs Golden Fingers Work with 72 Pins Golden Fingers USB 1 2 USB and 1 RJ 45 fo...

Страница 10: ...AR B5292 User s Manual 10 99 Standard Connectors Bottom Side Acrosser s Own Connectors and Jumper Switch Settings...

Страница 11: ...SW4 Front side bus clock strapping JP18 JP17 CCtalk input voltage VGA1 SDVO CRT J3 optional Spare user defined GPIOs optional LED1 LED for Power HD and PS_ON SW5 SW6 Pin header for switching to ccTal...

Страница 12: ...RT Display output 2 CN1 can connect to an LCD panel s inverter to light on the LCD Panel 3 JP1 can set the LCDVCC power 3V or 5V on LVDS1 4 LVDS1 is a DF 13 connector for the connection with the LVDS...

Страница 13: ...GND LED1 LED for Power HD and PS_ON R G Y LED SIGNAL RED PS ON GREEN Hard Disk YELLOW Power SW5 SW6 Pin header for switching to ccTalk or RS232 ports PIN Setting 3 5 close 4 6 close For ccTalk 1 3 cl...

Страница 14: ...ING 1 2 close Supply RTC power 2 3 close RTC Reset USB2 USB3 Pin header for 4 USB ports PIN SIGNAL PIN SIGNAL 1 5V 2 5V 3 USB0 4 USB1 5 USB0 6 USB1 7 GND 8 GND 9 GND 10 GND AUDIO1 Audio output connect...

Страница 15: ...ial Port for ccTalk 4 3 2 1 PIN SIGNAL 1 5V 2 NC 3 COM 4 DATA JP7 Enable UDMA66 100 PIN SETTING Open Disable UDMA66 100 Close Enable UDMA66 100 SW1 CPU Clock Strapping Refer to SW3 for Front Side Bus...

Страница 16: ...without Amplifier STATUS SETTING 1 3 close 2 4 close Audio Out with Amplifier 3 5 close 4 6 close Audio Out without Amplifier PWRIN1 12V and 5V Power In connector PIN SIGNAL 1 5V 2 GND 3 12V 4 GND SW4...

Страница 17: ...AR B5292 User s Manual 17 99...

Страница 18: ...and explains how to perform common tasks needed to get up and running It also gives detailed explanation of the elements found in each of the BIOS menus The following topics are covered Main Setup Adv...

Страница 19: ...he F1 key and it will display the relevant information Option Choice Description Date Setup N A Set the system date Note that the Day automatically changes when you set the date Time Setup N A Set the...

Страница 20: ...ve add in BIOS USB Keyboard Support Enabled Disabled Select Enabled if your system contains a Universal Serial Bus USB controller and you have a USB keyboard On Chip Frame Buffer Size 1Mb 8Mb This Ite...

Страница 21: ...can not boot Resources Controlled By Auto ESCD Manual The Award Plug and Play BIOS has the capacity to automatically configure all of the boot and Plug and Play compatible devices However this capabi...

Страница 22: ...Disabled Select Enabled if your system contains a Universal Serial Bus USB controller and you have USB peripherals USB 2 0 Controller Enabled Disabled Select Enabled if your system contains a Universa...

Страница 23: ...AR B5292 User s Manual 23 99 3 5 PC Health Setup This section shows the parameters in determining the PC Health Status These parameters include temperatures fan speeds and voltages...

Страница 24: ...d Disk CDROM USB FDD USB CDROM LAN Disabled The BIOS attempts to load the operating system from the devices in the sequence selected in these items LAN Boot Select Enabled Disabled These fields allow...

Страница 25: ...m you get a confirmation dialog box with a message like this Load Optimized Defaults Y N N Press Y to load the default values that are factory set for optimal performance system operations Exit Withou...

Страница 26: ...ou will be asked to confirm the password Type the password again and press Enter You may also press Esc to abort the selection and not enter a password To disable a password just press Enter when you...

Страница 27: ...ed Configuration Registers Yes Yes 18h PCI Base Address 2 Not Supported No No 1Ch PCI Base Address 3 Not Supported No No 20h PCI Base Address 4 Not Supported No No 24h PCI Base Address 5 Not Supported...

Страница 28: ...0 26 25 DEVSEL Timing Value of 01 is Slow Yes No 10 27 Target Abort 1 if Device has Signal Target Abort Yes Yes 0 28 Received Target Abort Not Supported Yes No 0 29 Received Master Abort Not Supporte...

Страница 29: ...ce Value of 1 indicates register maps into I O space Yes No 0 2 1 Location of register 00 Locate anywhere in 32 bit memory address space 01 Locate below 1 MB memory address space 10 Locate anywhere in...

Страница 30: ...Writable Value after Reset 31 0 Cardbus Information Structure Pointer for PCMCIA Not Supported Yes No 0 Subsystem Vendor ID Registers 2Ch Bit Field Description Software Readable Software Writable Val...

Страница 31: ...h Bit Field Description Software Readable Software Writable Value after Reset 31 24 Max Lat Specifies how often the device must gain access to PCI bus Value is a multiple of 1 4 s increments Not Suppo...

Страница 32: ...Data Yes Yes 30h Reserved Port G Data Yes Yes 34h Reserved Port H Data Yes Yes 38h Reserved Port IJKL Mode Yes Yes 3Ch Reserved Port I Data Yes Yes 40h Reserved Port J Data Yes Yes 44h Reserved Port...

Страница 33: ...Input 1 Support Interrupt from Port E as Input Yes Yes 0 5 Port F Interrupt Enable bit 0 No support Interrupt from Port F as Input 1 Support Interrupt from Port F as Input Yes Yes 0 6 Port G Interrup...

Страница 34: ...Input Yes No 0 7 Interrupt Status in Port H 0 No Interrupt 1 Interrupt active To clear this bit must be wrote any data to Port H as Input Yes No 0 8 Interrupt Status in Port I 0 No Interrupt 1 Interru...

Страница 35: ...Yes Yes 0 7 4 Reserved Yes No 0 Port A Data 14h Bit Field Description Software Readable Software Writable Value after Reset 0 Bit 1 of Port A Yes Only to clear Interrupt 0 1 1 Bit 2 of Port A Yes Onl...

Страница 36: ...t Mode 0 1 1 Bit 2 of Port C Yes Yes only in Output Mode 0 1 2 Bit 3 of Port C Yes Yes only in Output Mode 0 1 3 Bit 4 of Port C Yes Yes only in Output Mode 0 1 4 Bit 5 of Port C Yes Yes only in Outpu...

Страница 37: ...e 0 1 5 Bit 6 of Port E Yes Yes only in Output Mode 0 1 6 Bit 7 of Port E Yes Yes only in Output Mode 0 1 7 Bit 8 of Port E Yes Yes only in Output Mode 0 1 Port F Data 2Ch Bit Field Description Softwa...

Страница 38: ...nly in Output Mode 0 1 2 Bit 3 of Port H Yes Yes only in Output Mode 0 1 3 Bit 4 of Port H Yes Yes only in Output Mode 0 1 4 Bit 5 of Port H Yes Yes only in Output Mode 0 1 5 Bit 6 of Port H Yes Yes o...

Страница 39: ...t Mode 0 1 1 Bit 2 of Port J Yes Yes only in Output Mode 0 1 2 Bit 3 of Port J Yes Yes only in Output Mode 0 1 3 Bit 4 of Port J Yes Yes only in Output Mode 0 1 4 Bit 5 of Port J Yes Yes only in Outpu...

Страница 40: ...5535 mS If this register is written the Timer B will count down and if 0 state is reached it will generate an interrupt Yes Yes only if Timer B is enabled 0 Timer C Register 54h 55h Bit Field Descript...

Страница 41: ...API Library The Library is provided to support Protect U Intrusion Logger and Real Time Clock Utility For convenient use of AR B5292 we have provided some sample codes for controlling AR B5292 throug...

Страница 42: ...ROM device and execute the Sutup exe program The InstallShield Wizard box will appear click Next to continue STEP2 Enter your information in User Name and Organization and then choose the Only for me...

Страница 43: ...ft Windows 2000 SP4 Coding Environment Microsoft Visual C 6 0 Installation setup InstallShield X 5 1 3 Windows AGC API Library 1 Programming Guide 1 1 Naming Convention 1 2 Data Types We have defined...

Страница 44: ...ment i16 CarNum PortNum BankNum TimerNum u16 IntrEnValue IntrPortSrc TimerValue u32 MemBaseAddr IoBaseAddr MemOffset byte PortType PortData MemValue char InputPortNum InputTimerNum int Cmd 2 W2K_Regis...

Страница 45: ...AR B5292 4 2 Syntax C C Windows XP 2000 W2K_GetIOBaseAddr CardNum IoBaseAddr 4 3 Argument CardNum The card number of AR B5292 card initialized IoBaseAddr the I O base address of AR B5292 5 W2K_GetMemB...

Страница 46: ...d the data of each port 8 2 Syntax C C Windows XP 2000 W2K_ReadPort CardNum PortNum PortData 8 3 Argument CardNum The number of AR B5292 card initialized PortNum Port number from A to L PortData The d...

Страница 47: ...s function is used to write memory byte 13 2 Syntax C C Windows XP 2000 WriteMemByte CardNum MemOffset MemValue 13 3 Argument CardNum The card number of AR B5292 card initialized MemOffset Memory offs...

Страница 48: ...ue 16 W2K_SetTimerReg 17 1 Description This function is used to set timer register 17 2 Syntax C C Windows XP 2000 W2K_SetTimerReg CardNum TimerNum TimerValue 17 3 Argument CardNum The card number of...

Страница 49: ...ple code of test program include stdafx h include stdio h include conio h int main int argc char argv i16 CardNum u32 MemBaseAddr u32 IoBaseAddr char InputPortNum i16 PortNum byte PortType byte PortDa...

Страница 50: ...o MAIN_END case 1 ifndef SALF_VERSION printf Please Input Base Address scanf x IoBaseAddr W2K_SetIOBaseAddr CardNum IoBaseAddr Sleep 100 W2K_GetIOBaseAddr CardNum IoBaseAddr printf Now I O Base Addres...

Страница 51: ...PortNum L printf c InputPortNum PortNum InputPortNum A printf n Please Input Port Data scanf x PortType W2K_WritePort CardNum PortNum PortData else printf n break case 6 printf Please Input Memory Ban...

Страница 52: ...ntf Please Timer Number InputTimerNum getch InputTimerNum char toupper InputTimerNum if InputTimerNum A InputTimerNum D printf c InputTimerNum TimerNum InputTimerNum A printf n Please Input Timer Valu...

Страница 53: ...nstalled into folder usr local acrosser UnInstall Driver and Libraries To uninstall all packages for AR B5292 we can use RPM command like example RPM e acrosser_arb5290_linux and all files installed i...

Страница 54: ...s these data types and their ranges Table 1 Data Type Definition Type Name Description Range i16 signed integer 16 bit 32 768 to 32 768 u16 unsigned integer 16 bit 0 to 65 535 u32 unsigned long intege...

Страница 55: ...mber of AR B5292 card initialized 4 LNX_GetIOBaseAddr 4 1 Description This function is used to get the I O base address of AR B5292 4 2 Syntax C C Linux GCC LNX_GetIOBaseAddr CardNum IoBaseAddr 4 3 Ar...

Страница 56: ...base address 8 LNX_SetPortType 8 1 Description This function is used to set the port type as INPUT or OUTPUT 8 2 Syntax C C Linux GCC LNX_SetPortType CardNum PortNum PortType 8 3 Argument CardNum The...

Страница 57: ...1 Description This function is used to switch memory bank 11 2 Syntax C C Linux GCC LNX_SwitchMemBank CardNum BankNum 11 3 Argument CardNum The number of AR B5292 card initialized BankNum Bank Number...

Страница 58: ...IntrEnValue 14 3 Argument CardNum The card number of AR B5292 card initialized IntrEnValue Interrupt enable value 15 LNX_GetInterruptEnableReg 15 1 Description This function is used to get interrupt e...

Страница 59: ...C C Linux GCC LNX_GetDipSwitch1 CardNum DipSwitchValue 19 3 Argument CardNum The card number of AR B5292 card initialized DipSwitchValue Dip Switch1 Value 19 LNX_GetDipSwitch2 20 1 Description This f...

Страница 60: ...printf IO Base Address 04X IoBaseAddr printf Memory Base Addr 08X MemBaseAddr while TRUE printf n printf MENU n printf 1 Set I O Base Address n printf 2 Set Memory Base Address n printf 3 Set Port Typ...

Страница 61: ...temp_int if InputPortNum 0 InputPortNum 11 printf Please Input Port Type 0 input 1 output 0x scanf x temp_byte PortType temp_byte LNX_SetPortType CardNum InputPortNum PortType else printf n break cas...

Страница 62: ...ableReg CardNum IntrEnValue break case 10 LNX_GetInterruptEnableReg CardNum IntrEnValue printf Interrupt Enable 0x 04x n IntrEnValue break case 11 LNX_GetInterruptSrc CardNum IntrPortSrc printf Interr...

Страница 63: ...AR B5292 User s Manual 63 99 printf n break MAIN_END LNX_ReleaseCard CardNum return 0...

Страница 64: ...E_A 0x0001 define TIMER_INT_TYPE_B 0x0002 define TIMER_INT_TYPE_C 0x0004 define TIMER_INT_TYPE_D 0x0008 Below is the prototype of callback function where buf_context is the pointer for structure _AGC_...

Страница 65: ...llbackFunTable void IOIST AGC_IOINT_Context_t context void TimerIST AGC_TimerINT_Context_t context void main AGC_CallBack_FunTab_t funtab funtab ioint_callback IOIST funtab timerint_callback TimerIST...

Страница 66: ...ystem The system consists of three big parts A security attack usually will try to break in from one or more of these three points But Protect U s special features make an attack to those points much...

Страница 67: ...valid hexadecimal values Serial number examples 0000 FFFF Protect U count is a 2 character length hexadecimal number 0 1 2 3 4 5 6 7 8 9 A B C D E and F are valid hexadecimal values Protect U count in...

Страница 68: ...ery low log when battery low event happens RNG Random Number Generator The RNG is a real hardware random number generator User can get a 16 bit random number from RNG throght the AGA API Library Real...

Страница 69: ...new counter value is within the assigned error range Set RTC The Lib_Set_RTC API enables you to set the RTC data to the real time clock The intrusion logger will use the RTC data as the time stamp for...

Страница 70: ...n and initiate a transaction Write iButton To write a byte of data or any command to iButton we can use API Lib_Write_iBtn Read iButton To read a byte of data or any response from iButton we can use A...

Страница 71: ...s file contains runtime library which is used to import to your project Arb5290_WinLib dll This dynamic link library DLL module contains AR B5292 APIs and data which will be used in your module applic...

Страница 72: ...f the AGA API Library we must first call this API Lib_InitLib to initiate AGA API Library and allocate resources Note AR B5292 use the com port address 0x2F8 to connect to the AGA Input parameters in...

Страница 73: ...ode serial number previous counter number and allowed counter errors This API will use the input data to require a set of encrypted data from Protect U and decrypt an encrypted data The decrypted data...

Страница 74: ...of the buffer which szLogBuf points to There are 10 sets of log Each set needs 8 bytes This number should be greater than 80 Return Value ERROR MESSAGE Please refer to the Lib_Pic h for the meaning of...

Страница 75: ...b_Set_RTC API enables you to set the RTC data to the real time clock The intrusion logger will use the RTC data as the time stamp for every logged event Input parameters in us_Type This argument defin...

Страница 76: ...point to the starting point of the buffer where you want the API to store the returned log in usLogLen This is the byte length of the buffer which szLogBuf points to This number should be greater tha...

Страница 77: ...ints to This number should be greater than 7 in usReadLen This is a pointer for the API to return the number of bytes that API write into the buffer szLogBuf Return Value ERROR MESSAGE Please refer to...

Страница 78: ..._iBtn unsigned char pData Description To read a byte of data or any response from iButton we can use this API Input parameter NONE Return Value ERROR MESSAGE Please refer to the Lib_Pic h for the mean...

Страница 79: ...er to the Lib_Pic h for the meanings of all possible returned values out pbData The pointer that points to the data buffer we want to read out uiSize The size of data we want to read Clear EEPROM unsi...

Страница 80: ...ption Before calling any api off the AGA API Library we must first call this API Lib_InitLib to initiate AGA API Library and allocate resources Note AR B5292 use the com port address 0x2F8 to connect...

Страница 81: ...he Protect U chip in szSer_Num This is the 4 character hexadecimal serial number you previously programmed into the Protect U chip in usPTU_Counter The is the 2 character count number which you got fr...

Страница 82: ...tes long The first byte of data is the status of PortA others bytes are standard C struct tm data struct tm int tm_sec Seconds 0 59 K R says 0 61 int tm_min Minutes 0 59 int tm_hour Hours since midnig...

Страница 83: ...for the RTC on AR B5292 If the previous argument us_Type equals to LIB_RTC_TYPE_SETBYSYS then this can be NULL Please refer to time h for more details about the structure Return Value ERROR MESSAGE Pl...

Страница 84: ...ble returned values Get Battery Low Log2 unsigned long Lib_Get_BattLog2 unsigned char szLogBuf unsigned short usLogLen unsigned short usReadLen Description The Battery Low Log is a 7 byte length data...

Страница 85: ...t is returned from iButton Write EEPROM unsigned long Lib_WriteEEPROM unsigned int index unsigned char pbData unsigned int uiSize Description AR B5292 comes with a 2 wrie serial EEPROM and a size capa...

Страница 86: ...the source code object file you want to combine with the AR B5292 static library And the targetfile is the software you want generated by combining AR B5292 static library and your source code Dynami...

Страница 87: ...r s n error exit 4 _Lib_Set_PTU test fp dlsym FunctionLib _Lib_Set_PTU if fp error dlerror printf search _Lib_Set_PTU error s n error exit 4 fp 1 12345678 ABCD count _Lib_Set_PTU test fp dlsym Functio...

Страница 88: ...0000FF 0 Functions Error FUN 1 255 0x0000FF00 8 Main Application Program Interface API 1 255 0x00FF0000 16 For Example define ERROR_MASK_GEN_SHIFT 0 define ERROR_MASK_FUN_SHIFT 8 define ERROR_MASK_API...

Страница 89: ...nk current 500 550 mA DBIOH Operating voltage high level threshold 3 5 5 5 V DBIOL Operation voltage low level threshold 0 3 0 8 V DBIO Operating current 20 35 mA 12V Power In to AR B5292 11 4 12 12 6...

Страница 90: ...ton6 10 I I B6 Button7 11 I I B7 Button8 12 I I C0 Button9 13 I I C1 Button10 14 N C 15 I I D0 Dissolve Key Lock 16 I I C2 Button11 17 I A0 Door_SW1 share with AGA Intrusion0 18 I I E0 Coin In_A Coin...

Страница 91: ...A2 Door SW3 share with AGA Intrusion2 8 I A3 Door SW4 share with AGA Intrusion3 9 I A4 Door SW5 share with AGA Intrusion4 10 I I D3 Touch Cal Key Lock 11 I I D4 Spare Key Lock 12 O C I0 Coin En 13 O...

Страница 92: ...C G3 Lamp12 35 P GND 36 P GND 20 pin Golden Finger Component Side Pin I O AGC Port Bit Function 1 P GND 2 P GND 3 P 5V Power Input 4 P 5V Power Input 5 P 12V Power Input 6 P 12V Power Input 7 O C I2 H...

Страница 93: ...V NC 6 P Power 12V 7 Reserved PCB Key 8 O C H2 Coin in Meter 9 O C H3 Coin out Meter 10 O Speaker Left 11 Speaker Right 12 13 14 O 15 I I D0 Dissolve Key Lock 16 I I E0 Coin in Signal A 17 I I B0 Butt...

Страница 94: ...O C H0 Key in Meter 9 O C H4 Key out Meter 10 O Audio GND 11 Audio GND 12 13 14 I I Service Key Lock 15 I I D2 Setup Key Lock 16 I I E1 Coin in Signal B 17 I I C0 Button9 18 I I C1 Button10 19 I I C2...

Страница 95: ...utton 6 Button 6 B6 I I Button 7 Button 7 B7 I I Button 8 Button 8 C0 I I Button 9 Button 9 C1 I I Button 10 Button 10 C2 I I Button 11 Button 11 C3 I I Button 12 Button 12 C4 I I Button 13 Button 13...

Страница 96: ...mp7 F7 O C Lamp8 G0 O C Lamp9 G1 O C Lamp10 G2 O C Lamp11 G3 O C Lamp12 G4 O C Lamp13 G5 O C Lamp14 G6 O C Lamp15 G7 O C Lamp16 H0 O C Key In Meter Key in Meter H1 O C Bill In Meter H2 O C Coin In Met...

Страница 97: ...DIP Switch2 S4 J5 I DIP Switch2 S5 J6 I DIP Switch2 S6 J7 I DIP Switch2 S7 K0 I O Spare I O K1 I O Spare I O K2 I O Spare I O K3 I O Spare I O K4 I O Spare I O K5 I O Spare I O K6 I O Spare I O K7 I O...

Страница 98: ...K Ohm if VDD is 12V 2 Audio Output is maximum 12V peak for 8 speaker Please don not short the R and L together 3 Poart A Input Internal weak pull high 100K to 3V Structure Diagram VCC 100K PCB Interna...

Страница 99: ...99 5 DB25 IO Structure Diagram 1 2 3 3 4 VCC AGC_IO AGC_direction TTL Tolerance PCB Internal Circuit Typical Application Circuit 10K VCC 6 Notice for Rechargeable battery Please charge the battery 24...

Отзывы: