Advantech RSB-4220 Скачать руководство пользователя страница 1

User Manual

RSB-4220

3.5” SBC with TI Sitara AM3352 
Cortex A8 Single core 1GHz high 
performance processor

Содержание RSB-4220

Страница 1: ...User Manual RSB 4220 3 5 SBC with TI Sitara AM3352 Cortex A8 Single core 1GHz high performance processor ...

Страница 2: ... installation Advantech assumes no liability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous testing most of our customers never need to use our repair service If an Advantech product is defec tive it will be repaired or replaced at no charge during the warranty period For out of warranty repairs you will be billed...

Страница 3: ... website at http support advantech com where you can find the latest information about the product 2 Contact your distributor sales representative or Advantech s customer service center for technical support if you need additional assistance Please have the following information ready before you call Product name and serial number Description of your peripheral attachments Description of your soft...

Страница 4: ... which case the user will be required to correct the interference at his her own expense The user is advised that any equipment changes or modifications not expressly approved by the party responsible for compliance would void the compliance to FCC regula tions and therefore the user s authority to operate the equipment Model Number Description 96PSA A36W12R1 ADP A D 100 240V 36W 12V 96LEDK A070WV...

Страница 5: ...Figure 2 8 SD Slot 16 Figure 2 9 LVDS Connector 17 Figure 2 10LVDS Inverter Power Connector 18 Figure 2 112X20 pin Connector 19 2 3 Mechanical 20 2 3 1 Jumper and Connector Locations 20 Figure 2 12Jumper and Connector Layout Top side 20 Figure 2 13Jumpers and Connector Layout Bottom Side 20 Figure 2 14Coastline Layout 20 2 3 2 Board Dimensions 21 Figure 2 15Board Dimension Layout Top Side 21 Figur...

Страница 6: ...rminal Settings for Serial Console Setup 45 3 8 Linux System Configuration and Use 46 3 8 1 Display Output Setting 46 3 8 2 Service Configuration 48 3 8 3 Network configuration 50 Figure 3 6 IP Configuration 50 3 8 4 Date Time Configuration 51 Figure 3 7 Date Time Settings 51 3 8 5 About System 51 Figure 3 8 About System 51 3 8 6 Brightness Control 52 Figure 3 9 Brightness Control 52 3 8 7 Serial ...

Страница 7: ...Chapter 1 1 General Introduction This chapter gives background information on the RSB 4220 Sections include Introduction Specifications Environment Specifications Block Diagram ...

Страница 8: ...ket platform for customers to develop their applications and products eas ily without considering system integration P S Please refer RSB 4220 Spec to use the icon when you in system interface 1 2 Specifications 1 2 1 Functional Specifications Processor TI Sitara series TI Sitara AM3352 Cortex A8 Single core 1GHz Supports multiple I O interface and HW WTD System Memory Support DDR3 800 MHz Capacit...

Страница 9: ...discharge capacity 210 mAh 1 3 Environmental Specifications Operating temperature 0 60 C 32 1400 60 F Operating humidity 40 C 95 RH Non condensing Storage temperature 40 85 C 40 185 F Storage humidity 60 C 95 RH Non condensing 1 4 Block Diagram 2 256Mb 8 DDR3 TI Sitara AM3352 1GHz SN75LVDS83ADGGR LVDS RTL8211E RJ45 RTL8211E USB Host OTG MINI PCIE SOCKET SD SOCKET 4bit 4MB NOR FLASH 4GB NAND FLASH ...

Страница 10: ...RSB 4220 User Manual 4 ...

Страница 11: ...rtup procedures of the RSB 4220 hardware including jumper setting and device integration It also introduces the setting of switches indicators and also shows the mechanical drawings Be sure to read all safety precau tions before you begin installation procedure ...

Страница 12: ...would connect either pins 1 and 2 or 2 and 3 The jumper settings are schematically depicted in this manual as follows A pair of needle nose pliers may be helpful when working with jumpers If you have any doubts about the best hardware configuration for your application contact your local distributor or sales representative before you make any changes Generally you simply need a standard cable to m...

Страница 13: ...IP SW CHS 02TB 29 SMD 4P SPST P 1 27mm W 5 4mm Setting Function 1 1 Boot from SD 1 0 Boot from SPI J2 LVDS Power Part Number 1653003100 Footprint HD_3x1P_100_D Description PIN HEADER 3x1P 2 54mm 180D M DIP 205 1x3GS Setting Function 1 2 3 3V 2 3 V5 J3 LVDS Backlight Power Part Number 1653003100 Footprint HD_3x1P_100_D Description PIN HEADER 3x1P 2 54mm 180D M DIP 205 1x3GS Setting Function 1 2 V5 ...

Страница 14: ... PIN HEADER 3x1P 2 54mm 180D M DIP 205 1x3GS Setting Function 1 2 USB Host 2 3 USB OTG Device J5 UART1 RS232 RS422 RS485 select Part number 1600000084 Footprint SW_4x2P_50_260x220 Description DIP SW CHS 02TB 29 SMD 4P SPST P 1 27mm W 5 4mm Setting Function 1 1 1 0 RS232 0 0 1 0 RS422 0 1 0 0 RS485 ...

Страница 15: ...xtending bracket P N 1960047454N000 for WiFi card fix ing CN1 RTC battery CN2 MiniPCIe CN5 UART0 debug port CN12 USB Type A Connector CN36 Ethernet Connector CN8 DC power jack SW3 Reset button SD1 SD Card CN32 LVDS CONN CN31 LVDS Backlight CN28 2x20 PIN terminal block Pin Signal Name Pin Signal Name 1 NC 2 3 3V 3 NC 4 GND 5 NC 6 1V5_IO 7 NC 8 NC 9 GND 10 NC 11 NC 12 NC 13 NC 14 NC 15 GND 16 NC Mec...

Страница 16: ...RSB 4220 User Manual 10 Figure 2 1 miniPCIE 37 GND 38 USB_D 39 3 3V 40 GND 41 3 3V 42 LED_WWAN 43 GND 44 LED_WLAN 45 Reserved 46 LED_WPAN 47 Reserved 48 1V5_IO 49 Reserved 50 GND 51 Reserved 52 3 3V ...

Страница 17: ...sing serial cables Figure 2 2 Debug Port 2 2 2 4 USB Type A Connector CN12 RSB 4220 has one standard USB2 0 Type A connector in the coastline The customer can select using USB Host or OTG device by jumper setting Figure 2 3 USB Type A connector Pin Description 1 V3 3 2 DEBUG_TXD 3 DEBUG_RXD 4 GND Pin Description 1 5V 2 USB Data 3 USB Data 4 GND ...

Страница 18: ...eserved for R D used Figure 2 4 JTAG Pin header Pin Description 1 JTAG_TMS 2 JTAG_TRSTn 3 JTAG_TDI 4 GND 5 3 3V 6 NC 7 JTAG_TDO 8 GND 9 RTCK 10 GND 11 TCK 12 GND 13 JTAG_EMU0 14 JTAG_EMU1 15 EMU_RSTn 16 GND 17 JTAG_EMU2 18 JTAG_EMU3 19 JTAG_EMU4 20 GND ...

Страница 19: ...rts provide standard RJ 45 jack connector with LED indicators on the front side to show Active Link status and Speed status Pin Description A1 MDI20 A2 MDI20 A3 MDI21 A4 MDI21 A5 GND A6 GND A7 MDI22 A8 MDI22 A9 MDI23 A10 MDI23 A11 LAN2_100_LINK A12 LAN2_1000_LINK A13 3 3V A14 LAN2_ACT B1 MDI10 B2 MDI10 B3 MDI11 B4 MDI11 B5 GND B6 GND B7 MDI12 B8 MDI12 B9 MDI13 B10 MDI13 B11 LAN1_100_LINK B12 LAN1_...

Страница 20: ...RSB 4220 User Manual 14 Figure 2 5 Ethernet Connector ...

Страница 21: ...ack header that carries 9 30V DC external power input Figure 2 6 DC power Jack 2 2 2 8 Reset Button SW3 RSB 4220 has a reset button on the front side Press this button to activate the hard ware reset function Figure 2 7 Reset button Pin Description 1 DC_IN 2 GND Pin Description 1 RESET 2 GND 3 GND 4 GND ...

Страница 22: ...ser Manual 16 2 2 2 9 SD Slot SD1 RSB 4220 supports SD MMC card in Class2 4 6 8 10 Supported capacity is up to 4G SDHC Figure 2 8 SD Slot Pin Signal Name 1 DAT3 2 CMD 3 GND 4 3 3V 5 CLK 6 GND 7 DAT0 8 DAT1 9 DAT2 ...

Страница 23: ...l 18 bit LVDS panel up to 1366x768 Please also refer to jumper setting in page 16 before connecting LVDS panel Figure 2 9 LVDS Connector Pin Description 1 GND 2 GND 3 LVDS0_z_D0 4 SCL_LVDS0 5 LVDS0_z_D0 6 SDA_LVDS0 7 LVDS0_z_D1 8 NC 9 LVDS0_z_D1 10 NC 11 LVDS0_z_D2 12 NC 13 LVDS0_z_D2 14 NC 15 LVDS0_z_CLK 16 NC 17 LVDS0_z_CLK 18 NC 19 VDD_LVDS 20 VDD_LVDS ...

Страница 24: ... a 2X20 pin connector which contains 5 2 wire UART with TX RX 4 wire UART Supporting RS232 RS422 RS485 one 5V CAN one I2C bus and 4 GPI GPO w isolation Pin Description 1 VDD_BKLT_LVDS 2 GND 3 LCD_BKLT_A 4 LCD_BKLT_PWM_A 5 V5 Pin Description 1 IDI0 2 IDO0 3 IDI1 4 IDO1 5 IDI2 6 IDO2 7 IDI3 8 IDO3 9 GND_iso 10 PCOM 11 NC 12 GND_iso 13 NC 14 NC 15 422_RXD 16 NC 17 422_RXD 18 I2C0_SCL 19 COM1_CTS 20 I...

Страница 25: ... H W Installation Figure 2 11 2X20 pin Connector 24 COM5_TX 25 COM1_RXD 26 COM5_RX 27 422 485_TXD 28 CAN1_D 29 422 485_TXD 30 CAN1_D 31 COM2_RX 32 COM0_TX 33 COM2_TX 34 COM0_RX 35 COM4_TX 36 COM3_TX 37 COM4_RX 38 COM3_RX 39 GND 40 GND ...

Страница 26: ...Figure 2 12 Jumper and Connector Layout Top side Figure 2 13 Jumpers and Connector Layout Bottom Side Figure 2 14 Coastline Layout DC_IN Reset LAN1 LAN0 USB 2 x 20 Pin Connector LCD backlight voltage jumper BAT LVDS Mini PCIe Jumper for USB host OTG Debug Port Backlight SD Card ...

Страница 27: ...21 RSB 4220 User Manual Chapter 2 H W Installation 2 3 2 Board Dimensions 2 3 2 1 Board Drawing Figure 2 15 Board Dimension Layout Top Side Figure 2 16 Board Dimension Layout Bottom Side ...

Страница 28: ...es Common serial communication programs such as HyperTerminal Tera Term or PuTTY can be used in this case The example as below describes the serial termi nal setup using HyperTerminal on a Windows host 1 Connect RSB 4220 with your Windows PC by using a serial cable 2 Open HyperTerminal on your Windows PC and select the settings as shown in Figure 2 7 3 After the bootloader is programmed on SD card...

Страница 29: ...512 bytes Sector size logical physical 512 bytes 512 bytes I O size minimum optimal 512 bytes 512 bytes Disk identifier 0xb7e5e6db Device Boot Start End Blocks Id System dev mmcblk1p12048 22527 10240 83 Linux dev mmcblk1p222528 63487 20480 83 Linux 2 Run program to read write NAND flash root am335x adv unit_tests AutoRun_eMMC sh mmcblk1 Test Read write and operation of filesystem for eMMC 10240 0 ...

Страница 30: ...20MB 2 5 3 SD Test 1 Insert SD card into SD1 slot 2 Mount the SD card device and check system can detect it root am335x adv unit_tests fdisk l dev mmcblk0 Disk dev mmcblk0 3980 MB 3980394496 bytes 255 heads 63 sectors track 483 cylinders total 7774208 sectors Units sectors of 1 512 512 bytes Sector size logical physical 512 bytes 512 bytes I O size minimum optimal 512 bytes 512 bytes Disk identifi...

Страница 31: ...writesize 1 mtd oobsize 0 regions 0 Erased 4194304 bytes from address 0x00000000 in flash Copied 4194304 bytes from address 0x00000000 in flash to temp 1 img 0000000 ffff ffff ffff ffff ffff ffff ffff ffff 0400000 SPI mtdblock0 Read 1 PASS 4096 0 records in 4096 0 records out 0000000 0000 0000 0000 0000 0000 0000 0000 0000 0400000 Copied 4194304 bytes from all 0 img to address 0x00000000 in flash ...

Страница 32: ... I2C test Pass 2 5 6 CAN Test 1 Connect one RSB 4220 CAN Port CAN1_D CAN1_D and GND with another RSB 4220 2 Run program to transmit data between two RSB 4220 CAN ports root am335x adv unit_tests AutoRun_CAN sh Sun Sep 14 01 48 57 UTC 2014 interface can0 family 29 type 3 proto 1 wait for data interface can0 family 29 type 3 proto 1 CAN Pass Sun Sep 14 01 49 01 UTC 2014 interface can0 family 29 type...

Страница 33: ...e root am335x adv unit_tests AutoRun_gpio sh GPIO200 direction is in GPIO201 direction is in GPIO202 direction is in GPIO203 direction is in GPIO204 direction is out GPIO205 direction is out GPIO206 direction is out GPIO207 direction is out GPIO test PASS 2 5 8 LVDS Test Run program Autorun_LVDS Then you can see the video demo on the default dis play screen root am335x adv unit_tests AutoRun_lvds ...

Страница 34: ... end_freq bandwidth max_antenna_gain max_eirp 58 086028 cfg80211 2402000 KHz 2472000 KHz 40000 KHz 300 mBi 2000 mBm 58 094376 cfg80211 2457000 KHz 2482000 KHz 20000 KHz 300 mBi 2000 mBm 58 102721 cfg80211 2474000 KHz 2494000 KHz 20000 KHz 300 mBi 2000 mBm 58 111064 cfg80211 5170000 KHz 5250000 KHz 40000 KHz 300 mBi 2000 mBm 58 119398 cfg80211 5735000 KHz 5835000 KHz 40000 KHz 300 mBi 2000 mBm 63 2...

Страница 35: ...ponse from the host root am335x adv ping 192 168 1 1 PING 192 168 1 1 192 168 1 1 56 data bytes 64 bytes from 192 168 1 1 seq 0 ttl 64 time 0 384 ms 64 bytes from 192 168 1 1 seq 1 ttl 64 time 0 159 ms 64 bytes from 192 168 1 1 seq 2 ttl 64 time 0 110 ms 64 bytes from 192 168 1 1 seq 3 ttl 64 time 0 102 ms 64 bytes from 192 168 1 1 seq 4 ttl 64 time 0 208 ms 64 bytes from 192 168 1 1 seq 5 ttl 64 ...

Страница 36: ...runs 0 frame 0 TX packets 0 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 5035 4 9 KiB TX bytes 0 0 0 B 3 We can use below command to see if we can get any response from the host root am335x adv ping 192 168 1 1 PING 192 168 1 1 192 168 1 1 56 data bytes 64 bytes from 192 168 1 1 seq 0 ttl 64 time 0 373 ms 64 bytes from 192 168 1 1 seq 1 ttl 64 time 0 208 ms 64 byte...

Страница 37: ...UART5 root am335x adv unit_tests AutoRun_uart232 test rs232 rs232 number 5 dev ttyO1 PASS dev ttyO2 PASS dev ttyO3 PASS dev ttyO4 PASS dev ttyO5 PASS RS232 Test Pass 2 5 11 2 UART1 RS422 test 1 Switching SW8 to set UART1 working at RS422 short 422_RXD with 422 485_TXD short 422_RXD with 422 485_TXD 2 Run program to test UART1 RS422 root am335x adv unit_tests AutoRun_uart422 p dev ttyO1 t 1 test RS...

Страница 38: ...f ADAM run pro gram to transmit data between UART1 and UART4 RSB 4220 RS485 can not support auto flow control it need be controlled by cus tomer APP root am335x adv unit_tests AutoRun_uart485 p dev ttyO1 dev ttyO4 t 6 Open uart dev ttyO1 OK Open uart dev ttyO4 OK Writing helloworld Reading helloworld TX RX Signal pass UART RS485 Testing PASS Close uart dev ttyO1 OK Close uart dev ttyO4 OK ...

Страница 39: ...e board will reboot after 10 seconds when run AutoRun_WTD program If the watchdog time is less than 10 the board will not reboot because program will feed the watchdog within every 10 sec onds To test the watchdog run as follows the board will reboot after 10 seconds root am335x adv unit_tests AutoRun_WTD 15 Get the timeout value from driver timeout 60 seconds Now we set the timeout value to 10 se...

Страница 40: ...nfigData 0xde UTMI 8 dyn FIFOs bulk combine bulk split HB ISO Rx HB ISO Tx SoftConn musb hdrc MHDRC RTL version 2 0 musb hdrc setup fifo_mode 4 musb hdrc 28 31 max ep 16384 16384 memory USB Peripheral mode controller at 47401000 using PIO IRQ 0 musb hdrc ConfigData 0xde UTMI 8 dyn FIFOs bulk combine bulk split HB ISO Rx HB ISO Tx SoftConn musb hdrc MHDRC RTL version 2 0 musb hdrc setup fif ...

Страница 41: ...Chapter 3 3 Software Functionality This chapter details the Linux operating system on the RSB 4220 platform ...

Страница 42: ... have compati bility issue In this case we strongly recommend to have Ubuntu 12 04 LTS installed to your host PC before start RSB 4220 evaluation development 3 2 Package Content We would offer you two different kinds of Linux package for RSB 4220 One is pre built system image for system recovery another is source code package BSP 3 2 1 Pre built System Image You are able to find the pre built imag...

Страница 43: ...ders in rootfs are listed as follows cross_compiler This folder contains source code for cross compiler document This folder contains user guide image This folder contains the uImage u boot img image rootfs This folder contains Linux root file system package This folder contains source code provided by TI without any modification scripts This folder contains scripts for configure system and compil...

Страница 44: ...he system cleaned upon reboot so doesn t use this for saving any work usr Programs libraries documentation etc for all user related pro grams var Storage for all variable files and temporary files created by users such as log files the mail queue the print spooler area space for temporary storage of files downloaded from the Internet tools just for sample test setenv sh A script to setup the devel...

Страница 45: ...uld be obtained from books and magazines you can easily find the answers for both Linux specific and general UNIX questions There are also various README files in source linux 3 2 0 psp04 06 00 11 Docu mentation you can find the kernel specified installations and notes for drivers You can refer to source linux 3 2 0 psp04 06 00 11 Documentation 00 INDEX for a list of the purpose of each README not...

Страница 46: ...eloping environment quickly You can refer following steps to setup your developing environment 1 Open Terminal on Ubuntu 12 04 LTS 2 sudo su Change to root authority 3 Input user password 4 cd root 335XLBVxxxx_yyyy mm dd scripts 5 setenv sh To configure the developing environment automatically 6 Then you can start to code the source code build images or compile applica tions 3 3 1 setenv sh This s...

Страница 47: ... boot 8 Then you can see u boot img is being built and located in image 3 4 2 Build Linux Kernel Image Advantech offer you a script to build the uImage quickly You can build uImage by follow below steps 1 Open Terminal on Ubuntu 12 04 LTS 2 sudo su Change to root authority 3 Input user password 4 cd Desktop 335XLBVxxxx scripts 5 setenv sh To configure the developing environment automati cally 6 cf...

Страница 48: ...ple to guide you how to add a RTC driver Seiko Instruments S 35390A to Linux kernel Please refer to the following steps 1 Open Terminal on Ubuntu 12 04 LTS 2 sudo su Change to root authority 3 Input user password 4 cd root 335XLBVxxxx_yyyy mm dd scripts 5 setenv sh To configure the developing environment automatically 6 cfg_kernel sh am335x_rsb4220_defconfig 7 cfg_kernel sh menuconfig 8 Then you w...

Страница 49: ...dd below codes to source linux 3 2 0 psp04 06 00 11 arch arm mach mx6 board rsb4220 h I2C static struct i2c_board_info mxc_i2c0_board_info __initdata I2C_BOARD_INFO s35390a 0x30 Please add below codes to source linux 3 2 0 psp04 06 00 11 arch arm mach omap2 board advantech c omap_register_i2c_bus 1 100 am335x_i2c0_boardinfo ARRAY_SIZE am335x_i2c0_boardinfo 11 Please refer to former Chapter 3 4 2 t...

Страница 50: ...d to your developing computer 8 Check the SD card location like dev sdb 9 cd 4220LIVxxxx_yyyy mm dd scripts 10 mksd linux sh dev sdb 11 Type y Start to copy files wait until it shows Done Then insert the Linux system SD card to RSB 4220 it will boot up with Linux environ ment 3 6 2 2 From Source Code Package When you receive the RSB 4220 Linux source code package you can refer following steps to c...

Страница 51: ...rm type mkinand linux sh dev mmcblk1 6 Power off and remove this SD card Then you can boot from onboard flash without SD card 3 7 Debug Message RSB 4220 can connect to a host PC Linux or Windows by using console cable and debug port adapter In order to communicate with host PC serial communication pro gram such as HyperTerminal Tera Term or PuTTY is must required Below is the detail instruction of...

Страница 52: ...nel You can input the actual resolution of your LVDS panel here such as 800x480 1024x768 etc The sys tem will accomplish the corresponding parameters automatically If the panel has problem to be activated you may need to check the panel datasheet to configure the panel related parameters The LVDS video mode database is stored in linux 3 2 0 drivers video da8xx fb c You can add a new one for your L...

Страница 53: ...t charname 25 Full name vendor _ model unsigned shortwidth unsigned shortheight int hfp Horizontal front porch int hbp Horizontal back porch int hsw Horizontal Sync Pulse Width int vfp Vertical front porch int vbp Vertical back porch int vsw Vertical Sync Pulse Width unsigned intpxl_clk Pixel clock unsigned charinvert_pxl_clk Invert Pixel clock 3 8 1 2 Display Settings LVDS Single out please set i...

Страница 54: ...ftp server on RSB 4220 is vsftpd and you should manually start it using flowing command While the stoping command is Then you can ftp the RSB 4220 using user ftp hostPC tftp TARGET_SYSTEM_IP tftp get file1 tftp put file2 Note Command get file1 is to download file1 from tftp server File file1 must exist under the directory tftpboot on RSB 4220 Command put file2 is to upload file2 to tftp server If ...

Страница 55: ... the following command on your host PC to login the RSB 4220 The service start command is And the stop is 3 8 2 5 http Server We support an embedded web server name lighttpd and the matrix gui is based on it The service start command is And the stop is hostPC sudo ssh l root TARGET_SYSTEM_IP root am335x adv etc init d dropbear start root am335x adv etc init d dropbear stop hostPC sudo telnet TARGE...

Страница 56: ...netcfg eth0 advantech echo etc init d dhcpc eth1 start etc adv d netcfg eth1 advantech etc init d dhcpc eth0 stop advantech etc init d dhcpc eth1 stop advantech sbin ifconfig eth0 172 21 73 191 netmask 255 255 255 0 advantech sbin route add default gw 172 21 73 253 eth0 advantech echo nameserver 172 21 128 251 etc resolv conf advantech sbin ifconfig eth1 192 168 3 102 netmask 255 255 255 0 advante...

Страница 57: ...ean while the RTC time will be synchronized to the time you just set 3 8 5 About System If you want to know the version information of this system you can see it with the util ity on App Launcher Click on the About System icon on the screen and you will see the version information of this system Figure 3 8 About System Note This is an optional way to get version info under console You can use vers...

Страница 58: ... to control the brightness So you can conveniently adjust the screen brightness Figure 3 9 Brightness Control 3 8 7 Serial Tools We have five serial ports named ttyO1 ttyO5 And we provide a serial test tool to let it easily to validate the serial ports Figure 3 10 Serial Control ...

Страница 59: ...ion The launcher for Matrix is just a simple QT application that displays a Webkit base browser that points to the URL http localhost 80 Figure 3 11 Matrix 3 8 8 2 Launching and Stopping Matrix If the Matrix GUI does not start with the system you can manually start the program by the following command If you want the Matrix to start with the system by default please run the following command on RS...

Страница 60: ...ield in the desktop to refer to any existing Icon in the usr share matrix gui 2 0 directory or subdirectories You can also add a new 96x96 png image and place it into your newly created folder 4 Optionally for applications you can add a HTML file that contains the application description in your newly created directory If you add a description page then update the X Matrix Description field in the...

Страница 61: ...e on embedded Linux devices and is used in this capacity in the OpenEmbedded and OpenWrt projects Advantech Embedded Linux for RSB 4220 has built in OPKG package manager with this tool you can install most of the required software online and manage them such as uninstall upgrades and so on 3 8 11 2 Installation New Software package If you want to install a software which is not exist in the curren...

Страница 62: ...irectory 5 Run the executable file helloworld on the RSB 4220 Insert the Linux system SD card to your developing computer Remove this SD card and insert it to RSB 4220 then open serial console On RSB 4220 platform type root Login On RSB 4220 platform type cd tool On RSB 4220 platform type helloworld Now you should be able to see Hello World shown on RSB 4220 sudo su source usr local cross_compiler...

Страница 63: ...ce the uart demo source code to develop the uart application 3 9 3 2 Watchdog Programming RSB 4220 support hardware watchdog the watchdog API is follow posix standards The valid timeout value is from 1 to 6553 seconds if the timeout value to set is not in this scope driver will set timeout value to default value 60 seconds Sample C code include stdio h include stdlib h include fcntl h include sign...

Страница 64: ...5 close fd Here are some other APIs for watchdog Disable the watchdog timer sample code if user want to disable the watchdog before timeout call the fol lowing ioctl function int i_dis WDIOS_DISABLECARD ioctl fd WDIOC_SETOPTIONS i_dis Enable the watchdog timer sample code if user want to enable the watchdog again before timeout when it is disabled call the following ioctl function int i_en WDIOS_E...

Страница 65: ...e throught the sys file sys class backlight pwm backlight brightness You can set brightness using flowing command You can get current brightness value using flowing command gpio 200 out 1 Note 200 means gpio0 and so 200 207 corresponds to gpio0 gpio7 out means output 1 is the value set to the corresponding gpio port Note Can sending data sample c code please refer to can_write c Can receiving data...

Страница 66: ...RSB 4220 User Manual 60 ...

Страница 67: ...Chapter 4 4 System Recovery This chapter introduces how to recover Linux operating system if it is damaged accidentally ...

Страница 68: ...ert one SD card to your developing computer 8 Check the SD card location like dev sdb 9 cd 4220LIVxxxx_yyyy mm dd scripts 10 mksd linux sh dev sdb 11 Type y Start to copy files wait until it shows Done 12 Connect console cable to debug port CN1 and open serial console program on Ubuntu 12 04 LTS set baudrate to 115200 For detail console setting please refer to section 3 6 13 On RSB 4220 platform t...

Страница 69: ...Chapter 5 5 Advantech Services This chapter introduces Advan tech design in serviceability tech nical support and warranty policy for RSB 4220 ...

Страница 70: ...l application some customers encounter difficult problems dealing with platform design in general and communicating with CPU or chipset manufacturers thereby increasing carrier board design difficulties and risk as well as seriously impacting on Time to market and lost market opportunities Software development and modification Compared to x86 architectures RISC architectures use simpler instructio...

Страница 71: ...SC COM Design stage When a product moves into the design stage Advantech will supply a design guide of the carrier board for reference The carrier board design guide provides pin defini tions of the COM connector with limitations and recommendations for carrier board design so customers can have a clear guideline to follow during their carrier board development Regarding different form factors Adv...

Страница 72: ...nal consulting services about further testing and equipment usage so customers can find the right tools to efficiently identify and solve problems to further enhance their products quality and performance 5 2 Contact Information Below is the contact information for Advantech customer service On the other hand you can reach our service team through below website our tech nical support engineer will...

Страница 73: ... were purchased directly from ADVANTECH and the product is DOA Dead on Arrival The DOA Cross Shipment excludes any shipping damage cus tomized and or build to order products For those products which are not DOA the return fee to an authorized ADVANTECH repair facility will be at the customers expense The shipping fee for reconstructive products from ADVANTECH back to customers sites will be at ADV...

Страница 74: ...to contact the local repair center before offering global repair service It is recommended to s end cards without accessories manuals cables etc Remove any unnecessary components from the card such as CPU DRAM and CF Card If you send all these parts back because you believe they may be part of the problem please note clearly that they are included Otherwise ADVANTECH is not responsible for any ite...

Страница 75: ...oduct requires another repair for the same problem ADVANTECH will do this repair free of charge However such free repairs do not apply to products which have been misused abused or subjected to unauthorized disassembly modification placed in an unsuitable physical or operating environment improperly maintained by the customer or failure caused which ADVANTECH is not responsible whether by accident...

Страница 76: ...om ADVANTECH to customers is selected by ADVANTECH Per customer requirement other express services can be adopted such as UPS FedEx and etc The customer must bear the extra costs of such alternative shipment If you require any special arrangements please indicate this when shipping the product to us ...

Страница 77: ...71 RSB 4220 User Manual Chapter 5 Advantech Services ...

Страница 78: ...ations are subject to change without notice No part of this publication may be reproduced in any form or by any means electronic photocopying recording or otherwise without prior written permis sion of the publisher All brand and product names are trademarks or registered trademarks of their respective companies Advantech Co Ltd 2015 ...

Отзывы: