background image

 

 

SBC8018 Evaluation Board 

 

Integrated with SATA, TF, OTG, Audio in/out, USB, Ethernet, LCD, CCD/COMS, Serial, JTAG 

interface based on 32-bit microprocessor 

 

 

 

 

 

User Manual 

 

Содержание SBC8018

Страница 1: ...SBC8018 Evaluation Board Integrated with SATA TF OTG Audio in out USB Ethernet LCD CCD COMS Serial JTAG interface based on 32 bit microprocessor User Manual...

Страница 2: ...2 Copyright 2011 by element14 User Manual Version update records Rev Date Description 1 0 2011 10 21 Initial version...

Страница 3: ...2 2 K9F1G08U0B 11 2 2 3 H5MS1G62MFP 12 2 2 4 DM9161 12 2 2 5 TLV320AIC33IRGZR 12 2 2 6 MAX3232 12 2 3 HARDWARE INTERFACE 13 2 3 1 Power Input Jack 13 2 3 2 Power Output Interface 14 2 3 3 Power Switch...

Страница 4: ...tion 30 3 4 3 System Customization 33 3 5 HOW TO UPDATE THE SYSTEM IMAGE 37 3 5 1 Boot up From Serial Port 37 3 5 2 How Update Images From Ethernet 38 3 6 TEST PROCEDURES 42 3 6 1 Various Tests Scenar...

Страница 5: ...wer Management 75 4 6 2 How to use CAM8000 A module 76 4 7 SBC8018 WINDOWS CE 6 0 WIN32 API APPLICATION DEVELOPMENT DEMO 77 APPENDIX 78 APPENDIX I HARDWARE DIMENSIONS 78 APPENDIX II THE INSTALLATION O...

Страница 6: ...chip memory and provided lots of peripheral interface SBC8018 board expands the hardware capabilities including LAN port audio input output interface USB OTG USB HOST SATA interface TF slot serial po...

Страница 7: ...board which integrates all functions and features of TI s AM1808 ARM9 processor Some of the board features are mentioned below Mechanical Parameters Working temperature 0 C 70 C Humidity Range 20 90...

Страница 8: ...based voltage UART2 3 line serial port TTL based voltage UART3 5 line serial port RS232 based voltage 1 x USB 2 0 OTG interface OTG connector 1 x USB1 1 Interface Type A 10 100Mbps Ethernet Interface...

Страница 9: ...es Clock The OSCIN OSCOUT system input clock 24 MHz is used to generate the main source clock for the device It also provides the DPLLs to several CPU other modules Reset The function of reset is dete...

Страница 10: ...udes features for efficient execution of Java byte codes providing Java performance similar to Just in Time JIT Java interpreter but without associated code overhead The ARM926EJ S processor supports...

Страница 11: ...s allow the use of small inductors and capacitors to achieve a small solution size The TPS6507x also integrate two general purpose LDOs for an output current of 200mA These LDOs can be used to power a...

Страница 12: ...ansmission indicator 2 2 5 TLV320AIC33IRGZR The TLV320AIC33IRGZR is a low power stereo audio codec with stereo headphone amplifier as well as ten audio inputs and seven audio outputs programmable in s...

Страница 13: ...d 2 3 Hardware Interface The following section provides you the detailed information on the peripherals with the pin description and its functionality available on SBC8018 evaluation board Figure 2 2...

Страница 14: ...3 Power Switch Table 2 3 power switch SW1 Pin Signal Function 1 DC IN VDD Input 2 5VDC_IN 5V 3 NC NC 2 3 4 TFT_LCD Interface Table 2 4 TFT_LCD interface J1 Pin Signal Function 1 B_NU0 Test Point 2 B_...

Страница 15: ...12 24 LCD_D13 LCD data bit13 25 LCD_D14 LCD data bit14 26 LCD_D15 LCD data bit15 27 GND GND 28 R_LCD_DEN LCD AC bias enable chip select 29 R_LCD_HSYNC LCD vertical sync 30 R_LCD_VSYNC LCD horizontal s...

Страница 16: ...43 IIC_DAT IIC serial bidirectional data NC 44 GND GND 45 1P8V_LDO 1 8V 46 3P3V 3 3V 47 5VDC_IN 5V 48 5VDC_IN 5V 49 RESET 1 8V 50 R_LCD_PWREN Power on enable 2 3 5 AUDIO OUTPUT Jack Table 2 5 Audio ou...

Страница 17: ...capture data bit 3 8 R_CAM_D4 VPIF capture data bit 4 9 R_CAM_D5 VPIF capture data bit 5 10 R_CAM_D6 VPIF capture data bit 6 11 R_CAM_D7 VPIF capture data bit 7 12 D10 Test Point 13 D11 Test Point 14...

Страница 18: ...nterface J39 Pin Signal Function 1 GND GND 2 LINE_IN_LP Left input 3 LINE_IN_RP Right input 4 LINE_IN_RP Right input 5 LINE_IN_LP Left input 2 3 8 Serial Ports Table 2 8 serial port J9 Pin Signal Func...

Страница 19: ...0R resistance 4 4 5 Transformer 5 7 8 Transformer 6 CT Link to analog transmit power input with 0R resistance 7 LAN_RX RX input 8 LAN_RX RX input 9 YEL Link LED 10 VDD 3 3V Power for LED 11 GRN Speed...

Страница 20: ...A transmit data negative 6 SATA_RXP SATA transmit data positive 7 GND GND 8 NC NC 9 GND GND 2 3 11 USB OTG Interface Table 2 11 USB OTG interface J34 Pin Signal Function 1 USB0_VBUS 5V 2 USB0_D USB Da...

Страница 21: ...USB Data 3 USB1_D USB Data 4 GND GND 5 CHGND GND 6 CHGND GND 2 3 13 TF Card Interface Table 2 13 TF interface J36 Pin Signal Function 1 DAT2 Card data 2 2 DAT3 Card data 3 3 CMD Command Signal 4 VDD...

Страница 22: ...t 3 TDI Test data input 4 GND GND 5 VIO 1 8V 6 NC NC 7 TDO Test data output 8 GND GND 9 RTCK Receive test clock 10 GND GND 11 TCK Test clock 12 GND GND 13 EMU0 Test emulation 0 14 EMU1 Test emulation...

Страница 23: ...PIO 14 EMA_D_10_EXP GPIO 15 EPWMN1_TZ0 GPIO 16 EMA_D_9_EXP GPIO 17 ECAP2_APWM2 GPIO 18 EMA_D_8_EXP GPIO 19 AIC_WCLK GPIO 20 EMA_CLK_EXP GPIO 21 AFSR GPIO 22 EMA_SDCKE_EXP GPIO 23 AIC_MCLK GPIO 24 EMA_...

Страница 24: ...data slave in master out 8 uP_McBSP0_CLKS_EXP McBSP1 sample rate generator clock input 9 uP_SPI1_SCSn0 SPI1 chip selects 10 AIC_DOUT McBSP1 receive frame sync 11 uP_SPI1_ENAN SPI1 enable 12 AIC_DIN Mc...

Страница 25: ...PI0 data slave in master out 35 GND GND 36 uP_SPI0_SCSn0 SPI0 chip selects 37 5VDC_IN 5V 38 uP_SPI0_ENAN 1 8V 39 3P3V 3 3V 40 1P8V_LDO 1 8V 2 3 16 DIP Switch Table 2 17 DIP Switch S7 Pin Function 1 PW...

Страница 26: ...itch Key Pin Function S6 uP_RESETn Device reset input S8 USER_BACK GPIO S9 USER_MENU GPIO S10 USER_HOME GPIO 2 3 18 LEDs Table 2 19 LED LED Pin Signal Function D2 User_LED_1 User Definitude D3 User_LE...

Страница 27: ...building guidance of the boot loader kernel and file system and the development of device driver 4 Provides flashing methods with U BOOT prompts 5 Shows the usage of SBC8018 6 Shows the application de...

Страница 28: ...rating system applicable to SBC8018 hardware platform Users can conduct a secondary development on the basis of this BSP The BSP in the CD provided with the SBC8018 evaluation kit contains as bellows...

Страница 29: ...Compilation Tools Installation of cross compilation tools is done by using the software CD provided along with this kit to start the process insert the CD and allow it for auto run Ubuntu will mount...

Страница 30: ...edia cdrom linux source uboot 03 20 00 14 tar bz2 tar xvf media cdrom linux source linux 03 20 00 14 tar bz2 cp media cdrom linux source ramdisk mkdir rootfs sudo mount t ext2 o loop ramdisk rootfs Af...

Страница 31: ...to the folder d sbc8018 Make sure you had installed AISgen_d800k006_Install_v1 7 exe under the folder CD linux tools Click Windows XP Start All Programs Texas Instruments AISgen for D800K006 AISgen f...

Страница 32: ...d sbc8018 to the ARM Application File c Sets the output file path AIS Output File as d sbc8018 u boot nand ais bin d Click Generate AIS u boot nand ais bin will be generated under the folder d sbc8018...

Страница 33: ...equired jffs2 img file 3 4 3 System Customization As Linux kernel has many configuration options the user can increase or reduce the kernel features by using available default kernel configurations ac...

Страница 34: ...he Ubuntu system ncurse library is a character graphic library used for make menuconfig of kernel the specific installation instruction is sudo apt get install ncurses dev How do perform the system cu...

Страница 35: ...35 Copyright 2011 by element14 User Manual Figure 3 4 3 Select USB Gadget Support Figure 3 5...

Страница 36: ...s usb gadget respectively 3 4 3 3 Test To perform the test first you need to update the kernel image ulmage file after that copy the g_file_storage ko file to the TF card and reboot the system Now exe...

Страница 37: ...ge has been updated otherwise module g_file_storage ko will fail to load and the similar tips will show insmod cannot insert media mmcblk0p1 g_file_storage ko Device or resource busy 3 5 How to Update...

Страница 38: ...y Serial Port Closing COM1 close the tool and open the Hyperterminal to catch the serial port information User should open Hyperterminal and Input any key to enter U BOOT prompts in three seconds or e...

Страница 39: ...he CD under the folder CD linux image to the folder d sbc8018 c According to your LCD size 4 3 or 7 rename the uImage_xx as uImage 2 U BOOT prompts Input the below commands with U BOOT prompts as belo...

Страница 40: ...n Load address 0xc0700000 Loading done Bytes transferred 210860 337ac hex NAND write device 0 offset 0x20000 size 0x337ac 210944 bytes written OK U Boot nandecc sw SW ECC selected d Write kernel U Boo...

Страница 41: ...ce TFTP from server 192 192 192 154 our IP address is 192 192 192 215 Filename jffs2 img Load address 0xc2000000 Loading T T T done Bytes transferred 3889116 3b57dc hex NAND write device 0 offset 0x60...

Страница 42: ...8018 echo 1 sys class leds led3 brightness 3 6 1 2 Key Switch Testing The SBC8018 evaluation board is having three users key switches S8 S9 and S10 users can perform the following testing First enter...

Страница 43: ...the calibration 2 Calibration is complete now enter the following commands for Touch Panel Test root sbc8018 ts_test Follow the LCD prompts to choose draw point OR draw line test 3 6 1 4 RTC Testing...

Страница 44: ...r the directory media root sbc8018 cd media root sbc8018 media ls card hdd mmcblk0p1 ram union cf mmc1 net realroot 2 Enter the following command to see the TF card content root SBC80root sbc801818 me...

Страница 45: ...16 2 2 KiB usb0 Link encap Ethernet HWaddr 5E C5 F6 D4 2B 91 inet addr 192 168 1 115 Bcast 192 168 1 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 253 errors 0 dro...

Страница 46: ...Sbc8018 ping 192 168 1 15 PING 192 168 1 15 192 168 1 15 56 data bytes 64 bytes from 192 168 1 15 seq 0 ttl 128 time 0 885 ms 64 bytes from 192 168 1 15 seq 1 ttl 128 time 0 550 ms 6 If you receive p...

Страница 47: ...e ramdisk gz ubi img 3 6 1 8 Audio Testing The board has multiple audio input and output interface we can use the alsa utils utility available in the file system to test the board audio in order to te...

Страница 48: ...0 silence_size 0 boundary 1445199872 appl_ptr 0 hw_ptr 0 2 Playback Testing To playback plug in the headphones and enter the below command to hear what you have just recorded root Sbc8018 aplay t wav...

Страница 49: ...self adapting DM9000 network card users can directly connect the board to the LAN network and enter the following commands for network testing root sbc8018 ifconfig eth0 192 192 192 203 root sbc8018...

Страница 50: ...connect the CAMERA module and LCD screen to the board To install the camera please use the camera drivers from drivers media video tvp514x c After installation of camera module enter the following com...

Страница 51: ...781440 Jul 28 2011 taobeini WAV root sbc8018 3 7 Application Development This section will introduce you to the various steps involved in application development process Step 1 Code Editing Source Cod...

Страница 52: ...ite f_led2 dat2 sizeof dat2 usleep 300000 return 0 Step 2 Cross compilation arm none linux gnueabi gcc led_app c o led_app Step 3 Download and run Now download the compiled code into the evaluation bo...

Страница 53: ...e features installation of development environment and how to sysgen and build BSP board support package 4 2 Software Resources BSP Board Support Package CD WINCE600 BSP OMAPL138_AM18X rar CD WINCE600...

Страница 54: ...controller Source MMU Source Serial Debug Port Source Kernel Profiler use timer0 high 32 bits Source Library Abstractions PSC PLL GPIO abstractions Source Power management CPU idle support ARM wait fo...

Страница 55: ...SB OTG 2 0 FUNCTION driver Source USB OTG driver Source USB CDMA driver Source Raster LCD Display driver Source Character LCD Display driver Source NDIS Ethernet driver Source NAND FLASH driver Source...

Страница 56: ...E 6 0 R3 9 Windows Embedded CE 6 0 Product Update Rollup 12 31 2009 10 ActiveSync 4 5 11 Windows Mobile 6 Professional SDK CD does not provide WinCE development environment tools please down from http...

Страница 57: ...ease follow the below steps 1 Open the existing project file OMAPL138_AM18X_SAMPLE sln located at C WINCE600 OSDesigns OMAPL138_AM18X_SAMPLE 2 Click Build Build Solution in vs2005 to sysgen and build...

Страница 58: ...38_AM18X SRC DRIVERS WAVEDEV2 USB 1 1 OHCI Host driver OMAPL138_AM18X SRC DRIVERS USB OHCI USB 2 0 OTG Host driver bsp OMAPL13X_TI_V1 USB USBH bsp OMAPL138_AM18X SRC DRIVERS USB USBH USB 2 0 OTG Funct...

Страница 59: ...AL bsp OMAPL138_AM18X SRC DRIVERS SERIAL UPP driver bsp OMAPL13X_TI_V1 UPP bsp OMAPL138_AM18X SRC DRIVERS UPP SD MMC Host Controller driver bsp OMAPL13X_TI_V1 SDHC bsp OMAPL138_AM18X SRC DRIVERS SDHC...

Страница 60: ...T can be downloaded to NAND Flash by using sfh_OMAP L138 exe tool net framework is require to run this utility you can download net framework dotNetFx40_Full_x86_x64 exe from Microsoft 1 Make sure you...

Страница 61: ...hen power OFF the kit Note If the erase sequence does not complete after 30 seconds press a key to terminate the sfh_OMAP L138 exe program and start the process again 8 Run the flash tool to write an...

Страница 62: ...10 Power OFF the Kit and set DIP switches as S7 1 to ON all others to OFF Figure 4 4 11 Start your serial terminal application Hyper Terminal 115200 baud 8N1 12 Now power ON the evaluation board and y...

Страница 63: ...s the key 2 2 2 step by step to select boot NK from TF card as shown below Booting with TI UBL Device OPP 456MHz 1 3V 01 Microsoft Windows CE Bootloader Common Library Version 1 4 Built Sep 23 2011 15...

Страница 64: ...onfiguration menu 2 Main Menu 1 Show Current Settings 2 Boot Settings 3 Network Settings 5 Video Settings 6 Save Settings 7 Peripheral Tests R Reset Settings To Default Values 0 Exit and Continue Sele...

Страница 65: ...NK from SD 2 Boot device set to NK from SD b Press the key 0 0 by step by step to start the system from SD card and you would see the following message on your PC Hyper Terminal Boot Settings 1 Show C...

Страница 66: ...0x01C40000 Loading from SD card ReadNKFromSDMMC ReadFileFromSDMMC reading file nk bin SDBootPDD PDD_SDInitializeHardware MMCSD SDBootMDD SDInitializeHardware SD card detected SDBootMDD SDInitializeHa...

Страница 67: ...gth 0x4 checksum 0x1eb UnpackBINImage record 296 start 0x0 length 0x80001000 checksum 0x0 CheckCEImage checking image at 0xc0000000 ROMHDR pTOC 0xc102de3c DLL First 0x4001c001 DLL Last 0x40b5c097 Phys...

Страница 68: ...Oct 20 2009 at 18 39 19 OEMInit init c built on Sep 28 2011 at 15 51 27 BSP version 1 3 0 SOC version 1 3 0 INFO OALLogSetZones dpCurSettings ulZoneMask 0xf WARN Updating local copy of BSP_ARGS Intr...

Страница 69: ...Hz PLL0 input OALDumpClocks OEMInit PINMUX14 0x00000000 PINMUX15 0x00000000 PINMUX16 0x22222200 PINMUX17 0x22222222 PINMUX18 0x22000022 PINMUX19 0x02000022 OEMGetExtensionDRAM Added 0x84400000 0x8800...

Страница 70: ...Command response timeout SDHC CommandCompleteHandler Command response timeout SDHC CommandCompleteHandler Command response timeout SDHC CommandCompleteHandler Command response timeout SDHC CommandCom...

Страница 71: ...sln 2 Connect PC and SBC8018 evaluation board using with RJ45 Cable 3 DIP switch position S7 1 to ON position other switches to OFF position Figure 4 5 Boot up from NAND Flash 4 Select EMAC as boot me...

Страница 72: ...ng the DHCP IP NETMASK according to your network environment confirm that the IP NETMASK of evaluation board is in the same sub network of your PC 7 Press key 0 to return to EBOOT main menu Now press...

Страница 73: ...igure 4 6 9 Now click on Settings button located in the right of Download drop down menu this will pop up another window as shown below If the network settings are correct and network cable OK you wou...

Страница 74: ...ess completed the serial terminal would display the below message OEMWriteFlash NK written ROMHDR at Address 80000044h Image Start 0x80000000 Image Size 0x00ff9a74 Image Launch Addr 0x80001000 Image R...

Страница 75: ...N variable in BSPFolder OMAPL138_AM18X bat Notes 1 When the sample PM configuration is disabled the default CE 6 0 PM configuration is used 2 When entering the suspend state the CE Power Manager power...

Страница 76: ...or a device pmgetd Gets the power state for a device pmreq Sets a device power requirement pmmon Monitors and reports on power state changes Most of the tools display help if run without command line...

Страница 77: ...og exe to run Windows CE OS on the kit and click CameraDshowApp_analog exe to view camera preview The VPIF driver support PAL 720 576 and NTSC 720 480 camera and the drivers is default set to support...

Страница 78: ...78 Copyright 2011 by element14 User Manual Appendix Appendix I Hardware Dimensions Figure Appendix 1 1 Hardware Dimensions Diagram...

Страница 79: ...tion this way VirtualBox allows you to run an entire operating system inside another operating system Please be aware that you should have a minimum of 512 MB of RAM For better performance 1 GB of RAM...

Страница 80: ...it as Ubuntu Otherwise you can name it as what you like Figure Appendix 2 3 VirtualBox will try to guess how much of your memory or RAM to allocate for the virtual machine If you have 1 GB or less of...

Страница 81: ...nual Click Next Figure Appendix 2 4 If this is your first time using VirtualBox which it probably is if you need a tutorial on how to use it then you do want to create new hard disk and then click Nex...

Страница 82: ...ppendix 2 6 Select Fixed size storage and click Next again Figure Appendix 2 7 Ubuntu s default installation is less than 8 GB If you plan on adding software or downloading large files in your virtual...

Страница 83: ...1 by element14 User Manual Figure Appendix 2 8 Figure Appendix 2 9 Click Finish and wait for the virtual hard drive to be created This is actually just a very large file that lives inside of your Wind...

Страница 84: ...84 Copyright 2011 by element14 User Manual Figure Appendix 2 10 Click Finish The virtual hard drive is successfully created...

Страница 85: ...Before Installing Ubuntu in a virtual machine the first thing to make the currently blank virtual hard drive useful is to add the downloaded Ubuntu disk image the iso boot on your virtual machine For...

Страница 86: ...86 Copyright 2011 by element14 User Manual Figure Appendix 2 13 Once you ve selected it click OK Then double click your virtual machine to start it up Figure Appendix 2 14...

Страница 87: ...87 Copyright 2011 by element14 User Manual Figure Appendix 2 15 Click OK Figure Appendix 2 16...

Страница 88: ...88 Copyright 2011 by element14 User Manual Figure Appendix 2 17 Select language and click Install Ubuntu Figure Appendix 2 18 Click Forward...

Страница 89: ...Click Forward Figure Appendix 2 20 This is the no turning back point If you decide to do this your hard drive will be repartitioned and part or all of it will be formatted Before you click this button...

Страница 90: ...90 Copyright 2011 by element14 User Manual Figure Appendix 2 21 While Ubuntu is preparing files to copy over for installation it ll ask you some questions They re self explanatory Figure Appendix 2 22...

Страница 91: ...91 Copyright 2011 by element14 User Manual Figure Appendix 2 23 Figure Appendix 2 24...

Страница 92: ...ght 2011 by element14 User Manual Figure Appendix 2 25 Figure Appendix 2 26 The installation will finish the whole thing can take anywhere between 15 minutes and an hour depending on the speed of your...

Страница 93: ...011 by element14 User Manual Figure Appendix 2 27 Afterwards in order to use your virtualized installation instead of continually booting from the live CD you have to change the CD DVD Device entry to...

Страница 94: ...nstall the driver for Linux USB Ethernet RNDIS Gadget when you connect the device PC will find the new hardware and pops up a window on the screen please select From list or designated location then c...

Страница 95: ...95 Copyright 2011 by element14 User Manual Figure Appendix 3 2 3 When the following appears select Continue Figure Appendix 3 3...

Страница 96: ...96 Copyright 2011 by element14 User Manual 4 Please wait until the installation is completed Figure Appendix 3 4...

Страница 97: ...ad cd sudo mkdir tftpboot sudo chmod 777 tftpboot Secondly add in etc inetd conf sudo vi etc inetd conf copy the follow word to this file tftpd dgram udp wait root usr sbin in tftpd usr sbin in tftpd...

Страница 98: ...oot the server sudo etc init d xinetd restart sudo in tftpd l tftpboot 5 Test the server Conduct a test create a file under folder tftpboot touch abc Enter into another folder tftp 192 168 1 15 192 16...

Страница 99: ...ve chat mail or post your questions on the below micro site we will reply to you as soon as possible Centralized technical support mail box knode_tech element14 com Community http www element14 com co...

Отзывы: