Home

- Acrosser

image

Contents

1. void Show Fail textcolor LIGHTRED gotoxy 20 10 aaa aa gotoxy 20 11 7 zi a 20 12 8959517 gotoxy 20 13 zi au 2 a gotoxy 20 14 cprintf a a aa j Function Show Pass Input Change Return Description Show Pass Message a a void Show Pass textcolor LIGHTGREEN gotoxy 20 10 aaa 8 gotoxy 20 11 cprinti 4 8 gotoxy 20 12 gotoxy 20 13 zi a zi gotoxy 20 14 zi a aaa j 44 ECROSSER AR B6002 User Manual SOFTWARE INSTALLATION AND 28 PROGRAMMING GUIDE 5 1 Introduction 5 1 1 CAN bus Overview The CAN bus APIs provide interfaces to CAN bus subsystem By invoking these APIs programmers can implement applications which have the functions listed below Set the BAUD rate Send the CAN packages over the CAN bus Receive the CAN packages via the CAN bus hardware interface Set receive mode to normal STD only EXTD only or any Set mask Get mask Set filter Get filter Pe DN x m SS In this CA
2. 53 75 5 5 GPIO and CAN bus cable 76 ECROSSER AR B6002 User Manual INIRODUCTION AR V6002FL series with Intel Atom 0425 0525 processor is a multi function In Vehicle computer which is suitable for using in all kind of applications Besides basic ports like VGA USB COM LAN and GPIO AR V6002FL has complete wireless solutions for selection embedded CAN BUS function to allow microcontrollers and devices to communicate with each other in vehicle In addition AR V6002FL has intelligent power management function with software utility to monitor power status and control power sequence and also compliant with most industry standards for in vehicle usage including CE FCC and E Mark 13 ECROSSER AR B6002 User Manual 1 1 Specifications B IntelR Atom 0525 0425 1 66GHz B 1 x SO DIMM supports DDRIII up to 4GB Memory DDR3 data transfer rates of 800 MT s B 1xVGA B 6x USB2 0 2xSATA 1xCFII 5x RS 232 1x GbE Realtek RTL8111D B 1xLine out 1 x MIC m Canbus Implementation ISO 11898 8 bit GPIO with 4out Optional WiFi Bluetooth GPS 3 5G solution for selection Intelligent power management support standard 12V 24V car battery ECROSSER 1 2 Package Contents Check if the following
3. This function puts the ignition status at the memory pointed by the BYTE pointer pStatus If the returned status 18 5 the 1gnition 1s ON If the returned status 18 5 the ignition is OFF There are macros of Ignition ON and Ignition OFF Return Value If the function gets the ignition status and put it at the memory pointed by the argument successfully this function will return TRUE If any error the function returns FALSE 2 Syntax BOOL PowerPic_SetSoftOffDelayTime int nTime int nTimeUnit Description The Soft Off Delay is the interval between that the system receives a power off signal and that the system generates a power off signal Parameters The parameter nTime is the value to set as delay interval The value of the parameter nTime ranges from 0 255 The parameter nTimeUnit is the unit of nTime Users can use macros TIME UNIT SECOND or TIME UNIT MINUTE to indicate unit Return Value If the function sets the soft off delay successfully this function will return TRUE If any error the function returns FALSE 3 Syntax BOOL PowerPic_SetHardOffDelayTime int nTime int nTimeUnit Description The Hard Off Delay is the interval between that the system is off and that the power 5VSB is off Parameters The parameter nTime is the value to set as delay interval The value of the parameter nTime ranges from 0 255 The parameter nTimeUnit is the unit of nTime Users can use macros TIM
4. 1Mb This Item is for setting the Frame Buffer Buffer Size 8Mb Share system memory as display Quick Power On Self Enabled Test Disabled 26 ECROSSER AR B6002 User Manual Enabled This item sets the mode for dynamic video DVMT mode Disabled memory thechology Total GFX This item sets the mode for GFX video memor Memory d 27 5 lt AR B6002 User Manual 3 3 Power Setup ACPI Function Note The control keys are listed at the bottom of the menu If you need any help with the item fields you can press the F1 key and the relevant information will be displayed ACPI Function Enabled ACPI Suspend Type ACPI System Support ACPI 81 83 Sleep State 28 CROSSER AR B6002 User Manual 3 4 PnP PCI Setup The option configures the PCI bus system All PCI bus system on the system use INT thus all installed PCI cards must be set to this value Main Advanced Power FPeripheral PC Health Boot Exit Resources controlled Au to ESCD Menu Level IRQ Resources Default 15 Disabled Select Enabled to reset Extended System configuration Data ESCD when you exit Setup 1 you have installed a new add on and the system reconfiguration has caused such a serious conflict that the os cannot boot Note The control keys are listed at the bottom of the menu If you need any help with the item fields you can press the F1 key and the relevant info
5. PORT BASE 0xF0 outportb lO PORT BASE 41 0xF0 inversion data to correct because the protect circuit outportb IO PORT BASE OxF2 outportb lO PORT BASE 41 0xF0 Set W83627HF GPIOS30 33 to 0x05 outportb IlO PORT BASE OxF1 outportb IlO PORT BASE 1 0x05 Read W83627HF GPIO34 37 Status if not 0x50 error delay 100 data inportb IlO PORT BASE 1 amp 0xFO if data 0x50 result 1 Set W83627HF GPIO30 33 to Ox0A 42 ECROSSER AR B6002 User Manual outportb IlO PORT BASE OxF1 outportb IlO PORT BASE 1 0x0A Read W83627HF GPIO34 37 Status if not OxAO error delay 100 data inportb IlO PORT BASE 1 amp 0xF0 if data 0xA0 result z1 Exit W83627HF Config outportb lO PORT BASE 0xAA if result Show Fail else Show Pass return result Function Show Help Input Change Return Description Show Title string void Show Help clrscr printf GPIO Test utility for W83627HF n n printf GPIOO 16245 GPIO1 n printt GPIO2 142 6385 GPIO3 n printt GPIO4 GEA 22 GPIOS n printf GPIO6 X E 57 7 X VCC n 43 ECROSSER AR B6002 User Manual Function Show Fail Input Change Return Description Show Fail Message
6. Recive Mode successfully If this function fails not 0 14 Syntax int getReciveMode unsigned long Description This function get Recive Mode from can chipset Parameters pointer Mode to recored the Mode from can chipset Mode 0 is Normal Recive Mode 1 18 Recive only STD Mode 2 is Recive only EXTD Mode 3 is Recive any Message Return Value This function returns 0 if it get the Recive Mode successfully If this function fails not 0 61 ECROSSER AR B6002 User Manual 15 Syntax void lib close void Description This function call when you doesn t use this library Parameters None Return Value None 5 3 2 GPIO and Watchdog GPIO Under linux platform 1 Syntax 132 getInChLevel 132 channel u8 Description Get the value of GPIO Input and put the value at val Parameters I The parameter channel indicates the GPIO Input pins to show Users can use the macros GPI2 GPI3 to indicate the GPIO Input channel For example getInChLevel GPI2 amp val Indicate the GPIO Input channel 2 getInChLevel GPIO GPI3 amp val Indicate the GPIO Input channel 0 and channel 3 The parameter val is an unsigned character pointer The function puts the values of the indicated GPIO channels at the memory pointed by val The bit 0 of shows the value of Input channel 0 The bit 1 of val shows the value of GPIO Input channel 1 Other b
7. Socket Selection for COM1 2 Note 2 STATUS SETTING RS 232 1 3 Default 2 4 SPI BIOS Socket 3 5 RS 422 o DIMM1 DDR II SODIMM Socket DDR 3 SODIMM Socket SATA device connector 1 SATA device connector 2 3 3V CF card only and UDMA mode supported 17 ECROSSER AR B6002 User Manual Note1 Power smart function ModeO function 1 Auto PWRBTN function Mode2 Mode3 Mode4 Smart ATX 5 Mode6 Mode7 Smart power on by trigger Remote SW Others modes are reserved for test only Definition 1 Soft off cycle A period when received power off signal to generate a off signal A 500mS pulse High Low High or Low High Low depends on SIO configuration to mother board s Power Button Pin 2 Hard Off cycle A period when system off 55 to stand by removed G3 In another word the A period of 5VSB on to off when system already off Notes S5 and G3 is follow by ACPI Mode description The main power in is controlled by the switch on chassis Maximum 16 Modes adjusted by 4 switches Mode 8 to mode 15 are reserved for future use Mode 0 ATX mode A Standby is always on B Input voltage is not monitored C Power on off is controlled by remote switch Mode 1 Auto PWRBTN mode A Power output immediately after input is present B Power output is off immediately when input power to off Smart Mode Mode 2 to Mode 7 Mode
8. error the function returns FALSE 9 Syntax BOOL PowerPic GetFirmwareVersion T PIC INFO pPicInfo Description The function gets version information of Power Subsystem firmware Parameters The parameter is a pointer which points to a INFO structure which consists of 9 BYTE Here 15 the definition of structure PIC INFO type struct 1 typedef struct T PIC INFO BYTE 3 BYTE 41 BYTE PicMajorVersion BYTE PicMinorVersion T INFO 73 ECROSSER AR B6002 User Manual 10 11 Return Value If the function gets the firmware version successfully this function will return TRUE If any error the function returns FALSE Syntax BOOL PowerPic GetPicMode BYTE pMode Description The function gets the mode number at which the Power Subsystem 15 operating Parameters The parameter 16 a pointer which points to a variable of type BYTE The returned mode number is put at the memory which is pointed by parameter pMode Return Value If the function gets the PIC mode successfully this function will return TRUE If any error the function returns FALSE Syntax BOOL PowerPic SetDefaultValue Description The function restores the SoftOffDelay and HardOffDelay to the default value Parameters None Return Value If the function sets the default value successfully this function will return TRUE If any error the function returns FALS
9. in operation and the battery drops below Y Voltage with 5 tolerance more than 10 seconds the Power smart function will shut down the motherboard following the standard shut down procedure If the input voltage recovers in 10 seconds over Y Voltage with 596 tolerance again the Power smart function will continue to run Figure 4 if this happens ignition shall be off and on again Mode 2 3 4 or press the remote switch Mode 5 6 7 if you want to turn on system again 2 ECROSSER AR B6002 User Manual Important Please make sure the CN20 jumper is set to the right setting which meet your vehicle power system The power subsystem uses this setting to identify the voltage of your vehicle power system STATUS SETTING 3 42 24 system 23 2 12V system Default Fori2V car battery For 24V car battery X value Minimum Start up voltage Y value Auto shut down voltage Note2 2 to choose RS 232 RS 485 RS 422 by Jump setting B JP7 JP8 JP9 setting to 1 B JP10 JP11 JP12 setting to COM2 1 Type Selection 2 Type Selection 1 3 1 33 3 1 2 218651889639 Note3 It can not use USB Hub with power adaptor that connects to USB port 22 ECROSSER AR B6002 User Manual el BIOS SETTING 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 elemen
10. is Kbps 10 20 50 100 125 250 500 800 1000 The default speed 18 Kbps Return Value This function returns 0 if it set the Baud rate successfully If this function fails not 0 Syntax int CanGetBaudRate unsigned long Baud Description This function get the speed Baud rate of sending and receiving CAN packages Parameters The parameter pointer Baud record the unit is Kbps 10 20 50 100 125 250 500 800 1000 Return Value This function returns O if it set the Baud rate successfully If this function fails not 0 Syntax int get canFd void Description This function get the File Description number Parameters None Return Value File Description number Syntax int lib init void Description This function is used the library call first Parameters None Return Value This function returns 0 library init successfully If this function fails not 0 Syntax 54 ECROSSER AR B6002 User Manual 10 int CanStop void Description This function will stop send and recive can message and into configure mode Parameters None Return Value This function returns 0 if it successfully If this function fails not 0 Syntax int CanStart void Description This function will resume from configure mode to normal mode Parameters None Return Value This function returns if it set the Baud rate successfully If this function fails not 0 Syntax
11. kept until PSON back to high If the PSON does not back to high within 3 minutes the Power smart function will enter a retry cycle described in next section Power off retry If the motherboard cannot be shouted down normally PSON does not go to high within 3 minutes after OFF pulse is sent the Power smart function will send off pulse to motherboard again If the motherboard still cannot be shouted down normally the power output will be turned off directly Figure 3 J Hard off delay 1 minutes During this period system can be turned on again if the off procedure already finished and power button is pushed again or ignition on again Mode 3 A Same as mode 2 except for soft hard off delay time B Soft off delay 1 minute C Hard off delay 5 minutes Mode 4 A Same as mode 2 except for soft hard off delay time B Soft off delay 30 minute C Hard off delay 2 Hours 19 ECROSSER AR B6002 User Manual Mode 5 See Figure 2 as mode 2 except that the power on is controlled by remote switch A Power on is controlled by remote switch ignition must be turned on 2 seconds before remote switch is pressed B The Smart Mode sends off pulse to motherboard 5 seconds after ignition is turned off or remote switch is pressed Soft delay C Hard off delay 1 minutes Mode 6 A Same as mode 5 except for soft hard off and delay B Soft off delay 1 minute C Hard off delay 5 minutes Mode 7 A Same as mode 5 except for sof
12. stored at this variable The unit of the returned value 15 in seconds Return Value If the delay time is returned successfully the function returns 0 If any error it returns 1 Syntax 132 getPowerOnMode u8 powerOnMode Description The function gets the setting of power on mode There are two modes boot from the Ignition or boot from the Remote Switch Parameters The parameter 1s a pointer which points to an unsigned character The returned code 18 stored at this memory There are two power on modes PowerOnMode Oxa5 boot up by the Ignition PowerOnMode 0x5a boot up by the Remote Switch Return Value If the power on mode 15 returned successfully the function returns If any error it returns 1 Syntax 132 getBattVolt float volt Description The function gets the voltage reading of the battery Parameters The parameter volt is a pointer which points to an variable of type float The unit of the returned value is voltage Return Value If the reading of voltage 1s returned successfully the function returns If any error it returns 1 Syntax 132 getPicFw Ver struct PicInfo ver Description The function gets version information of Power Subsystem firmware 69 ECROSSER AR B6002 User Manual 12 13 Parameters The parameter is a pointer which points to a structure which consists of 9 unsigned characters Here is the definition of struct
13. value to set to watchdog timer register The range is 0 255 Return Value If the function gets the values successfully it returns 0 If any error it returns not zero 5 3 3 Power Subsystem Under linux platform 1 Syntax 132 getIgnStatus u8 ignStatus 66 ECROSSER AR B6002 User Manual Description Get the current ignition status The ignition has two statuses ON or OFF Parameters This function puts the ignition status at the memory pointed by the unsigned character pointer ignStatus If the returned status is 0xa5 the ignition is ON If the returned status is 5 the ignition is OFF There are macros of Ignition ON and Ignition OFF in pwr acce h Return Value If the function gets the ignition status and put it at the memory pointed by the argument successfully this function will return 0 If any error the function returns 1 Syntax 132 setSoftOffDelayS u32 setTime Description The Soft Off Delay is the interval between that the system receives a power off signal and that the system generates a power off signal This function sets up the interval in seconds Parameters The parameter 1s of the type of unsigned long The value of the parameter ranges from 0 255 The unit of the value of the parameter 15 seconds Return Value If the function sets the delay time successfully it will return If any error the function returns 1 Syntax 132 setSoftOffDelayM u32 setTime
14. 1 Introduction 6 SCC UG AUN S EET I T ITEM 7 Package uos 8 1 3 BIOCK DIAO 2 9 2 H W Information 2 2 2 nnne 10 2 1 Locations of Connector and Jumper Setting 10 2 2 Connector and Jumper Setting Table 13 3 Blos setting 23 1 a a 24 32 Advanced 11565611 26 39 OWEN 28 29 3 9 Peripherals 31 Dossoavmstt SU MI 32 al SO UD e 33 34 4 WATCHDOG GPIO AND BYPASS 36 4 1 Watchdog Programming 36 4 2 GPIO Programming UI RUF 40 5 SOFTWARE INSTALLATION and PROGRAMMING GUIDE 45 45 DIOS 1 1 8 1 50 ECROSSER AR B6002 User Manual 5 3 API List and 0685 2 44554
15. 2 See Figure 1 A Power on is controlled by ignition remote switch does not make any action to power on B Power on retry If the motherboard cannot be turned on normally PSON does not go to low the Power smart function will turn off 5VSB and then turn on 5VSB and retry Send on 18 ECROSSER AR B6002 User Manual pulse to motherboard again The power board will re try this procedure until successfully turn on motherboard C Power smart function sends ON pulse to motherboard when ignition is on for more than 2 seconds D Power smart function will ignore the status change of ignition after ON pulse is send to motherboard for 3 minutes After this period the Power smart function will start to check its status This can avoid an improper OFF process before the OS is complete booted E Power off is controlled by remote switch or ignition Remote switch has higher priority than ignition Remote switch is optional F Power smart function sends off pulse to motherboard 5 seconds after ignition is turned off or remote switch is pressed Soft delay G Power smart function will ignore the status change of ignition and remote switch during the OFF pulse is sent out and the PSON return to high This will avoid an improper ON process before the motherboard is completely shot off IL The digital output optional will go from high to low at the moment that OFF pulse is sent to motherboard The low state will be
16. Description The Soft Off Delay is the interval between that the system receives a power off signal and that the system generates a power off signal This function sets up the interval in minutes Parameters The parameter is of the type of unsigned long The value of the parameter ranges from 0 255 The unit of the value of the parameter 18 minutes Return Value If the function sets the delay time successfully it will return If any error the function returns 1 Syntax 132 setHardOffDelayS 132 Description The Hard Delay is the interval between that the system is and that the power 5VSB is off This functions set up the interval in seconds Parameters The parameter 15 of the type of unsigned long The value of the parameter ranges from 0 255 The unit of the value of the parameter 15 seconds Return Value If the function sets the delay time successfully it will return If any error the function 67 ECROSSER AR B6002 User Manual returns 1 5 Syntax 132 setHardOffDelayM u32 setTime Description The Hard Off Delay is the interval between that the system is off and that the power 5VSB is off This functions set up the interval in minutes Parameters The parameter 1s of the type of unsigned long The value of the parameter ranges from 0 255 The unit of the value of the parameter 18 minutes Return Value If the function sets the delay time successfully it will return 0 If a
17. Device Active register outportb IO Port 1 0 01 outportb IO Port Address OxF5 Select Watchdog count mode seconds or minutes outportb IO Port Address 1 Format Default is second outportb IO Port Address 0xF6 Set Watchdog Timer Value outportb IO Port Address 1 Time 0x00 to disable max OxFF while 1 outportb IO Port Address OxF6 Watchdog Timer Value Timezinportb IO Port Address 1 gotoxy 20 10 if Time_Format m Time cprintf gt gt gt After d Minutes will reset the system lt lt lt Time if Time Format s Time Format S cprintf gt gt gt After d Second will reset the system lt lt lt Time j return 0 39 ECROSSER AR B6002 User Manual 4 2 GPIO Programming This section describes the usage of GPIOs The electrical characteristics of GPIOs and GPIO cable color as following table pm perme coer pm perme coer 1 oror 4 oro 000 Red White 00 GND Black GND Black 062 22 1 ne Light Green Light Blue ewe ww Bow wi _ To quickly understand the GPIO programming under Linux we also provide a sample application source code in product CD naming gpio c It can be used to control GPIO pin described above and also LED Rev Da
18. E 74 ECROSSER AR B6002 User Manual 5 4 Appendix Users have to modify the boot loader configuration to support 6 Take the grub configuration as an example Add 8250 nr 5 3 noirqdebug at the setting of kernel Here XX represents the number of COM ports the system will support Because the power subsystem connects to main system via COMG the XX must be greater or equal to 6 1 Modify the grub conf root linux vi boot grub grub conf default 0 timeout 5 splashimage hd0 0 grub splash xpm gz hiddenmenu title Fedora Core 2 6 27 5 117 FC10 root 140 0 kernel vmlinuz 2 6 27 5 117 FC10 ro root dev hda2 rhgb quiet 8250 nr uartsz6 noirqdebug initrd initrd 2 6 27 5 117 FC10 img 2 List the status of the COM ports in the system setserial g dev ttyS dev ttySO UART 165504 Port 0 0318 IRQ 4 dev ttyS1 UART 16550A Port 0 0218 IRQ dev ttyS2 UART 16550A Port 0x03e8 IRQ 11 dev ttyS3 UART 16550A Port 0x02e8 IRQ 10 dev ttyS4 UART 165504 Port 0 0448 IRQ 11 dev ttyS5 UART 16550A Port 0x04e8 IRQ 10 The node dev ttyS5 corresponds to COME The IO port is 0x4e8 IRQ 10 75 ECROSSER AR B6002 User Manual 5 5 GPIO and CAN bus cable color om 76
19. ECROSSER AR B6002 User Manual AR B6002 Board Fan less with Intel Pineview ICH8M User Manual Manual Rev 1 13 ECROSSER AR B6002 User Manual Revision 1 13 ECROSSER AR B6002 User Manual Copyright 201 1 Rights Reserved Manual s first edition For the purpose of improving reliability design and function the information in this document is subject to change without prior notice and does not represent a commitment on the part of the manufacturer In no event will the manufacturer be liable for direct indirect special incidental or consequential damages arising out of the use or inability to use the product or documentation even If advised of the possibility of such damages This document contains proprietary information protected by copyright rights are reserved No part of this Manual may be reproduced by any mechanical electronic or other means in any form without prior written permission of the manufacturer Trademarks AR B6002 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 other product names mentioned herein are used for identification purposes only and may be trademarks and or registered trademarks of their respective companies ECROSSER AR B6002 User Manual Table of Contents
20. E_UNIT_SECOND or TIME_UNIT_MINUTE to indicate unit Return Value If the function sets the hard off delay successfully this function will return TRUE If any error the function returns FALSE 4 Syntax 71 ECROSSER AR B6002 User Manual BOOL PowerPic SetPowerOnMode BYTE bMode Description The function sets up the source of the boot up signal of the system There are two choices boot from the Ignition or boot from the Remote Switch Parameters bMode Oxa5 boot up by the Ignition bMode 0x5a boot up by the Remote Switch There are macros of Ignition mode and Remote Switch mode in pwr_acce h Linux and AR B6002 LIB h Windows Return Value If the function sets the power on mode successfully this function will return TRUE If any error the function returns FALSE 5 Syntax BOOL PowerPic_GetSoftOffDelayTime int pSeconds Description The Soft Off Delay is the interval between that the system receives a power off signal and that the system generates a power off signal This function gets the interval Parameters The parameter pSeconds is a pointer which points to an int variable The returned value is stored at this variable The unit of the returned value 1s 1n seconds Return Value If the function gets the soft off delay successfully this function will return TRUE If any error the function returns FALSE 6 Syntax BOOL PowerPic GetHardOffDelayTime pSeconds Description The
21. Hard Off Delay is the interval between that the system is off and that the power 5VSB is off This function gets the interval Parameters The parameter pSeconds is a pointer which points to an int variable The returned value is stored at this variable The unit of the returned value 15 seconds Return Value If the function gets the hard off delay successfully this function will return TRUE If any error the function returns FALSE 7 Syntax 72 ECROSSER AR B6002 User Manual BOOL PowerPic_GetPowerOnMode B YTE pMode Description The function gets the setting of power on mode There are two modes boot from the Ignition or boot from the Remote Switch Parameters The parameter pMode is a pointer which points to an BYTE The returned code is stored at this memory There are two power on modes pMode 5 boot up by the Ignition pMode 0x5a boot up by the Remote Switch Return Value If the function gets the power in mode successfully this function will return TRUE If any error the function returns FALSE 8 Syntax BOOL PowerPic GetBattery Voltage float pVoltage Description The function gets the voltage reading of the battery Parameters The parameter pVoltage is a pointer which points to an variable of type float The unit of the returned value is voltage Return Value If the function gets the battery voltage successfully this function will return TRUE If any
22. N bus API package we provides 1 On Linux platform Linux driver module of CAN bus subsystem and the driver load unload scripts On Windows platform Device driver and install program of CAN bus subsystem 2 API header file API libraries in static library format and shared library format 3 CAN bus test utility and its source code Installation Procedure of CAN Bus Driver On Linux platform 1 Change to the root user account 2 Inthe driver directory execute the script install 3 Make sure arb6002 is in the module list 45 ECROSSER AR B6002 User Manual 4 If the driver is no longer needed execute the script uninstall to unload the driver On Windows platform 1 In the driver directory execute the setup exe program The CAN bus APIs Before executing the applications which invoke the CAN bus APIs users should make sure that the Linux device driver or the Windows device driver of CAN bus has been installed On Linux platform after successfully installing the device driver a character device node named 0 will be created automatically The APIs open the device node dev canO implicitly so acquiring a file descriptor of 0 by users is not necessary In order not to degrade the performance of the CAN bus subsystem the device node 0 is limited to be opened at most once at any moment 1 if application accesse
23. PI and macro definitions 2 libcan a The API library in static library format 3 libcan so The API library in shared library format 4 can utility c The source code of the utility 5 Makefile On Windows platform 1 AR B6002 h The header file of the APIs and macro definition This header file 18 an aggregate header which includes APIs declarations and macros for CAN Bus GPIO Watchdog and Power Subsystem 2 AR B6002 lib The API library in static library format This library 1s an aggregate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem 3 AR B6002 dll The API library in dynamically linked library format This library 1s an aggregate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem 4 subdirectory AR B6002 LIB The sample project by Microsoft Visual Studio 2010 5 2 2 GPIO and Watchdog On Linux platform 50 ECROSSER AR B6002 User Manual 1 P sio acce c The source code of the Watchdog and GPIO APIs for accessing the SuperlO Sio acce h This file includes the declarations of the APIs and macro definitions main c The source code of the utility Makefile On Windows platform AR B6002 h The header file of the APIs and macro definition This header file is an aggregate header which includes APIs declarations and macros for CAN Bus GPIO Watchdog and Power Subsystem AR B6002 lib The API library in static library format This library is an agg
24. This function to restet canbus chip Parameters None Return Value This function returns 0 if it reset the chipset successfully If this function fails not 0 14 Syntax int setReciveMode unsigned long Mode 56 ECROSSER AR B6002 User Manual Description This function set Recive Mode Parameters Mode 0 is Normal Recive Mode 1 is Recive only STD Mode 2 is Recive only EXTD Mode 3 1s Recive any Message Return Value This function returns O if it set the Recive Mode successfully If this function fails not 0 15 Syntax int getReciveMode unsigned long Mode Description This function get Recive Mode from can chipset Parameters pointer Mode to recored the Mode from can chipset Mode 0 is Normal Recive Mode 1 is Recive only STD Mode 2 is Recive only EXTD Mode 3 1s Recive any Message Return Value This function returns 0 if it get the Recive Mode successfully If this function fails not 0 16 Syntax void lib close void Description This function call when you doesn t use this library Parameters None Return Value None Under windows platform 1 Syntax void sendCanMessages canmsg_t buffer u8 count Description This function sends out CAN packages over the CAN bus 57 ECROSSER AR B6002 User Manual Parameters If there is more than one CAN package to send these CAN packages are stored in a canmsg_t array This function sends out packages in a sequential fashion The memory addr
25. User Manual Press Y to load the default values that are factory set for optimal performance system operations This allows you to exit Setup without storing any changes in CMOS The previous selections remain in effect This will exit the Setup utility and restart your computer 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 Type the password up to eight characters in length and press lt Enter gt The password typed now will clear any previous password from the CMOS memory You will be asked to confirm the password Type the password again and press lt Enter gt You may also press Esc to abort the selection and not enter a password To disable a password just press Enter when you are prompted to enter the password A message will confirm that the password will be disabled Once the password is disabled the system will boot and you can enter Setup freely ECROSSER AR B6002 User Manual WATCHDOG GPIO AND BYPASS PROGRAMMING 4 1 Watchdog Programming This section describes the usage of WATCHDOG AR B6050 integrated the WATCHDOG that enable user to reset the system after a time out event User can use a program to enable the WATCHDOG and program the timer in range of 1 255 second s minute s Once user enables the WATCHDOOG the timer will start
26. and notify All but keyboard yOu 25 5 lt 3 2 Advanced Chipset Setup This section consists of configuration entries system performance or modify some system features according to your preference Some entries are required and reserved by the board s design Advanced Be THU 11 74 10 1 Hyper Threading Technology Enabled Quick Power On Self Test Enabled Full Screen 1060 Show Disabled x APIC Mode Enabled Init Display First onboard Boot Display CRT On chip Frame Buffer Size 8MB DVMT Mode Enabled Total GFX Memory 128MB AR B6002 User Manual alow to improve your Boot Exit Item Help Menu Leve Enabled for windows and Linux 2 4 05 optimized for Hyper Threading Technology and Disable for other 05005 not optimized for Hyper Threading Technology Note The control keys are listed at the bottom of the menu If you need any help with the item fields you can press the F1 key and the relevant information will be displayed Option Description Hyper Threading Enabled Enable for Windows XP and Linux Technology Disabled Disable for other OS This category speeds up the Power On Self Test POST after you have powered on the computer If it is set to Enabled the BIOS will shorten or skip some check items during POST Pull Sereen Lone Show select Enabled to show the full screen Disabled logo if you have an add in BIOS On Chip Frame
27. ate the GPIO Output channel For example getOutChLevel GPO2 amp val Indicate the GPIO Output channel 2 63 ECROSSER AR B6002 User Manual ndicate the Output channel 0 and channel 3 getOutChLevel GPO3 amp val II The parameter val is an unsigned character pointer The function puts the values of the indicated GPIO channels at the memory pointed by val The bit 0 of shows the value of GPIO Output channel 0 The bit 1 of val shows the value of GPIO Output channel 1 Other bits show the corresponding GPIO Output channels Because there are only four channels bit bit 7 of val are always zero Here 15 an example If GPIO Output channel 0 and channel 2 are both 1 unsigned char ch getOutChLevel GPOOIGPO2 amp ch The returned value of variable ch 15 0 5 Return Value If the function gets the values successfully it returns 0 If any error it returns 1 Under windows platform 1 Syntax int getGPIOBitValue int 1BitNumber bool bValue Description Get the value of GPIO and put the value at bValue Parameters I The parameter iBitNumber indicates the GPIO Input pins to show Users can use the macros 0 1 2 3 GPI 4 5 6 or 7 to indicate the GPIO channel For example getGPIOBitValue 0 amp val Indicate the GPIO Outpu
28. ct number id CAN message ID timestamp When a CAN package 18 received the CAN device driver will annotate a timestamp to the timestamp field in the canmsg_t variable and return this canmsg_t variable to the caller length The number of the data bytes which are sent or received in the data field of CAN message This field is necessary while transmitting a Standard or Extended Data Frame Programmers have to explicitly set up this field The length of data 1s 0 8 For example canmsg msg msg data 0 Oxal msg data 1 Oxb2 msg data 2 0xc3 msg length 3 47 ECROSSER AR B6002 User Manual data The byte array which holds the message data 5 1 2 GPIO and Watchdog Overview AR B6002 provides both a GPIO interface and a Watchdog timer Users can use the GPIO and Watchdog APIs to configure and to access the GPIO interface and the Watchdog timer The GPIO has four input pins and four output pins The Watchdog timer can be set to 1 255 seconds Setting the timer to zero disables the timer The remaining seconds of the timer to reboot can be read from the timer In this GPIO and Watchdog package on Linux and Windows platform we provide 1 API source code 2 and Watchdog test utility and the utility source code 5 1 3 Power Subsystem Overview When the AR B6002 is at Power Mode 15 the Power Subsystem APIs can be used to get and set the configuration of power subsystem By invoking the Powe
29. ess of the first CAN package to send is pointed at by the parameter buffer The number of CAN packages to send is indicated by the parameter count If the resource of sending out the CAN packages 18 temporarily unavailable the process which invokes this function will be blocked Block until the resource 15 available again Return Value None 2 Syntax int getCanMessages canmsg_t buffer 18 count Description This function receives CAN packages from the CAN bus subsystem Parameters This function stores received CAN packages sequentially at an array of type canmsg t The number of packages to receive is indicated by the parameter count Before finishing receiving count packages the process which invokes this function will be temporarily blocked Block I O if there 15 no incoming CAN package Return Value If this function receives the packages successfully it returns 0 If this function fails not 0 3 Syntax int CanSetBaudRate unsigned long Baud Description This function sets up the speed Baud rate of sending and receiving CAN packages Parameters The parameter Baud could be the unit is Kbps 10 20 50 100 125 250 500 800 1000 The default speed 1s 0 Kbps Return Value This function returns 0 if it set the Baud rate successfully If this function fails not 0 4 Syntax int CanGetBauRate unsigned long Baud Description This function get the speed Baud rate of send
30. ing and receiving CAN packages 58 ECROSSER AR B6002 User Manual Parameters The parameter pointer Baud record the unit is Kbps 10 20 50 100 125 250 500 800 1000 Return Value This function returns if it set the Baud rate successfully If this function fails not 0 Syntax int lib init void Description This function is used the library call first Parameters None Return Value This function returns 0 library init successfully If this function fails not 0 Syntax int CanStop void Description This function will stop send and recive can message and into configure mode Parameters None Return Value This function returns if it successfully If this function fails not 0 Syntax int CanStart void Description This function will resume from configure mode to normal mode Parameters None Return Value This function returns 0 if it set the Baud rate successfully If this function fails not 0 Syntax int setMask unsigned long mask int num int flag Description This function setMask to canbus chip 39 ECROSSER AR B6002 User Manual Parameters num 0 is set MaskO 1 is set Mask1 extd flag 1 is 29bit 0 1s 1161 mask is mask value if set 11bit the maxmum mask value is Ox7ff else the maxmum mask value 15 OxI FFFFFFF Return Value This function returns if it set the Mask successfully If this function fails not 0 9 Syntax void getMask unsig
31. int setMask unsigned long mask int num int flag Description This function setMask to canbus chip Parameters num 0 is set Mask0 1 is set Mask1 extd flag 1 is 29bit 0 1s 1161 mask is mask value if set 11bit the maxmum mask value is Ox7ff else the maxmum mask value 15 OxI FFFFFFF Return Value This function returns if it set the Mask successfully If this function fails not 0 Syntax void getMask unsigned long mask int num int flag Description This function getMask from canbus chip Parameters num 0 is get Mask0 1 is get Maskl extd flag 118 29bit O is 11bit 55 ECROSSER AR B6002 User Manual pointer mask 18 recored get mask value Return Value None 11 Syntax int setFilter unsigned long filter int num int extd flag Description This function set Filter to canbus chip Parameters num 0 5 18 set filter 0 5 extd flag 1 is 29bit 018 1161 filter is filter value if set 11bit maxmum filter value is Ox7ff else the maxmum filter value is Ox IFFFFFFF Return Value This function returns O if it set the Filter successfully If this function fails not 0 12 Syntax void getFilter unsigned long filter int num int flag Description This function get Filter from canbus chip Parameters num 0 5 18 get filter 0 5 extd flag 1 is 29bit 015 1161 pointer filter 15 recored get filter value Return Value None 13 Syntax int CanChipReSet void Description
32. items are included in the package Quick Manual AR B6002 e 1 x Software Utility CD AR B6002 User Manual ECROSSER AR B6002 User Manual 1 3 Block Diagram lav IN 22 11 05 VR11 Finaviaw D linawviaw HM ADri211A POWER x 2 CHIE 1 RIS 2 211 ARIA 2 0 2 A 1 0 AUDIO LINE Crean Hu clus xd UJE LORI E DEI mim LP ka 4 GEF TITT iT Fear 110 PCI I Tirar Hardwara 1 COM FORI T DEPREI TIT CTI ETI TA E da mmm resins 1 smial pun ITTE wisely lint Pome TIE Tet rus rumes ECROSSER AR B6002 User Manual H W INFORMATION This chapter describes the installation of AR B6050 At first it shows the Function diagram and the layout of AR B6050 It then describes the unpacking information which you should read carefully as well as the jumper switch settings for the AR B6050 configuration 2 1 Locations of Connector and Jumpe
33. its show the corresponding GPIO Input channels Because there are only four channels bit 4 bit 7 of val are always zero Here 18 an example If GPIO Input channel 1 and channel 3 are both 1 62 ECROSSER AR B6002 User Manual unsigned char ch getInChLevel GPIIIGPI3 amp ch The returned value of variable ch 15 Return Value If the function gets the values successfully it returns 0 If any error it returns 1 2 Syntax 132 setOutChLevel 132 channel u8 val Description Set the value of GPIO Output according to the variable val Parameters I The parameter channel indicates the Output pins to set Users can use the macros GPOI GPO2 GPO3 to indicate the Output channels The parameter val indicate the value to be set to Output channel The acceptable values 18 limited to and 1 For example Setting the GPIO Output channel 2 to 1 setOutChLevel 2 1 Setting the GPIO Output channel 0 and channel 3 to 0 getInChLevel GPO3 0 Return Value If the function sets the values successfully it returns 0 If any error it returns 1 3 Syntax 132 getOutchLevel 132 channel u val Description Get the value of GPIO Output and put the value at val Parameters I The parameter channel indicates the Output pins to show Users can use the macros GPOI GPO2 to indic
34. ned long mask int num int extd flag Description This function getMask from canbus chip Parameters num 0 is get Mask0 1 is get Maskl extd flag 1 is 29bit 0 15 1161 pointer mask 18 recored get mask value Return Value None 10 Syntax int setFilter unsigned long filter int num int extd flag Description This function set Filter to canbus chip Parameters num 0 5 18 set filter 0 5 extd flag 1 is 2961 015 1161 filter is filter value if set 11bit maxmum filter value is Ox7ff else the maxmum filter value is Ox 1 FFFFFFF Return Value This function returns O if it set the Filter successfully If this function fails not 0 11 Syntax void getFilter unsigned long filter int num int flag Description This function get Filter from canbus chip Parameters num 0 5 18 get filter 0 3 60 ECROSSER AR B6002 User Manual extd flag 118 29bit 0 1s 1161 pointer filter 15 recored get filter value Return Value None 12 Syntax int CanChipReSet void Description This function to restet canbus chip Parameters None Return Value This function returns 0 if it reset the chipset successfully If this function fails not 0 13 Syntax int setReciveMode unsigned long Mode Description This function set Recive Mode Parameters Mode 0 is Normal Recive Mode 1 18 Recive only STD Mode 2 is Recive only EXTD Mode 3 is Recive any Message Return Value This function returns 0 if it set the
35. nt Description This function sends out CAN packages over the CAN bus Parameters If there is more than one CAN package to send these CAN packages are stored in a canmsg 1 array This function sends out packages in a sequential fashion The memory address of the first CAN package to send is pointed at by the parameter buffer The number of CAN packages to send is indicated by the parameter count If the resource of sending out the CAN packages 18 temporarily unavailable the process which invokes this function will be blocked Block I O until the resource is available again Return Value None 2 Syntax int getCanMessages canmsg_t buffer u8 count Description This function receives CAN packages from the CAN bus subsystem Parameters This function stores received CAN packages sequentially at an array of type canmsg t The number of packages to receive is indicated by the parameter count Before finishing receiving count packages the process which invokes this function will be temporarily blocked Block I O if there 15 no incoming CAN package Return Value If this function receives the packages successfully it returns If this function fails not 0 3 Syntax int CanSetBaudRate unsigned long Baud 53 ECROSSER AR B6002 User Manual Description This function sets up the speed Baud rate of sending and receiving CAN packages Parameters The parameter Baud could be the unit
36. ny error the function returns 1 6 Syntax 132 setPowerOnMode u8 powerOnMode Description The function sets up the source of the boot up signal of the system There are two choices boot from the Ignition or boot from the Remote Switch Parameters PowerOnMode Oxa5 boot up by the Ignition PowerOnMode 0x5a boot up by the Remote Switch There are macros of Ignition mode and Remote Switch mode in pwr_acce h Linux and AR B6002 h Windows Return Value If the function sets power on mode successfully it will return 0 If any error the function returns 1 7 Syntax 132 getSoftOffDelay u32 Time Description The Soft Off Delay is the interval between that the system receives a power off signal and that the system generates a power off signal This function gets the interval Parameters The parameter 18 a pointer which points to an unsigned long variable The returned value 1s stored at this variable The unit of the returned value 15 in seconds Return Value If the delay time is returned successfully the function returns 0 If any error it returns 1 68 ECROSSER AR B6002 User Manual 8 10 11 Syntax 132 getHardOffDelay u32 Time Description The Hard Off Delay is the interval between that the system is off and that the power 5VSB is off This function gets the interval Parameters The parameter 18 a pointer which points to an unsigned long variable The returned value 1s
37. ort 2 Lower Port 1 14 ECROSSER AR B6002 User Manual 17 CN7 USB connector 18 CN28 PIC Programming connector Upper Port 4 Lower Port 3 19 CN20 Setting Voltage level of Battery 20 VGA1 D SUB 15 female connector for VGA output STATUS SETTING 1 2 24 972 VGA output 12 Default hor PIC programming connector a D SUB 15 female connector for DCD SIN DT DT SOUT DTR 422R 422R pee e oon Cpewpl ECROSSER AR B6002 User Manual 25 PWR1 Power Input Terminal Block 26 FUSE1 Fuse connector Connector mI sme Im N 27 CN23 SELECT for 1 2 28 JP8 JP11 RS 232 422 RS 485 CN24 RI SELECT for COM3 4 Selection for COM1 2 Note 2 1 2 1 3 Default Default 5 422 RI IE Default 5 485 29 CN25 RI SELECT for COM5 6 Reserve 30 5 RS232 signal connector for port 5 Reserve STATUS SETTING RI 1 2 5 Default 21 DEFINE 21 DEFINE DCD 5 DSR 5 6 5 6 6 5 1 RI 5 Default ee 31 JP5 JP6 5 485 Termination 120 ohm 32 JP7 JP10 RS 232 RS 422 RS 485 Reserve Selection for COM1 2 Note 2 STATUS SETTING RS 232 Default open Default 16 ECROSSER AR B6002 User Manual 33 JP9 JP12 RS 232 RS 422 RS 485 34 U8 SPI BIOS
38. r Setting 2 1 1 Locations Top side LJAR B amp 0D2D4 8 000205 10 ECROSSER AR B6002 User Manual o CNG CN18 ICN23 CN24 ens Miipiie __ Reserve JP5 JP6 Reserve JP7 JP10 JP9 JP12 N28 N20 CNO9 Reserve CN10 Reserve CN17 LED1 WH1 0 2 60600000060 11 ECROSSER 2 1 2 Locations Bottom Side AR B6002 User Manual 12 ECROSSER AR B6002 User Manual 2 2 Connector and Jumper Setting Table 1 CN6 BLUETOOTH connector 2 CN8 GPS connector 3 SATA PWHR1 SATA Power connector 4 SATA PWR2 SATA Power connector 5 CN2 Pin Header for clear CMOS 6 CN13 SIM Card Slot SIM Card Slot 3G Module 7 BH1 CMOS battery holder 8 MINIPCIE1 Mini PCI E connector for 3 5G module CMOS battery holder MINI PCI E connector 13 ECROSSER AR B6002 User Manual 9 CN9 Internal USB2 0 connector Reserve 10 CN10 Internal USB2 0 connector Reserve MINI PCI E connector FPGA programmable header DEFINE DEFINE 45 connector for Gigabit Ethernet port 1 Upper P
39. r Subsystem APIs the users can 1 Get the current status of ignition ON or OFF oet the Power On mode This setting will be kept in the power subsystem and will take effect at next system boot From the power subsystem get the stored setting of Power On mode Get or set the time of Hard Off delay in seconds or in minutes Get or set the time of Soft Off delay in seconds or in minutes Get the battery voltage Get the version number of the firmware of the Power Subsystem Set the Hard Off delay and Soft Off delay to the default value Hi 2 48 ECROSSER AR B6002 User Manual The power subsystem connects to the main system via the COMO The Linux s default supported COM interfaces are 1 4 The Power Subsystem APIs implicitly communicate with power subsystem through 6 Users must take extra steps to configure Linux kernel in order to support 6 Please refer to Appendix A for more information Users don t need extraordinary setup on Windows platform to support 6 In this Power Subsystem package we provide 1 APIs to access power subsystem and the source code of the APIs 2 The utility and source code to monitor and set up power modes ignition status and power off time On Linux platform the Makefile to create API libraries and utility 49 ECROSSER AR B6002 User Manual 5 2 File Descriptions 5 2 1 CAN Bus On Linux platform 1 can h The header file of the A
40. regate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem AR B6002 dll The API library in dynamically linked library format This library is an aggregate library It includes APIs for CAN Bus Watchdog and Power Subsystem subdirectory 6002 LIB The sample project by Microsoft Visual Studio 2010 5 2 3 Power Subsystem On Linux platform 1 pwr acce c The source code of the APIs for accessing the power subsystem 2 pwr acce h This file includes the declarations of the APIs and macro definitions The source code of the utility 4 Makefile On Windows platform 51 ECROSSER AR B6002 User Manual l AR B6002 h The header file of the APIs and macro definition This header file 18 an aggregate header which includes APIs declarations and macros for CAN Bus GPIO Watchdog and Power Subsystem AR B6002 lib The API library in static library format This library 1s an aggregate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem AR B6002 dll The API library in dynamically linked library format This library 1s an aggregate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem subdirectory AR B6002 LIB The sample project by Microsoft Visual Studio 2010 52 ECROSSER AR B6002 User Manual 5 3 API List and Descriptions 5 3 1 CAN Bus Under linux platform 1 Syntax void sendCanMessages canmsg t buffer u8 cou
41. rmation will be displayed Item Option Description Normally you leave this field Disabled select Enabled to reset Extended System Configuration Data ESCD when you exit Setup If you have installed a new add on and the system reconfiguration has caused such a serious conflict then the operating system cannot boot The Award Plug and Play BIOS has the capacity to automatically configure all of the boot and Plug and Play compatible devices However this capability means absolutely nothing unless you are using a Plug and Play Reset Configuration Enabled Data Disabled Resources Auto ESCD Controlled By Manual 29 ECROSSER AR B6002 User Manual operating system such as Windows 95 If you set this field to manual then you may choose specific resources by going into each of the submenus When resources are controlled manually assign a type to each system interrupt depending on the type of the device that uses the interrupt IRQ Resources N A 30 CROSSER AR B6002 User Manual 3 5 Peripherals Setup This option controls the configuration of the board s chipset Control keys for this screen are the same as for the previous screen LER ELTE Peripheral 110 Onboard Serial Port 2 2F8 IRQ3 Onboard Serial Port 3 3E8 IRO11 Menu Level 4 Onboard Serial Port 4 2bE8 IRO10 Onboard Serial Port 5 4F8 IRO11 gt USB Device Setting Press Enter onchip IDE Device No
42. rn it to the caller as an unsigned integer 65 ECROSSER AR B6002 User Manual 2 Syntax void setWtdTimer u val Description This function sets the watchdog timer register to the value val and starts to count down The value could be 0 255 The unit is second Setting the timer register to 0 disables the watchdog function and stops the countdown Parameters The parameter val is the value to set to watchdog timer register The range 15 0 255 Return Value None Under windows platform 1 Syntax int readWatchdog unsigned char puc Value Description This function read the value of the watchdog time counter and return it to the caller Parameters The parameter is an unsigned character pointer The function puts the values read from watchdog at the memory pointed by pucValue Return Value If the function gets the values successfully 1 returns 0 If any error it returns not zero 2 Syntax int startWatchdog unsigned char ucUnit unsigned char uc Value Description This function sets the watchdog timer register to the value uc Value and starts to count down The value could be 0 255 The unit 15 second Setting the timer register to 0 disables the watchdog function and stops the countdown Parameters The parameter ucUnit is the unit to set to watchdog timer register 0 indicates second And l indicates minute The parameter uc Value is the
43. s CAN bus via the APIs the application B which either tries to open 4 or uses CAN bus will result failure On Windows platform after successfully installing the device driver there is a device which shows CAN Bus Driver in the Device Manager The APIs on Windows platform open this device implicitly User can call the APIs directly without opening the CAN Bus subsystem device CAN Message Format DEFINE typedef char 18 typedef unsigned char u typedef short 116 typedef unsigned short 016 typedef unsigned long u32 typedef int 132 typedef struct i32 flags 132 cob u32 id struct timeval timestamp 116 length 18 data 8 canmsg t 46 ECROSSER AR B6002 User Manual To transmit a CAN package the programmer has to fill in the fields in the variable of type canmsg t and pass this canmsg t variable as an argument to invoke the APIs The fields in CAN message are described below flags This field holds the information of message type Programmers can set the message type as 1 Standard Data Frame canmsg tmsg Declare a variable msg of type canmsg t msg flags 20 Setting the flags field to O defines the msg as ordinary standard data frame 2 Extended Data Frame canmsg msg msg flags flags field to 1 defines the msg as an lextend data frame cob This field 1s reserved for holding a message communication obje
44. stem from the devices in the selected sequence First Second Third Boot Device Other Boot Device These fields allow the system to search for an OS from LAN These fields set the Boot Priority for each Hard Disk Enabled LAN Boot Select Disabled Hard Disk Boot Priority N A 33 5 lt AR B6002 User Manual 3 8 Exit Setup This option is used to exit the BIOS main menu and change password Save amp Ex1t Setup Note The control keys are listed at the bottom of the menu If you need any help with the item fields you can press the F1 key and the relevant information will be displayed 1 Press Y to store the selections made in the menus in CMOS a special section of the memory that stays on after you turn your system off The next time you boot your computer the BIOS configures your system according to the setup selections stored in CMOS After saving the values the system will restart Press Enter on this item to confirm Save amp Exit Setup Save to CMOS and EXIT Y N Y 34 ECROSSER Load Optimized Defaults Exit Without Saving Set Password When you press Enter on this item you will see a confirmation dialog box with a message like this Load Optimized Defaults Y N N Press Enter on this item to confirm Quit without saving Y N Y Press Enter on this item to confirm ENTER PASSWORD 35 AR B6002
45. t channel 0 getGPIOBitValue 6 amp val Indicate the GPIO Input channel 6 The parameter bValue is an bool pointer The function puts the values of the indicated GPIO channels at the memory pointed by True indicates HI and false indicates LOW 64 ECROSSER AR B6002 User Manual Return Value If the function gets the values successfully 1 returns 0 If any error it returns not zero 2 Syntax int setGPIOBitValue int 1BitNumber bool bValue Description Set the value of GPIO Output according to the variable bValue Parameters I The parameter channel indicates the Output pins to set Users can use the macros GPO BIT 0 GPO BIT 1 GPO BIT 2 or GPO BIT 3 to indicate the GPIO Output channels The parameter bValue indicate the value to be set to GPIO Output channel True indicates HI and false indicates LOW For example Setting the GPIO Output channel 2 to HI setGPIOBitValue 2 true Setting the GPIO Output channel 3 to LOW setGPIOBitValue GPO BIT 3 false Return Value If the function sets the values successfully it returns 0 If any error it returns not zero Watchdog Under linux platform 1 Syntax 18 getWtdTimer void Description This function read the value of the watchdog time counter and return it to the caller Parameters None Return Value This function return the value of the time counter and retu
46. t hard off and delay B Soft off delay 30 minute C Hard off delay 2 Hours Mode15 Software control mode A Setting by AP B Software mode default as Hardware mode 2 C Soft off delay time can be set D Hard off delay time can be set E In Vehicle system power on by ignition or Remote button can be set F Show Ignition status Voltage for AP only G Create a button Set default Plan AP screen 20 ECROSSER AR B6002 User Manual Table 1 Control Mode Soft OFF Hard OFF Power ON Power OFF Control mer mer mme z Sseonds mue inton Remote Swin 5 1 Remote Switch Ignition Remote Switch BEN d dE 1 minute 5 minutes Remote Switch Ignition Remote Switch 7 30 minutes 2 hours Remote Switch Ignition Remote Switch mm me 15 Software By user By user setting By user setting Ignition Remote Switch Another function of Smart Mode 1 If ignition turns back ON during Off Delay Power smart function will stay in operation Off signal will not be send to motherboard The Off Delay will re start after next ignition off Power input monitoring before system boot on during runtime during soft off delay The Power smart function will constantly monitor the input voltage If the input voltage is below X Voltage the standard might have 596 tolerance the Smart Mode will not start the power on procedure When Power smart function has ran
47. te The control keys are listed at the bottom of the menu If you need any help with the item fields you can press the F1 key and the relevant information will be displayed Option Description Onboard Serial Port 1 Serial Port 1 SF8 IRQ4 Onboard Serial Port 2 Serial Port 2 2F8 IRQS3 Onboard Serial Port 3 Serial Port 3 SE8 IRQ11 Onboard Serial Port 4 Serial Port 4 2E8 IRQ10 Onboard Serial Port 5 Serial Port 5 4 8 IRQ11 Select an address and the corresponding interrupt for each serial port Select your system contains a Universal Serial Bus USB controller and you have USB peripherals USB Device Setting The integrated peripheral controller On chip IDE DEVICE contains an IDE interface with support for two IDE channels 3l 5 lt 6002 User Manual 3 6 PC Health Setup This section shows the parameters in determining the PC Health Status These parameters include temperatures fan speeds and voltages 22 5 lt AR B6002 User Manual 3 7 Boot Setup This option allows user to select sequence priority of boot device s and Boot from LAN First Boot Device Note The control keys are listed at the bottom of the menu If you need any help with the item fields you can press the lt F1 gt key and the relevant information will be displayed 1 Hard Disk CDROM USB FDD USB CDROM LAN Disabled The BIOS attempts to load the operating sy
48. te Name Description include lt conio h gt include lt stdio h gt 40 ECROSSER AR B6002 User Manual include lt dos h gt void Show Help void Show Fail void Show Pass int main int argc lt gt gotoxy 1 2 cprintf W83627HF GPIO Test Utility 966 Acrosser Technology Co Ltd lt gt lt gt lt gt char Model Name AR B6002 char Versionz v1 0 unsigned char PORT 5 0 2 DATA PORT IO PORT BASE 1 unsigned char data int result 0 if argc gt 1 Show Help retum 1 clrscr textcolor WHITE gotoxy 1 1 gotoxy 1 3 gotoxy 1 4 gotoxy 1 5 cprintf Model Name gotoxy 1 6 cprintf SIO IO Base gotoxy 1 7 Show Got Parameter Informat 41 ECROSSER AR B6002 User Manual textcolor LIGHTGRAY gotoxy 18 5 cprintf s Model_ Name gotoxy 18 6 cprintf X IO_ PORT BASE Enter W83627HF Config outportb IO_ PORT 5 0 87 outportb IO_ PORT 5 0 87 Set Multi function Pins to GPIO outportb lO PORT BASE 0x2C outportb IO PORT BASE 1 inportb lO PORT 5 1 amp Ox1F Select GPIO Port device outportb IO PORT BASE 0x07 outportb lO PORT BASE 41 0x09 Set GPIO Port Active GPIO3 outportb IO PORT BASE 0x30 outportb IO PORT BASE 41 0x02 Set W83627HF GPIO30 33 to Output GPIO34 GPIO37 to Input outportb IlO
49. to count down to zero except trigger the timer by user s program continuously After zeroize the timer stop triggering the WATCHDOG will generate a signal to reset the system It can be used to prevent system crash or hang up The WATCHDOG is disabled after reset and should be enabled by user s program Intel also provides a Linux watchdog driver to access the feature on AR B6050 It can be accessed via dev watchdog About the related operations of Linux watchdog please refer Linux website Please refer to the following table to program WATCHDOG properly and user could test WATCHDOG under Debug program Address port 2E and Data port 2F C debug enter debug mode To enter configuration 0 2E 07 point to Logical Device Number Reg 0 2F 07 select logical device 7 WATCHDOG O 2E 72 JEU To select keyboard reset as WATCHDOG output to reset system 0 2E 72 to select the unit of timer equals minute or second To read the value of index The value equals value of index 2 OR 80 OR 80 unit is second OR 00 unit is minute 36 5 lt AR B6002 User Manual The value ranges between 01 1 255 seconds 00 To disable WATCHDOG To quit debug mode Notice The actual timer value may not match with the theoretical That is because of the tolerance of internal oscillating clock and cannot be adjusted or optimi
50. ts found in each of the BIOS menus The following topics are covered Main Setup Advanced Chipset Setup PnP PCI Setup Peripherals Setup PC Health Setup Boot Setup Exit Setup Once you enter the Award 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 23 5 lt AR B6002 User Manual 3 1 Main Setup The BIOS setup main menu includes some options Use the Up Down arrow key to highlight the option and then press the Enter key to select the item and configure the functions Date mm dd ywvy Note The control keys are listed at the bottom of the menu If you need any help with the item fields you can press the F1 key and the relevant information will be displayed 1 Format MM DD YYYY month day year oet the system date Note that the Day automatically changes when you set the date System Date Format HH MM SS System Time Set the system time hour minute second The onboard SATA Ports support user connecting up to 2 SATA HDD IDE Channel 0 N A The first SATA Port is the IDE Channel 0 Master Slave Master and the second is IDE Channel 1 Master BIOS will auto detect the HDD type ECROSSER AR B6002 User Manual All Errors Select the situation in which you want the Halt On No Errors BIOS to stop the POST process
51. ure type struct 1 u type 3 The type of the power subsystem 08 mode 4 mode at which the power subsystem 15 operating 8 majorVersion Major version number of the firmware 18 minorVersion Minor version number of the firmware PicInfo PicInfo picInfo getPicFw Ver amp picInfo 9 picInfo major Version picInfo minor Version Return Value If the version information 15 returned successfully the function returns 0 If any error it returns 1 Syntax 132 getPicMode 8 mode Description The function gets the mode number at which the Power Subsystem 15 operating Parameters The parameter is a pointer which points to a variable of type unsigned char The returned mode number is put at the memory which 15 pointed by parameter mode Return Value If the mode information 18 returned successfully the function returns 0 If any error it returns 1 Syntax 132 setPicDefault void Description The function restores the SoftOffDelay and HardOffDelay to the default value Parameters None Return Value If this function works successfully the function will return If any error it will return 1 70 ECROSSER AR B6002 User Manual Under windows platform 1 Syntax BOOL PowerPic GetIgnitionStatus pStatus Description Get the current ignition status The ignition has two statuses ON or OFF Parameters
52. zed Rev Date Name Description include lt conio h gt include lt stdlib h gt include lt stdio h gt typedef unsigned char BYTE typedef unsigned short int WORD typedef unsigned long int DWORD 37 ECROSSER AR B6002 User Manual void Show Title clrscr printf WatchDog Test for W83627HG n 1 WDT EXE 10 s gt 10 seconds to reset n printf 2 WDT EXE 20 m gt 20 minutes to reset n int main int argc char char Time Format BYTE IO Port Address Ox2E BYTE 10 Default is 10 BYTE Format 0x00 Default is 0x00 Seconds if 3 Show return 1 clrscr textcolor YELLOW BLINK Timez atoi argv 1 Time Format argv 2 O if Time_Format m Time Format 0x08 Minutes if Time Format s Time Format S Format 0x00 Seconds Set Watchdog 38 ECROSSER AR B6002 User Manual outportb IO Port Address 0x87 EFER Extended Functions Enable Register outportb IO Port Address 0x87 outportb IO Port Address 0x2D Point to Global Reg Select Multi Function BitO 0 Watchdog Function outportb IO Port Address 1 inportb IO Port Address 1 amp OxFE outportb IO Port Address 0x07 Point to Logical Device Number Reg outportb IO Port 1 0 08 Select logical device 8 Watchdog Function outportb IO Port Address 0x30

Download Pdf Manuals

image

Related Search

Related Contents

Bretford EXPLORE T-Leg  Philips Viva Collection Hand blender HR1619/90  télécharger cet article  Manual  Samsung FQ159UST/XEN User Manual  CR-2i FullHD 取扱説明書  Patton electronic 1012B Network Card User Manual  Avaya T7208 Telephone User's Manual  PDFファイル  Fusion - Life Style Case  

Copyright © All rights reserved.
Failed to retrieve file