Acrosser Technology ACE-B7400 User Manual

Hide thumbs Also See for ACE-B7400:

Advertisement

Quick Links

ACE-B7400 Board
User Manual
1

Advertisement

Table of Contents
loading

Summary of Contents for Acrosser Technology ACE-B7400

  • Page 1 ACE-B7400 Board User Manual...
  • Page 2 Trademarks ACE-B7400 is a registered trademarks of Acrosser; IBM PC is a registered trademark of the International Business Machines Corporation; Pentium is a registered trademark of Intel Technologies Inc; Award is a registered trademark of Award Software International Inc;...
  • Page 3: Table Of Contents

    Table of Contents Chapter 1 Introduction ....................4 1.1 Specifications.......................4 1.2 Package Contents ....................5 1.3 Block Diagram .....................6 Chapter 2 H/W Information ...................7 2.1 I/O Connector and Key parts illustration (TopSide) ..........7 2.2 Connector & Jumper setting definition (Top Side)…………………………..11 Chapter 3 BIOS Settings....................20 3.1 Main Setup ......................21 3.2 Advanced Chipset Setup ..................23 3.3 AMD Setup ......................24...
  • Page 4: Chapter 1 Introduction

    Chapter 1 Introduction ACE-B7400 is an All-in-One gaming control box based on AMD most advanced Fusion platform which integrates AMD Radeon HD 6310 graphic controller. It is designed for slot machine and AWP machine which requires powerful 3D video performance. Besides powerful integrated graphic controller, ACE-B7400 integrates all gaming control features.
  • Page 5: Package Contents

    System fan 2x temperature controllable system fan Operation 0 to 60 Degrees Celsius temperature Expansion Module Not Available Power requirement Power supply from external +12V & +24V from 8-pin Micro fit connector 1.2 Package Contents Check if the following items are included in the package. ...
  • Page 6: Block Diagram

    1.3 Block Diagram...
  • Page 7: Chapter 2 H/W Information

    Chapter 2 H/W Information This chapter describes the installation of ACE-B7400. At first, it shows the Function diagram and the layout of ACE-B7400. It then describes the unpacking information which you should read carefully, as well as the jumper/switch settings for the ACE-B7400 configuration.
  • Page 8 LED1 Green LED: PWR_BTN1 DVI-D1 Power On. System Power Button DVI-D Connector. Orange LED: HDD Active. DVI-I1 USB1 CN25 DVI-I USB 2.0 Connector RJ45 & USB 2.0 Connector Connector. CN26 COM1_2 COM3_4 RJ45 & USB RS-232 Connector RS-232 Connector 2.0 Connector (9-bits Protocol supported).
  • Page 9 Rears-Panel I/O Configurations Gaming Input Isolation Connector. Signal Signal or Switch 1 tton 4 Note: or Switch 2 tton 5 1.All input pin or Switch 3 tton 6 logical or Switch 4 tton 7 high-level is or Switch 5 tton 8 +5V ~ +24V, Micro-FIT 3.0mm logical low-level...
  • Page 10 Gaming Open-Drain Output Connector. Note: Signal Signal 1.Each LAMP output LAMP 1 LAMP 9 supports open-drain LAMP 2 LAMP 10 500mA current; (max) each Tower LAMP LAMP 3 LAMP 11 output supports LAMP 4 LAMP 12 open-drain (max) LAMP 5 LAMP 13 current.
  • Page 11: Connector & Jumper Setting Definition (Top Side)

    2.2 Connector & Jumper setting definition (Top Side) FPIO1 CN_USB1 CN_USB2 System Power Button & USB 2.0 Connector USB 2.0 connector Reset connector SPAREIO1 SYSFAN2 APUFAN1 JST 2.0mm Gaming System FAN Connector APU FAN Connector. Spare-IO Connector. (16-bits GPIO) SATA_PWR1 CLRCMOS 8-bit DIP-Switch Input for SATA_PWR2...
  • Page 12 Connectors and Jumpers Setting CN_USB1 FPIO1 CN_USB2 System Power Button & Reset connector USB 2.0 Connector Function Power Button Connector Signal Short: Auto Power-on Open: Power-on by VCC (+5V) Pin1-2 Button Data+ Data- Reset Button Connector JST 2.0mm Note: Default short Pin3-4 be Auto-Power-On SYSFAN2 APUFAN1 System FAN Connector 2.
  • Page 13 SATA_PWR1 CLRCMOS SATA_PWR2 Clear System CMOS Jumper. SATA Power Connectors. Jumper Function Signal +12V Normal (default) +3.3V Clear CMOS JST 2.5mm JP6 ~ JP13 SYSFAN1 CN3 Output Signal Selection Jumper System FAN Connector 1. (TTL, RS232, RS485 or ccTalk) Please See Appendix A. Signal (Default set to be RS232) +12V...
  • Page 14 JP18 JP17 RS-485 Terminal Resistor Selection Jumper for CN3 RS-485 Terminal Resistor Selection Jumper for (COM 6). CN3 (COM 5). ction mper nction Termination Termination (def ault) efault) Note: Note: Terminal resistor is 120ohm. Terminal resistor is 120ohm. AUDIO1 Internal 5.1 Channel Audio Pin-Header. ccTalk Supply Power Selection Jumper.
  • Page 15 Appendix A CN3 Output Signal TTL/RS232/RS485/cctalk Jumper Configuration Default configuration of COM-5 and COM-6 are RS-232 mode.  Locations:  CN3 (COM-5) selectable functions RS-232 RS-485 ccTalk (Default) Note: Orange block means shorted by a jumper, and others leave it N.C.
  • Page 16  CN3 (COM-6) selectable functions RS-232 RS-485 ccTalk (Default) Note: Orange block means shorted by a jumper, and others leave it N.C.
  • Page 17 Appendix B AGC I/O Definition I : Input I.I: Input with isolation O.C: Open-Collector Output I/O: Spare Input/Output Connectors Map Functions Remark Rear panel Channel Type Onboard Gaming I/O Door SW1 CN7 – Pin1 AGA log 0 Door SW2 CN7 – Pin2 AGA log 1 Door SW3 CN7 –...
  • Page 18 DI30 Bill-In CN6 – Pin13 AGC Counter 3 DI31 Hopper Sensor CN6 – Pin14 AGC Counter 4 DI32 General Purpose In 0 CN6 – Pin15 DI33 General Purpose In 1 CN6 – Pin16 Connectors Map Functions Remark Rear panel Channel Type Onboard Gaming I/O...
  • Page 19 DO24 O.C. Coin-Enable CN5 – Pin11 DO25 O.C. Bill-Enable CN5 – Pin12 DO26 O.C. Hopper SSR CN5 – Pin13 DO27 O.C. General Purpose Out 0 CN5 – Pin14 DO28 O.C. General Purpose Out 1 CN5 – Pin15 DO29 O.C. General Purpose Out 2 CN5 –...
  • Page 20: Chapter 3 Bios Settings

    Chapter 3 BIOS Settings This chapter describes the BIOS menu displays and explains how to perform common tasks needed to get the system up and running. It also gives detailed explanation of the elements found in each of the BIOS menus. The following topics are covered: ...
  • Page 21: Main Setup

    3.1 Main Setup Once you enter the Phoenix BIOS™ CMOS Setup Utility, the Main Menu will appear on the screen. Use the arrow keys to highlight the item and then use the <Pg Up> <Pg Dn> keys to select the value you want in each item. Note: Listed at the bottom of the menu are the control keys.
  • Page 22 System Memory This item displays the memory speed Speed L2 Cache Ram This item displays the L2 ache memory size Total Memory This item displays the memory size that used. Memory Channel slot This item displays the memory size that used On slot 0. Memory Channel slot This item displays the memory size that used On slot 1.
  • Page 23: Advanced Chipset Setup

    3.2 Advanced Chipset Setup Option Choice Description Enabled Allows the system to skip certain tests while booting. This Quick Boot Disabled will decrease the time needed to boot the system. Full Screen Logo Enabled Displays the full screen logo upon BIOS booting. Disabled Show...
  • Page 24: Amd Setup

    3.3 AMD Setup...
  • Page 25 Option Choice Description Enabled Enables onboard controller if Enabled audio device is detected Azalia Option Disabled Disabled Turn off onboard controller to allow external controller Enabled Enabled Enables onboard SATA OnChip SATA Channel...
  • Page 26 Disabled controller Disabled Turn off onboard SATA controller AHCI OnChip SATA Type Legacy IDE AHCI ID3494 Auto: Onboard VGA Fram Buffer Size by the Main memory size Auto Integrated Graphics Force: set fixed Onboard VGA Fram Force Buffer Size Auto 128M Select Onboard VGA Fram Buffer UMA Fram Buffer Size...
  • Page 27: Superio Setup

    3.4 Superio Setup...
  • Page 29 Option Choice Description Disabled 3F8/IRQ4 2F8/IRQ3 Sets the base I/O port address and IRQ 3E8/IRQ6 for the onboard device 2E8/IRQ7 338/IRQ5 238/IRQ11 Serial Port 1/2/3/4/5/6 These read-only fields show the functions of the hardware thermal sensor by CPU CPU Temperature thermal diode that monitors the chip blocks to ensure a stable system.
  • Page 30 Show you the voltage of Vcore. CPU VCore Faull: Fan Speed full on Full Speed SYS Fan1/2 Mode By Temperature: Fan Speed by system By Temperature temperature System Target Temp...
  • Page 31: Security Setup

    3.5 Security Setup...
  • Page 32 Option Choice Description The BIOS attempts to load the operating system from the Supervisor Password devices in the sequence selected in these items. When a password has been enabled, you will be prompted to enter your password every time you try to enter Setup. This prevents unauthorized persons from changing any part of your system configuration.
  • Page 33 state=True Disable, Deactivate, and Set Owner Install, with state=False Clear, Enable, and Activate Require PP for Provisioning Do not require PP for provisioning Require PP for clear Do not require PP for clear Enable, Activate, and Clear Enable, Activate, Clear, Enable, and Activate...
  • Page 34: Boot Setup

    3.6 Boot setup...
  • Page 35: Exit Setup

    3.7 Exit Setup option Choice Description Pressing <Enter> on Exit Saving this item for Exit BIOS Setup and Save Changes BIOS Setting. Changes confirmation: Pressing <Enter> on Exit Discarding this item for Exit BIOS Setup and Without Save Changes BIOS Setting. Changes confirmation:...
  • Page 36 When you press <Enter> on this item you get a confirmation Load Press ‘Y’ to load the default values that are factory-set for Optimized dialog box with a optimal-performance system operations. Defaults message like this: Pressing <Enter> on this item for Discard Changes confirmation:...
  • Page 37: Chapter 4 Function Description

    Chapter 4 Function Description 4.1 DC Power input connection AR-B7400 needs +12V/+24V to power the board. 4.2 Digital Inputs There are 4 clamped diode protection digital inputs on GPIO_COM1 connector. You can read the status of any input through the software API. These digital inputs are general purpose input.
  • Page 38: Digital Outputs

    4.3 Digital Outputs There are 4 clamped diode protection digital outputs on GPIO_COM1 connector. You can control the output status of these digital outputs through the software API. The four digital outputs are capable sink maximum 500 mA current for each channel and maximum output voltage is 12V. The output reference voltage of device, please connect to GPIO #VCC12V(Pin15).
  • Page 39: Watchdog Timer

    GPIO Pin Define: SIGNAL SIGNAL GPO0 GPO1 GPO2 GPO3 GPI4 GPI5 GPI6 GPI7 VCC12A 4.4 Watchdog Timer If you set a watchdog timer, you can use it to reset the system when system hangs up due to hardware issue. After you set the watchdog timer, the software shall re-set the timer to re-start a new cycle before it time-out.
  • Page 40 Pin number RS-232 male CN_RS232_1: For RS-232 Function SIGNAL SOUT CN_RS422_485_1: For RS-422, RS-485 SIGNAL 485_422_TX+ 485_422_TX- 422_RX2- 422_RX2+...
  • Page 41: Serial Ata (Sata)

    4.6 Serial ATA (SATA) There are 2 SATA 2.5 ports on the AR-B7400. There are also two SATA power connectors for the SATA hard disks. The SATA power cable is an optional accessory. If you need a SATA power connector, please contact your Acrosser sales representative for the quotation.
  • Page 42: Chapter 5 Driver And Utility Installation

    Chapter 5 Driver And Utility Installation 5.1. Driver CD Interface Introduction Acrosser provides the driver CD including the drivers, utilities, applications and documents. For Windows environment, it can be guided by the setup program; for Linux environment, the related files can be found at folder “ACEB7400\Linux”.
  • Page 43 5.1.1 Driver Page Click the item, all the drivers will be selected.
  • Page 44 Click the item, all selected items will be cancelled.
  • Page 45 Click the “Install” icon to install the selected drivers. ps: It is normal to get temporary blank screen while installing Chipset driver since VGA device is switching resolution mode and data. It will turn back within 5~10 seconds.
  • Page 46 Click the item to browse the CD contents.
  • Page 47 Click the icon to close the program. 5.1.2 Utility Page There are three utilities for ACE-B7400. AGC test utility is used to test on board gaming function. Flash tool is used to update on board flash data. Sample code contains the windows sample code to use Acrosser’s APIs.
  • Page 48  Double click the “AGC test utility” to run the utility. You have to install AGC driver in application tab first in order to run AGC test utility successfully.  Please run flash_tool.exe in command line. The tool will read the content of the assigned file and write it to on board flash.
  • Page 49  Double click on “sample code” will bring out the file explorer point to the sample code folder.
  • Page 50 5.1.3 Application Page There is one application for Acrobat reader installing.  Double click the “Acrobat Reader 9.2” to install the application.
  • Page 51  Double click the “AGC” to install the AGC driver. It will install siliently.
  • Page 52 5.1.4 Document Page This page will provide Acrosser board and system user manual. Please remember to install the Acrobat Reader before you read the manual.  Double click the manual item to read the user manual.  Please install the Acrobat Reader when you see the message.
  • Page 54: Windows Xp 32Bit Driver Installation

    5.2 Windows XP 32bit Driver Installation 5.2.1 Please put the driver disk to optical driver. The program will appear on the screen. Please click the “Select All” icon.
  • Page 55 5.2.2 Click the “Install” icon to install the drivers.
  • Page 56: Windows 7 32/64Bit Driver Installation

    5.2.3 Finish the driver installation. Please click “Yes” to restart the system. 5.3 Windows 7 32/64bit Driver Installation Please be noted. Since windows 7 64 bit edition needs certified digital signing to load hardware drivers, in order to run our product correctly, the installation program will automatically enable test signing feature if it runs under windows 7 64 bit environment.
  • Page 57 5.3.1 Please put the driver disk to optical driver. Then click the “Run setup.exe” to run the install program.
  • Page 58 5.3.2 The program will appear on the screen. Please click the “Select All” icon.
  • Page 59 5.3.3 Click the “Install” icon to install the drivers.
  • Page 60 5.3.4 Finish the driver installation. Please click “Yes” to restart the system.
  • Page 61: Chapter 6 Software Installation And Programming Guide

    Chapter 6 Software Installation and Programming Guide 6.1 Introduction ACE-B7400 is an All-in-One gaming control box based on AMD 780E platform. It is designed for slot machine and AWP machine which requires powerful 3D video performance. Besides powerful integrated graphic controller, ACE-B7400 integrates all gaming control features.
  • Page 62  Syntax releaseAgc (void)  Argument  None. 6.2.2.3 Get Event Buffer  Description Get an event from device event queue.  Syntax getEventBuf (Event* event)  Argument  event: The memory address to put the Event structure from queue. ...
  • Page 63  For a counter overflow event, value stores the current counter value.  For a counter timeout event, value stores the current counter value. 6.2.2.4 Get Event Count  Description Get how many events staying in device event queue.  Syntax getEventCnt (u16* count) ...
  • Page 64 case EVENT_CNTTO: printf("Get counter timeout event: CNT%d value %d.\n", event.channel + 1, event.value); break; case EVENT_GPI: printf("Get input event: channel %d is %s.\n", event.channel, event.value ? "on" : "off"); break; case EVENT_PG: printf("Get pulse generator finish event: PG%d.\n", event.channel + 1); break;...
  • Page 65  Syntax getSramMode(u8* mode)  Argument  mode: The memory address to put the SRAM operation mode. 6.2.3.3 Read Byte from Memory  Description This function is used to read SRAM data in byte alignment.  Syntax getSramByte (u32 offset, u8* value) ...
  • Page 66  Argument  offset: SRAM offset to write  value: Value to write to SRAM. 6.2.3.7 Write Word to Memory  Description This function is used to write SRAM data in word alignment.  Syntax setSramWord (u32 offset, u16 value) ...
  • Page 67  Argument  offset: SRAM offset to write  buffer: The start address of data buffer to write to SRAM.  size: The memory block size (in byte) to write. 6.2.4 General Purpose Input/Output 6.2.4.1 Get Channel Status  Description This function is used to get the status of the selected I/O channel.
  • Page 68 6.2.4.4 Set Input Channel Interrupt Enable Status  Description Set the interrupt trigger type of the selected input channel.  Syntax setDiIntEnable (i32 ch, IntType* type)  Argument  ch: Input channel number.  type:  If type is equal to NONE (0), no interrupts will happen while input status changed.
  • Page 69  status: The channel status. 0 indicates switch off; 1 indicates switch on. 6.2.4.7 Set Spare IO Direction  Description Set the direction of all spare I/O channel.  Syntax setGpioDir (u32 dir)  Argument  dir: 32 bit direction indicator. Every bit is related to one spare I/O channel, e.g., bit 0 indicated spare I/O channel 0, and so on.
  • Page 70 6.2.4.11 Get Door Switch Status  Description Get the status of the selected door switch.  Syntax getDoorSw (i32 sw, u32* status)  Argument  sw: Door switch number. ALL indicates getting all door switches. To specify a dedicated door switch, set value range from DOOR1 to DOOR7.
  • Page 71  status: The memory address to put the channel status. 0 indicates output low; 1 indicates output high. If key equals to ALL, bit0 (the lowest significant bit) of value means the status of KEY1, bit1 means the status of KEY2, and so on. 6.2.4.14 Get DIP Switch Status ...
  • Page 72  Argument  lamp: Lamp number. ALL indicates getting all lamps. To specify a dedicated lamp, set value range from LAMP1 to LAMP16.  status: The channel status. 0 indicates output low; 1 indicates output high. If lamp equals to ALL, bit0 (the lowest significant bit) of value means the status of LAMP1, bit1 means the status of LAMP2, and so 6.2.4.17 Get Coin In A Input Status ...
  • Page 73  Syntax getHopperSensor (u32* status)  Argument  status: The memory address to put the channel status. 0 indicates open circuit; 1 indicates closed circuit. 6.2.4.21 Get Coin Enable Status  Description Get the status of Coin Enable channel.  Syntax getCoinEnable (u32* status) ...
  • Page 74  status: 0 indicates switch off; 1 indicates switch on. 6.2.4.25 Get Hopper SSR Status  Description Get the status of Hopper SSR channel.  Syntax getHopperSsr (u32* status)  Argument  status: The memory address to put the channel status. 0 indicates switch off;...
  • Page 75  duration: The time of the related pulse generator remains high in one cycle. The pulse generator works as 50% duty cycle.  cycle: The number of the related pulse generator running cycle. 6.2.4.29 Get Pulse Generator Current Remaining Cycle ...
  • Page 76  Description Clear the selected pulse generator value to zero and feedback the current value.  Syntax clearCnt (i32 cnt, u16* value)  Argument  cnt: Counter index. Range from CNT1 to CNT4.  value: The memory address to put the current counter value of the selected counter.
  • Page 77 6.2.4.35 Setup Coin Hopper Action  Description Specify the Counter4 parameters and set Hopper SSR to closed circuit. If the specify counter target is reached, Hopper SSR will immediately change to open circuit. The Hopper Sensor channel (Counter4) will set to counter mode automatically.
  • Page 78: Aga2

    Get the remaining count of the selected timer.  Syntax getTimer (i32 timer, u16* value)  Argument  timer: Timer number. Range from TIMER1~TIMER4.  value: The memory address to put the remaining count of the selected timer. 6.2.5.3 Stop Timer ...
  • Page 79  intrlog: The memory address to put the Intrlog structure. There are eight intrusion events and two logs per each event on ACE-B7400, and the first log for event is dedicated for input change from HIGH to LOW while the second one is dedicated for input change from LOW to HIGH.
  • Page 80 iii. The HIGH to LOW log of door switch 2. iv. The LOW to HIGH log of door switch 2. v. The HIGH to LOW log of door switch 3. vi. The LOW to HIGH log of door switch 3. vii.
  • Page 81  Argument  enable: The memory address to put the intrusion event enable value. 0 indicates intrusion event log feature is disabled; 1 indicates intrusion event log feature is enabled. Bit0 (the lowest significant bit) of enable value indicates to door switch 1, bit1 indicates door switch 2, and so 6.3.3.4 Set Intrusion Event Enable Status ...
  • Page 82 6.3.4 iButton 6.3.4.1 Reset iButton  Description Reset the iButton.  Syntax resetiBtn (i32 id)  Argument  id: Battery index. 6.3.4.2 Get iButton Data  Description Get one byte data from iButton.  Syntax getiBtn (i32 id, u8* data) ...
  • Page 83  size: The retrieved data size from EEPROM. 6.3.5.2 Set Data to EEPROM  Description Set data to EEPROM.  Syntax setEeprom (u16 offset, u8* data, u16 size)  Argument  offset: The offset of EEPROM.  data: The memory address to put the data writing to EEPROM. ...
  • Page 84 Linux: setHashByFile(FILE* fp)  Argument  fd: The file handle of the assigned file.  fp: The file structure pointer of the assigned file.  Example Windows: u8 buffer[256]; HANDLE fd; printf("Please input file name to calculate 512 bits hash value: "); scanf("%s", buffer);...
  • Page 85  Syntax getTrustMode(u8* mode)  Argument  mode: The memory address to put operating mode value. 0 indicates Disable, 1 indicates Unlock Enable, 2 indicates Lock Enable. 6.3.6.5 Set ProtectU 2.0 Operating Mode  Description Set ProtectU 2.0 operating mode. ...
  • Page 86 Send hash value to check.  Syntax checkTrust(u8* hash)  Argument  hash: The memory address to put 64 bytes hash value. 6.3.6.9 Check ProtectU 2.0 Hash Value By Assigned File  Description Send hash value to check. The hash value is calculated by an assigned file on the fly.
  • Page 87: Flash

    printf("Please input file name to calculate 512 bits hash value: "); scanf("%s", buffer); fp = fopen((char*)buffer, "r"); if(!fp) { printf("Failed to open file!\n"); return; checkTrustByFile (fp); Flash 6.4.1 Erase Flash  Description Erase the entire flash. All byte value will change to 0xFF after this action. ...
  • Page 88  Argument  offset: The offset of flash.  data: The memory address to put the data from flash.  size: The retrieved data size from flash.
  • Page 89: Return Value

    6.5 Return Value This chapter describes the return value of the API functions. The return value is formatted as the following table. If the function executes successfully, the return value is 0. 24 23 16 15 API Code AGA Error Code General Error Code Reserved 6.5.1 API Code...
  • Page 90  0x29 : setCoinEnable  0x2A : getBillEnable  0x2B : setBillEnable  0x2C : getHopperSsr  0x2D : getHopperSsr  0x30 : enablePg  0x31 : setPg  0x32 : getPg  0x33 : stopPg  0x50 : setTimer ...
  • Page 91  0xB0 : getInfo  0xB1 : setPwd  0xB2 : getEeprom  0xB3 : setEeprom  0xC1 : setHash  0xC3 : setHashByFile  0xC4 : getTrustMode  0xC5 : setTrustMode  0xC6 : getTrustTime  0xC7 : setTrustTime ...
  • Page 92: Appendix Test Tool Guide

    Test Tool Guide Chapter 1 Introduction ACE-B7400 is an All-in-One gaming control box based on AMD 780E platform. It is designed for slot machine and AWP machine which requires powerful 3D video performance. Besides powerful integrated graphic controller, ACE-B7400 integrates all gaming control features.
  • Page 93 Chapter 2 SRAM This chapter describes about SRAM test tool. 2.1 Get SRAM mode 2.1.1 Test Purpose To get SRAM operating mode. 2.1.2 Test Example SRAM supports two operating mode. To test independent mode, use 2.2 Set SRAM mode and set mode to 0. Then use 2.6 to set offset 0x20000 under 4MB setting or 0x10000 under 2MB setting, and set data as 0x55.
  • Page 94 If getting value is equal to 0, then test passed. 2.4 Get SRAM data in word style 2.4.1 Test Purpose To read SRAM data with word alignment 2.4.2 Test Example Use 2.7 to set offset 0x0, data 0x0. And then use this function to get offset 0x0 data.
  • Page 95 2.9 Verify SRAM using block access method 2.9.1 Test Purpose To verify SRAM access using block access API 2.9.2 Test Example It will automatically write and read and then verify SRAM data from offset 0 to maximum size. It will run 1000 loops. 2.9.3 Test Criteria A message such as “The 0 th loop passed!”...
  • Page 96 Chapter 3 GPIO 3.1 Get channel status 3.1.1 Test Purpose To get digital I/O channel status. 3.1.2 Test Example Get channel 5 status using this function. 3.1.3 Test Criteria If on board chassis switch is pushed, you should get “Channel 5 is on”, otherwise you should get “Channel 5 is off”.
  • Page 97 Refer to 3.4 3.5.3 Test Criteria Refer to 3.4 3.6 Get key status 3.6.1 Test Purpose To get key status 3.6.2 Test Example Connect DI 23 with DO25. Use 3.24 to set channel 67 as on. 3.6.3 Test Criteria Verify if key 0 is on. If so, the test is passed, otherwise it is failed. 3.7 Get all keys status 3.7.1 Test Purpose...
  • Page 98 If channel 0 debounce time is equal to 10, it is passed; otherwise, it is failed. 3.11 Set input channel debounce time 3.11.1 Test Purpose To set input channel debounce time 3.11.2 Test Example Refer to 3.10.2 3.11.3 Test Criteria Refer to 3.10.3 3.12 Get input channel interrupt enable value 3.12.1 Test Purpose...
  • Page 99 If “Coin-In signal B is on” is shown, the test is passed; otherwise, it is failed. 3.16 Get Bill-In status 3.16.1 Test Purpose To get Bill-In status 3.16.2 Test Example Connect DI30 with DO22. Use 3.24 to set channel 64 as on. 3.16.3 Test Criteria If “Bill-In is on”...
  • Page 100 Use this function to get bill enable status. If “Bill Enable is on” is shown, the test is passed; otherwise, it is failed. 3.21 Set Bill Enable status 3.21.1 Test Purpose To set bill enable status 3.21.2 Test Example Refer to 3.20 3.21.3 Test Criteria If channel 23 is on, the test is passed;...
  • Page 101 0 status. 3.25.3 Test Criteria If “Lamp 1 is on” is shown, the test is passed; otherwise, it is failed. 3.26 Get all lamps status 3.26.1 Test Purpose To get all lamps status 3.26.2 Test Example Refer to 3.25.2 3.26.3 Test Criteria Refer to 3.25.3 3.27 Set lamp status 3.27.1 Test Purpose...
  • Page 102 3.30.3 Test Criteria Refer to 3.29.3 3.31 Get GPIO port status 3.31.1 Test Purpose To get GPIO port status 3.31.2 Test Example Use 3.30 to set GPIO direction as 0xFFFF. Use 3.32 to set all GPIO status as 0. Use this function to get GPIO port status. 3.31.3 Test Criteria If “GPIO port status is 0x0000”...
  • Page 103 3.35.2 Test Example Connect DI28 with DO16. Set counter 1 parameters as trigger type to 0, timeout value to 0, counter target to 100. Use 3.39 to generate 100 pulses with 1ms high duty duration. 3.35.3 Test Criteria If “Get counter reach target event: CNT1 value 0.” is shown, the test is passed;...
  • Page 104 3.38.3 Test Criteria None 3.39 Set and start pulse generator 3.39.1 Test Purpose To set and start a pulse generator 3.39.2 Test Example Refer to 3.35.2 3.39.3 Test Criteria Refer to 3.35.3 3.40 Stop pulse generator 3.40.1 Test Purpose To stop pulse generator 3.40.2 Test Example Use 3.39 to generate 100 pulses with 100ms high duty duration from PG1.
  • Page 105 Chapter 4 Timer 4.1 Set and start timer 4.1.1 Test Purpose To set and start a timer 4.1.2 Test Example Use this function to set timer 1 parameters as mode to 0, timebase to 2, and range to 0x05. 4.1.3 Test Criteria After 5 seconds, if “Get timer finish event: Timer1.”...
  • Page 106 Chapter 5 Flash 5.1 Get flash value 5.1.1 Test Purpose To get flash value by byte 5.1.2 Test Example Use flash_tool utility to write file to flash ram. Use this function to get offset 0 data. 5.1.3 Test Criteria If getting data is equal to the first byte of written file, the test is passed; otherwise, it is failed.
  • Page 107 Chapter 6 To be noted, you have to set the correct AES key to successfully communicate with AGA. 6.1 Get RTC 6.1.1 Test Purpose To get secondary RTC value 6.1.2 Test Example Use 6.2 to set system time. The default password is “00000000”. 6.1.3 Test Criteria Use this function to get secondary RTC value, if it is equal to system time,...
  • Page 108 To get intrusion event logs 6.5.2 Test Example The default password is “00000000” 6.5.3 Test Criteria If a list of event logs is shown, the test is passed; otherwise, it is failed. 6.6 Clear Intrusion logs 6.6.1 Test Purpose To clear intrusion logs 6.6.2 Test Example The default password is “00000000”...
  • Page 109 The default password is “00000000” 6.10.3 Test Criteria If “Return 00000000” is shown, the test is passed; otherwise, it is failed. 6.11 Get iButton ROM information 6.11.1 Test Purpose To get iButton ROM information 6.11.2 Test Example Use this function to get iButton1 (on board) information. 6.11.3 Test Criteria If a list of iButton information is shown, the test is passed;...
  • Page 110 None. 6.15.3 Test Criteria If “Verify data…… passed!!” is shown, the test is passed; otherwise, it is failed.
  • Page 111 Chapter 7 Security 7.1 Set AES key 7.1.1 Test Purpose To set AES key 7.1.2 Test Example Set AES key as FFEEDDCCBBAA99887766554433221100 7.1.3 Test Criteria If “Setup AES key to FFEEDDCCBBAA99887766554433221100” is shown, the test is passed; otherwise, it is failed. 7.2 Set hash value by file 7.2.1 Test Purpose...
  • Page 112 7.4.3 Test Criteria If “Trust mode is disabled!” is shown, the test is passed; otherwise, it is failed. 7.5 Set trust mode 7.5.1 Test Purpose To set trust mode 7.5.2 Test Example Refer to 7.4.2 7.5.3 Test Criteria Refer to 7.4.3 7.6 Get trust time 7.6.1 Test Purpose...
  • Page 113 Use 7.3 to set hash value to FFEEDDCCBBAA99887766554433221100 FFEEDDCCBBAA99887766554433221100 FFEEDDCCBBAA99887766554433221100 FFEEDDCCBBAA99887766554433221100. And the use this function to check value by the same hash value. 7.9.3 Test Criteria If “Return 00000000” is shown, the test is passed; otherwise, it is failed.

Table of Contents