Fanless internet security platform with geode cpu , 3lan, compact flash, com, 128mb sdram on-board, mini-pci, and 2.5” hdd option, usb 1.1 (25 pages)
Summary of Contents for Acrosser Technology AR-B2002
Page 1
PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U Edition: 2.1 Book Number: AR-B2002-07.10.20 1/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 2
Trademarks AR-B2002 is registered trademarks Gaming and Multimedia Acrosser, IBM PC is a registered trademark of International Business Machines Corporation. Pentium is a registered trademark of Intel Technologies Inc. Award is registered trademarks of Award Software International, Inc. Other product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective companies.
Data Sets ....................51 Using AGA Functions ................52 AGA-API Library Introduction..............53 AGA-API Library ..................55 Error Messages ..................71 3/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Security: Protect-U software protection through 10-pin serial pin header Connector: 100-pin SCSI II connector Header: RS-232 10-pin pin header for Protect-U and Intrusion Data 4/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
AR-B2002 User’s Guide 1.2 What You Have These accessories are included with the system. Before you begin installing your AR-B2002 board, please make sure that the following items have been included inside the AR-B2002 package. • The quick setup manual •...
AR-B2002 User’s Guide Installation This chapter describes how to install the AR-B2002. At first, the Function diagram and layout of AR-B2002 is shown, and the unpacking information that you should be careful is described. The jumpers and switches setting for the AR-B2002’s configuration 2.1 Function Block Diagram...
Serial pin header will be used as user interface for ProtectU, Intrusion Logger and RTC function on this system. PIN NO. DESCRIPTION RECEIVE DATA (RXD) TRANSMIT DATA (TXD) GROUND GROUND 9/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
2.8 AGC as System controller We have design a AGC chip by ourself to realize all functions in AR-B2002. This chip will work as controller for whole system. Following functions are integrated in AGC chip : • PCI interface •...
Battery on AR-B2002 will be used to supply power for RTC and Intrusion Logger function when the system power is off. 2.13 I/O Buffer I/O Buffer on AR-B2002 has the function to buffer 96 I/O signals, so that it has enough current and TTL Levels. 2.14 ProtectU, Intrusion Logger, RTC AR-B2002 integrates the functions ProtectU, Intrusion Logger, RTC and I-Button.
Device ID Register (02h : 03h) Software Software Value after Bit Field Description Readable Writable Reset 31 : 16 Device ID. Identifies particular device. 0000h 12/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 13
Latency Timer Register (0Dh) Description Bit Field Software Software Value after 13/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 14
6 : 2 configuration registers (default 128 bytes). I/O Base Address. Base address for I/O access to local 31 : 7 configuration registers 14/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 15
Interrupt Line Routing Value indicates which system interrupt 7 : 0 controller(s) input the interrupt line of device is connected to. 15/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
I/O-Interface Address Map The following table shows the I/O Address map, including descriptions and their offset addresses relative to the “PCI Base Address1”. 16/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 18
Interrupt Status in Port F. 0 = No Interrupt, 1 = Interrupt active. To clear this bit, must be wrote any data to Port F as Input 18/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 19
Bit 7 of Port A Only to clear 0 / 1 Interrupt Bit 8 of Port A Only to clear 0 / 1 Interrupt 19/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 20
Yes (only in 0 / 1 Output Mode) Bit 7 of Port D Yes (only in 0 / 1 Output Mode) 20/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 21
Value after Description Bit Field Readable Writable Reset Yes (only in Bit 1 of Port G 0 / 1 Output Mode) 21/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 22
Port K (8 bit). 0 = Input Mode, 1 = Output Mode Port L (8 bit). 0 = Input Mode, 1 = Output Mode 7 : 4 Reserved 22/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 23
Yes (only in 0 / 1 Output Mode) Bit 7 of Port K Yes (only in 0 / 1 Output Mode) 23/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 24
Users should set the register value to be 55H (ms resolution) before using timer-A ~timer-D. Note* The resolutions for second & u-second are reserved for further use. 24/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Layer-2 is Wdm Port and Mem Acc program library to access I/O and Memory program library. Layer-3 is Application Program Interface. 25/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 26
(RDM)” button and click “Next” to continue. STEP3: Click “Next” to install to this folder, or click “Change” to install to a different folder. 26/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 27
You can call the program to start the toolbar, and then choose the program. You will see the test program screen below: 27/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 28
0 to 4,294,967,295 byte Unsigned char (8 bit) 0 to 255 Table 2: Argument List Type Name Argument CarNum PortNum BankNum TimerNum IntrEnValue 28/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 29
This function is used to register the AR-B5290. AR-B5290 has to be registered by this function before other functions are called. 29/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 30
MemBaseAddr: The memory base address of AR-B5290. W2K_SetIOBaseAddr 6.1 Description This function is used to set the I/O base address of AR-B5290. 30/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 31
This function is used to write the card of each port. Syntax C/C++ (Windows XP/2000) W2K_W itePo t (CardNum, Po tNum, Po tData) Argument CardNum: The number of AR-B5290 card initialized. 31/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 32
CardNum: The card number of AR-B5290 card initialized. MemOffset: Memory offset. MemValue: Memory value. 13 W2K_SetInterruptEnableReg 13.1 Description This function is used to set interrupt enable register. 32/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 33
W2K_ClearIn e upteSrc (CardNum, IntrPo Src) t rr 16.3 Argument CardNum: The card number of AR-B5290 card initialized. IntrPortSrc: Interrupt port source. 33/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 34
PortType; byte PortData; int Cmd; i16 BankNum; u32 MemOffset; byte MemValue; u16 IntrEnValue; u16 IntrPortSrc; char InputTimerNum; i16 TimerNum; u16 TimerValue; 34/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 35
Please Input Base Address : "); scanf("%x",&MemBaseAddr); W2K_SetIOBaseAddr(CardNum , MemBaseAddr); Sleep(100); W2K_GetIOBaseAddr(CardNum , &MemBaseAddr); printf(" Now Memory Base Address is %04x\n",MemBaseAddr); 35/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 36
Please Input Port Data : "); scanf("%x",&PortType); W2K_WritePort(CardNum,PortNum,PortData); else printf("\n"); break; case 6: printf(" Please Input Memory Bank : "); scanf("%d",&BankNum); W2K_SwitchMemBank(CardNum,BankNum); break; 36/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Ex: ./scripts/modld Unload Driver To unload driver from AR-B5290, simply launch the script file ‘modul’ off the path <scripts> Ex: ./scripts/modul 39/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 40
Table 2: Argument List Type Name Argument CarNum PortNum BankNum TimerNum IntrEnValue IntrPortSrc TimerValue MemBaseAddr IoBaseAddr MemOffset byte PortType PortData MemValue char InputPortNum InputTimerNum 40/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 41
This function is used to get the memory base address of AR-B5290. 5.2 Syntax C/C++ (Linux GCC) LNX_GetMemBaseAddr (CardNum, &MemBaseAddr) Argument CardNum: The card number of AR-B5290 card initialized. 41/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 42
PortType: “Input” or “Output” LNX_ReadPort Description This function is used to read the data of each port. Syntax C/C++ (Linux GCC) 42/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 43
LNX_W eMemByte (CardNum, MemOff et MemValue) 12.3 Argument CardNum: The card number of AR-B5290 card initialized. MemOffset: Memory offset. MemValue: Memory Value. 43/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 44
16.1 Description This function is used to get interrupt source. 16.2 Syntax C/C++ (Linux GCC) LNX_GetInte uptS c (CardNum, &IntrPo tS c) 44/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 45
CardNum: The card number of AR-B5290 card initialized. TimerNum: Timer Number. TimerValue: Timer Value. 20 Sample code of test program #include <stdio.h> 45/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 46
(11) Get Interrupt Source\n"); printf(" (12) Set Interrupt Source Clear\n"); printf(" (13) Set Timer Register \n"); printf(" (14) Get Timer Register \n"); 46/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 47
5: printf(" Please Input Port Number [0=A 1=B 2=C 3=D 4=E 5=F 6=G 7=H 8=I 9=J 10=K 11=L]: "); 47/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 48
Please Timer Number [0=A 1=B 2=C 3=D]: "); scanf("%d",&temp_int);InputTimerNum=temp_int; if((InputTimerNum >= 0) && (InputTimerNum <= 3)) printf("\n Please Input Timer Value: "); scanf("%d",&temp_int);TimerValue=temp_int; LNX_SetTimerReg(CardNum,InputTimerNum,TimerValue); else printf("\n"); 48/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 49
>= 0) && (InputTimerNum <= 3)) LNX_GetTimerReg(CardNum,InputTimerNum,&TimerValue); printf(" Timer Value => %d\n",TimerValue); else printf("\n"); break; MAIN_END: LNX_ReleaseCard(CardNum); return 0; 49/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
The “SOFTWARE” is used to decrypt the transmission through a decryption algorithm. The decryption algorithm will be provided to the user as a software library file. 50/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
We provide you with AGA library to program manufacture code and serial number into the chip. Please refer to next chapter for details about the AGA library. 51/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
AR-B5290 comes with a 2-wrie serial EEPROM and size capacity of 2k bits for storing or backing up user data. By way of AGA Library, we can read and write data from EEPROM. 52/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
The Battery Low Log is a 2-byte length data which logs the battery low event to avoid having an empty battery monitor the instruction log. We can get Battery Low Log by calling API Lib_Get_BattLog 53/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 54
AR-B5290 comes with a 2-wrie serial EEPROM and a size capacity of 2k bits for storing or backing up user data. To write data to EEPROM we can use API Lib_WriteEEPROM 54/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Linking the “ProtectU.lib” file (see the following AGAture) AGAture: Linking the “ProtectU.lib” 55/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 56
When AGA-API Library is not in use any more, we must call this API Lib_DeInitLib to release all resources which were allocated by the AGA-API Library. Input parameters : NONE 56/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 57
(the input usPTU_Counter). The normal difference should be 1. This parameter enables you to define a wider-range difference. Return Value: 57/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 58
To set the mask of intrusion log we can call API Lib_Set_IntrMask. Input parameters: [in] usMask: We use the Mask value to set monitor bits for intrucsion log. Return Value: 58/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 59
__stdcall Lib_Get_RNG(unsigned char *szBuf) Description: AR-B5290 has a 16-bit hardware real random number generator. We can get this 16-bit RNG by calling API Lib_Get_RNG 59/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 60
__stdcall Lib_Write_iBtn(unsigned char bData) Description: To write a byte of data or any command to iButton, we can use this API. 60/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 61
__stdcall Lib_Read_iBtn(unsigned char *pData) Description: To read a byte of data or any response from iButton, we can use this API. 61/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 62
(members of the archive). 62/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 63
Protect-U chip. You should save this value for the next validation of Protect-U. 63/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 64
AR-B2002 User’s Guide Check Protect-U unsigned long Lib_Check_PTU(unsigned char *szManu_Code, unsigned char *szSer_Num, unsigned short usPTU_Counter, unsigned short usErr_Range, unsigned short *usNew_PTU_Counter) 64/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 65
You can get all of these data by calling AR-B5290’s API “Lib_Get_IntrLog ”. The API will 65/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 66
LIB_RTC_TYPE_SETBYUSER. If you want to synchronize the RTC with the system time, this value should be 66/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 67
API write into the buffer szLogBuf. Return Value: ERROR MESSAGE: Please refer to the Lib_Pic.h for the meaning of all possible returned values. 67/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 68
AR-B5290 comes with a 2-wrie serial EEPROM and a size capacity of 2k bits for storing or backing up user data. To write data to EEPROM, we can use this API. 68/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 69
1. Include the files “dlfcn.h” and “Lib_Pic.h” into your project. 2. Use the following command to compile your source code. gcc -rdynamic -o <targetfile> <srcfile.c> -ldl strip targetfile 69/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...
Page 70
(*fp)(1,"12345678","ABCD",&count); //_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); return 0; 70/45 AR-B2002 PCI I/O board with discrete I/O, battery backup SRAM, Timer, power off intrusion event logger and Protect-U...