Home

DevKit8500D/A User Manual

image

Contents

1. J4 Pin Signal Function 1 VDD50 SV output 2 NC NC 3 VDD33 3 3V output 4 ADCIN ADC input 5 GND GND Table 2 3 2 power output interface 2 3 3 Power Switch SW1 Pin Signal Function 1 DC IN VDD Input 2 VDD50 5V 3 NC NC 2 3 4 S VIDEO Interface Table 2 3 3 power switch J4 Pin Signal Function 1 GND GND 2 GND GND 3 OUTPUT1 VIDEO Y 4 OUTPUT2 VIDEOC Table 2 3 4 S VIDEO interface 2 3 5 HDMI Interface J12 http www armkits com 19 pama EmbestInfo amp TechCo LTD http www armkits com Pin Signal Function 1 DAT2 TMDS data 2 2 DAT2_S TMDS data 2 shield 3 DAT2 TMDS data 2 4 DAT1 TMDS data 1 5 DAT1_S TMDS data 1 shield 6 DAT 1 TMDS data 1 7 DATO TMDS data 0 8 DATO S TMDS data 0 shield 9 DATO TMDS data 0 10 CLK TMDS data clock 11 CLK_S TMDS data clock shield 12 CLK TMDS data clock 13 CEC Consumer Electronics Control 14 NC NC 15 SCL IIC master serial clock 16 SDA IIC serial bidirectional data 17 GND GND 18 5V 5V 19 HPLG Hot plug and play detect 2 3 6 TFT LCD Interface Table 2 3 5 HDMI interface J12 Pin Signal Function 1 DSS DO LCD Pixel data bit 0 2 DSS D1 LCD Pixel data bit 1 3 DSS D2 LCD Pixel data bit 2 4 DSS D3 LCD Pixel data bit 3 5 DSS D4 LCD Pixel data bit 4
2. pama Embest Info amp TechCo LTD http www armkits com Display Stream on Capture Stream on 2 Atthis time LCD display screen will display images collected by the CCD camera 3 8 1 11 GPRS8000 S module If the camera modules are from Embest then you can donload the module material from below link http www timll com chinese uploadFile GPRS8000 rar 3 8 1 12 GPS8000 S module If the camera modules are from Embest then you can donload the module material from below link http www timll com chinese uploadFile GPS8000 rar 3 8 1 13 CDMA8000 U module If the camera modules are from Embest then you can donload the module material from below link http www timll com chinese uploadFile cdma8000 rar 3 8 1 14 WCDMA8000 U module If the camera modules are from Embest then you can donload the module material from below link http www timll com chinese uploadFile WCDMA8000 110113 zip 3 8 2 Demo 3 8 2 1 Android system demonstration DevKit8500D A provides Android system demonstration please follow below steps 1 Copy all files under the directory CD linux demo Android image to the TF card select according to the size of LCD you have bought and rename ulmage_xx as ulmage 2 Put the TF card in the development card and directly power it on the debugging tool will display the following information 71 am Embest Info amp TechCo LTD http www armkits com 60 Texas Instruments X Loader 1 47 Sep 20 2011
3. www armkits com usb ehci usb ehci driver Dvi Supports dvi d signal output s video Supports s video signal output Audio Audio driver Camera Camera driver Keypad 6x6 matrix keyboard driver Led User led lamp driver Android android 2 2 system Demo DVSDK DVSDK A 00 00 22 Table 3 3 1 3 4 System Development 3 4 1 Establishing operating system development environment Before executing software development on DevKit8500D A the user has to establish a Linux cross development environment and install it in computer How to establish a cross development environment will be introduced below by taking Ubuntu operating system as an example 3 4 1 1 Installation of cross 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 the disc under the directory media cdrom the cross compilation tools are saved under the directory media cdrom linux tools The following instructions are executed at the Ubuntu terminal to decompress the cross compilation tools under the directory home embest cd media cdrom linux tools tar xvf arm eabi 4 4 0 tar bz2 C home embest tar xvf arm 2007q3 tar bz2 C home embest Some of the other development tools used for source code compilation are present in the directory linux tools of the disc the user can execute the following com
4. 23 19 TF Gard Ierbessen 26 2 3 16 JTAG Interface ata ce eed erst nn cee ee Ara Ban 26 2 9 17 Expansion tu 27 29 O KEV cc tae ta 28 2 28 CHAPTER 3 LINUX OPERATING SYSTEM oioocco o ooomooo co co oo ooooooooocccocumaa 30 STEEN 30 3 2 SOFTWARE RE AE ee ea aa aan ae 30 3 3 SOFTWARE FEATURES metana nn aa nes 31 34 SYSTEM DEVELOPMENT NN INK NO 32 3 4 1 Establishing operating system development environment Woo 32 34 2 System COMpPIIANON ncaa re re r E E E EOE EE EE EEEE EEEE 33 3 4 3 System hanert 37 3 5 INTRODUCTION OF DRIVER rr ccc eee 39 9 01 INAND eecht 39 3 5 2 SD MMC iiiiiiereneeeeneeeneeeeneeeenseeeeeneeeneeeeneeennnes 40 3 5 3 Display EE 41 3 5 4 Video Capture nana nana aan tnt tes 42 9 59 9 AUOIO Ain OUI cass trees ea ana an An an me en an cot ca dec an Bea ea anna 44 3 6 DRIVER EEN 45 3 6 1 Driver For The Qplo_keyS inai asa 45 3 6 2 Driver for the opio Jede AAA 51 2 EECHER 56 3 7 1 Update of TF card system image 56 3 7 2 Update of NAND Flash 60 RE lee E 62 3 8 1 Various Tests SENAN e E 62 9 822 Demo aan 71 3 9 THE DEVELOPMENT OF APPLICATION ka Kah en aa naa laun ank Ramli 78 CHAPTER 4 WINCE OPERATING SYSTEM 80 PEE Embest Info amp Tech Co LTD GEIER 80 4 2 SOFTWARE RESOURCES nnnnnnannnnenenenennennn 80 ENEE 81 4 4 SYSTEM DEVELOPMENT EE 82 4 4 1 Installation of IDE Integrated Development Environment 82 4 4 2 Extract BSP and project tiles El 83 4 4 3 Sysgen amp BSP e E 84 4 4 4 Introduction of driv
5. 6 DSS D5 LCD Pixel data bit 5 7 DSS D6 LCD Pixel data bit 6 20 PET Embest Info amp TechCo LTD http www armkits com 8 DSS D7 LCD Pixel data bit 7 9 GND GND 10 DSS D8 LCD Pixel data bit 8 11 DSS D9 LCD Pixel data bit 9 12 DSS D10 LCD Pixel data bit 10 13 DSS D11 LCD Pixel data bit 11 14 DSS D12 LCD Pixel data bit 12 15 DSS D13 LCD Pixel data bit 13 16 DSS D14 LCD Pixel data bit 14 17 DSS D15 LCD Pixel data bit 15 18 GND GND 19 DSS D16 LCD Pixel data bit 16 20 DSS D17 LCD Pixel data bit 17 21 DSS D18 LCD Pixel data bit 18 22 DSS D19 LCD Pixel data bit 19 23 DSS D20 LCD Pixel data bit 20 24 DSS D21 LCD Pixel data bit 21 25 DSS D22 LCD Pixel data bit 22 26 DSS D23 LCD Pixel data bit 23 27 GND GND 28 DEN AC bias control STN or pixel data enable TFT 29 HSYNC LCD Horizontal Synchronization 30 VSYNC LCD Vertical Synchronization 31 GND GND 32 CLK LCD Pixel Clock 33 GND GND 34 X4 X4 Position Input 35 X X Position Input 36 Y Y Position Input 37 Y Y Position Input 38 SPI CLK SPI clock 39 SPI_MOSI Slave data in master data out 21 PET Embest Info amp TechCo LTD http www armkits com 40 SPI MISO Slave data out master data in 41 SPI CS SPI enable 42 IC CLK IIC master seria
6. Some operating systems like 05 2 may actually work in 32 bit mode but report it as 24 bit 16 million colors You may try to select a different color mode to see if this message disappears or you can simply disable the message now if you are sure the required color mode 32 bit is not available in the guest OS Figure Appedix 2 3 5 Click OK Pa Ubuntu Running Oracle VE VirtualBox 11 04 Figure Appedix 2 3 6 103 P Embest Info amp Tech Co LTD http www armkits com install Welcome Asturianu Bahasa Indonesia Bosanski Catala Cestina Dansk Deutsch Eesti aural SR Esperanto Oskara Try Ubuntu Install Ubuntu Fran ais Gaellge You can try Ubuntu without making any changes ba your computer directly Galego from this CD Hrvatski Or if you re ready you can Install Ubuntu alongside or instead of your Islenska current operating system This shouldn t take too long Italiane Kurdi You may wish to read the release notes Figure Appedix 2 3 7 Select language and click Install Ubuntu Install Preparing to install Ubuntu For best results please ensure that this computer off has at least 4 4 GB available drive space Is plugged in to a power source x is connected to the Internet Download updates while installing Ubuntu uses third party software to display Flash MP3 and other media and to work with same wireless hardware Some of this software i
7. market embedinfo com If you want to get technical assistance from Embest please contact Technical Assistance Department Tel 86 755 25503401 E mail support embedinfo com URL http www armkits com Address Room 509 Luohu Science amp Technology Building 85 Taining Road Shenzhen Guangdong China 518020 pama Embest Info amp TechCo LTD http www armkits com Contents CHAPTER 1 OVERVIEW aan eds 9 1 1 PRODUCT INTRODUCTION Musse aa ik 9 L FEATURES Eet 10 CHAPTER 2 HARDWARE SYSTEM ne 13 GA Ke 13 2 1 1 CPU UN UN EE 13 2 OPO Features ee ee ee ee 13 2 2 DESCRIPTION OF DIFFERENT IC BLOCKS 2x ala nana akal dan 15 2211 WP SOD IB EE 15 2 2 2 MT29C4G96MAZAPCOJA 5 hehe 16 Hl EE 16 2 2 4 FE1 1 for USB 2 0 High Speed 4 Port Hub E 16 22 5 E LA 17 22 0 MAX3232 LE canted saad avis sadesledasad eege eege ddadeasdadadeasdatedeaatascdaeadsdedaeadsa ANE TAN AAA 17 2 3 HARDWARE INTERFACE EE 18 23 I PowerImput Jaten an an no 18 2 3 2 Power Output Interface kanan tania Ketam mn Sean ma eni an saban me nba 19 239 POWO LAN 19 Eee ne SN ns aa ene ee ee Eaka Naaa 19 2 3 5 ADMI Int rface ss isa aa aa 19 2 3 6 TFT LCD Inter at Si ts cad cade tate AAN A AN Tlah 20 2 3 7 AUDIO OUTPUT Jack ana aman kanal 22 23 8 Camera Interface Ee 22 ER eee er ee eer 23 2 3 10 Keyboard Interface seen 24 SCENE 24 al Ne ar 25 23 13 USB OTG Interface aa 25 23 14 USB HOST Interia E Se 26 pama Embest Info amp TechCo LTD http www armkits com
8. 16 18 31 DevKit8500 xM Rev A Starting X loader on MMC Reading boot sector 1153712 Bytes Read from MMC Starting OS Bootloader from MMC Starting OS Bootloader U Boot 2010 06 rc1 svn Sep 27 2011 14 57 19 OMAP34xx 35xx GP ES2 1 CPU OPP2 L3 165MHz OMAP3 DevKit8500 board LPDDR NAND I2C ready DRAM 512 MiB NAND 512 MiB Warning bad CRC or NAND using default environment In serial Out serial Err serial DevKit8500 xM Rev A Die ID 3a7e00229e380000016826300402302f NAND erase device 0 whole chip Erasing at 0x1ffe0000 100 complete OK mmct1 is available 72 P re Embest Info amp Tech Co LTD http www armkits com reading x load bin ift for NAND 10892 bytes read HW ECC selected NAND write device 0 offset 0x0 size Ox2a8c 12288 bytes written OK reading flash uboot bin 1152260 bytes read SW ECC selected NAND write device 0 offset 0x80000 size 0x119504 1153024 bytes written OK reading ulmage 2572792 bytes read SW ECC selected NAND write device 0 offset 0x280000 size 0x2741f8 2574336 bytes written OK reading ubi img 79036416 bytes read SW ECC selected NAND write device 0 offset 0x680000 size 0x4b60000 79036416 bytes written OK 3 LED lamp sys on the board will flicker to prompt after programming is finished at this time please pull the TF card out 4 Power it on again and boot to enter the android operating system 73 F rre Embes
9. 2 6 32 Image Type ARM Linux Kernel Image uncompressed Data Size 2547364 Bytes 2 4 MiB Load Address 80008000 Entry Point 80008000 Verifying Checksum OK Loading Kernel Image OK OK Starting kernel Arago Project http arago project org dm37x evm ttyS2 Arago 2010 07 dm37x evm ttyS2 dm37x evm login root DVSDK file system has some preinstalled application programs which can be executed by the user running This pipeline decodes H 264 of GStreamer pipelines will be taken as shown example below root dm37x evm cd usr share ti gst omap3530 root dm37x evm usr share ti gst omap3530 loadmodules sh cmemk unregistered CMEMK module built on Oct 14 2010 at 13 14 41 Reference Linux version 2 6 32 76 Pa Embest Info amp TechCo LTD File sdk build DVSDK 4 00 4 00 00 22 arago install arago tmp work dm37x evm none linux gnuea bi ti linuxutils 1_2 25 05 11 r89d linuxutils 2 25 05 11 packages ti sdo linuxutils cmem src mo dule cmemk c allocated heap buffer 0xc9000000 of size 0x53d000 cmemk initialized DSPLINK Module 1 65 00 02 created on Date Oct 14 2010 Time 13 21 09 SDMAK module built on Oct 14 2010 at 13 14 44 Reference Linux version 2 6 32 File sdk build DVSDK_4 00 4 00 00 22 arago install arago tmp work dm37x evm none linux gnuea bi ti linuxutils 1_2 25 05 11 r89d linuxutils 2 25 05 11 packages ti sdo linuxutils sdma src mod ule sdmak c root dm37x evm usr share ti gst omap3530 gst launch filesrc
10. 3 2 1 shows the structure of the system Figure 3 2 1 Features and functions of each part of the system are given below 30 P EmbestInfo amp TechCo LTD http www armkits com 1 X loader is a first level bootstrap program After the system start up the ROM inside the CPU will copy the x loader to internal RAM and perform its routine work Its main function is to initialize the CPU copy u boot into the memory and give the control to u boot 2 U boot is a second level bootstrap program It is used for interacting with users and updating images and leading the kernel 3 The latest 2 6 x kernel is employed here and it can be customized based on DevKit8500D A 4 Rootfs employs Open source system It is small in capacity and powerful very suitable for embedded systems 3 3 Software Features Hem Note NAND ONENAND x loader MMC SD FAT BIOS NAND ONENAND MMC SD u boot FAT NET Supports ROM CRAM EXT2 EXT3 FAT NFS Kernel Linux 2 6 x JFFS2 UBIFS and various file systems Serial Series driver Ric Hardware clock driver Net 10 100M Ethernet card DM9000 driver Flash nand flash driver supports nand boot LCD TFT LCD driver Device Driver Touch Touch screen controller ads7846 driver screen mmc sd mmc sd controller driver usb otg 2 0 driver can be configured as slave usb otg device currently 31 am Embest Info amp TechCo LTD f http
11. 6 b Copy x load bin ift for NAND flash uboot bin ulmage xx and ubi img image files in the disc to the TF card and rename ulmage xx as ulmage according to the display device LCD 4 3 7 or VGA you used Update a Insert the TF card with the system images into the development board power on and boot it and press any key on the PC keyboard to enter the u boot according to the following clock prompts Texas Instruments X Loader 1 47 Sep 27 2011 15 53 45 DevKit8500 xM Rev A Starting X loader on MMC Reading boot sector 1153680 Bytes Read from MMC Starting OS Bootloader from MMC Starting OS Bootloader U Boot 2010 06 rc1 svn Sep 27 2011 14 54 40 OMAP34xx 35xx GP ES2 1 CPU OPP2 L3 165MHz OMAP3 DevKit8500 board LPDDR NAND I2C ready DRAM 512 MiB NAND 512 MiB 60 mbes Embest Info amp Tech Co LTD http www armkits com Warning bad CRC or NAND using default environment In serial Out serial Err serial DevKit8500 xM Rev A Die ID 22e800211e3000000158ed8408008020 Net dm9000 Hit any key to stop autoboot O Here press any key to enter u boot b After entering the u boot command line input run updatesys from the PC keyboard to start to update the system automatically OMAP3 devkit8500 run updatesys NAND erase device 0 whole chip Skipping bad block at 0x1c9c0000 Erasing at 0x1ffe0000 100 complete OK mmc is available reading x load bin ift for NAND 11
12. 90 PING 192 192 192 90 192 192 192 90 56 data bytes 64 bytes from 192 192 192 90 seq 0 ttl 128 time 1 007 ms by FE Embest Info amp TechCo LTD http www armkits com 2 64 bytes from 192 192 192 90 seq 1 ttl 128 time 0 306 ms 64 bytes from 192 192 192 90 seq 2 ttl 128 time 0 397 ms 64 bytes from 192 192 192 90 seq 3 ttl 128 time 0 367 ms 192 192 192 90 ping statistics 4 packets transmitted 4 packets received 0 packet loss round trip min avg max 0 306 0 519 1 007 ms root DevkKit8500 1 ping 192 192 192 170 PING 192 192 192 170 192 192 192 170 56 data bytes 64 bytes from 192 192 192 170 seq 0 ttl 128 time 4 486 ms 64 bytes from 192 192 192 170 seq 1 ttl 128 time 0 336 ms Occurrence of above serial port information indicates that the testing is successful 3 8 1 10 Camera Testing 1 If you have bought the specific camera module of DevKit8500D A after connecting CAMERA module and CCD camera connect LCD screen carry out the testing by executing the following commands root DevKit8500 saMmapLoopback tvp514x 2 005d tvp5146m2 found at Oxba OMAP I2C adapter Capture Opened Channel Capture Current Input COMPOSITE Capture Current standard PAL Capture Capable of streaming Capture Number of requested buffers 3 Capture Init done successfully Display Opened Channel Display Capable of streaming Display Number of requested buffers 3 Display Init done successfully
13. Function 1 GND GND 2 NC NC 3 MIC MAIN P Right input 23 PET Embest Info amp TechCo LTD http www armkits com NC NC MIC MAIN N Left input 2 3 10 Keyboard Interface Table 2 3 9 MIC IN interface J5 Pin Signal Function 1 KCO Keypad matrix column 0 output 2 KRO Keypad matrix row 0 input 3 KC Keypad matrix column 1 output 4 KR1 Keypad matrix row 1 input 5 KC2 Keypad matrix column 2 output 6 KR2 Keypad matrix row 2 input 7 KC3 Keypad matrix column 3 output 8 KR3 Keypad matrix row 3 input 9 KC4 Keypad matrix column 4 output 10 KR4 Keypad matrix row 4 input 11 KC5 Keypad matrix column 5 output 12 KR5 Keypad matrix row 5 input 13 VDD18 1 8V 14 GND GND Table 2 3 10 keyboard interface 2 3 11 Serial Ports J15 Pin Signal Function 1 NC NC 2 RXD Receive data 3 TXD Transit data 4 NC NC 5 GND GND 24 PET Embest Info amp TechCo LTD http www armkits com 6 NC NC 7 RTS Reguest To Send 8 CTS Clear To Send 9 NC NC 2 3 12 LAN Interface Table 2 3 11 serial port J13 Pin Signal Function 1 TX TX output 2 TX TX output 3 RX RX input 4 VDD25 2 5V Power for TX RX 5 VDD25 2 5V Power for TX RX 6 RX RX input 7 NC NC 8 NC NC 9 VDD 3 3V Power for LED 10 LED1 Speed LED 11 LED2 Link LED 12 VDD 3 3V Po
14. Function LED1 3V3 3 3V power indicator LED 2 SYS System LED LED 3 LEDB System LED LED 4 LED1 User defined key 1 LED 5 LED2 User defined key 2 28 am EmbestInfo amp TechCo LTD http www armkits com LED 6 USB1 USB indicator 1 LED 7 USB2 USB indicator 2 LED 8 USB3 USB indicator 3 LED 9 USB4 USB indicator 4 LED 10 HUB USB HUB indicator Table 2 3 19 LED 29 P re Embest Info amp TechCo L 1 http www armkits com Chapter 3 Linux Operating System 3 1 Introduction This section is intended to provide detailed instruction on Operating System Software development of DevKit8500D A board 1 Describes the Software Resources provided by DevKit8500D A 2 Describes the software feature 3 Explains the software Development including how to set up the development environment the building guidance of the boot loader kernel and file system and the development of device driver 4 Provides flashing methods using boot loader commands 5 Shows the usage of DevKit8500D A 6 Shows the application development In this part it is suggested to 1 Install Ubuntu Linux in advance please refer to Appendix II for details 2 Master relative embedded Linux development technology 3 2 Software Resources This chapter provides an overview of software system components of DevKit8500D A A basic software system consists of four parts x loader u boot kernel and rootfs The Figure
15. LABEL2 2 Prepare TF card insert it in the development board and turn the power switch on it is necessary to configure parameters of u boot the boot up serial port information is as follows boldface letters are character contents to be input 60 74 F rre Embest Info amp Tech Co LTD http www armkits com Texas Instruments X Loader 1 47 Sep 27 2011 15 53 45 DevKit8500 xM Rev A Starting X loader on MMC Reading boot sector 1153680 Bytes Read from MMC Starting OS Bootloader from MMC Starting OS Bootloader U Boot 2010 06 rc1 svn Sep 27 2011 14 54 40 OMAP34xx 35xx GP ES2 1 CPU OPP2 L3 165MHz OMAP3 DevKit8500 board LPDDR NAND I2C ready DRAM 512 MiB NAND 512 MiB In serial Out serial Err serial DevKit8500 xM Rev A Die ID 3a7e00229e380000016826300402302fNet dm9000 Hit any key to stop autoboot 0 herein input any key OMAP3 DevKit8500 setenv bootargs console ttyS2 115200n8 root dev mmcblk0p2 rootfstype ext3 rw rootwait mpurate 1000 mem 99M 0x80000000 mem 128M 0x88000000 omapdss def disp lcd omap_vout vid1_static_vrfb_alloc y omapfb vram 0 3M OMAP3 devkit8500 setenv bootcmd mmc init fatload mmc 0 80300000 ulmage bootm 80300000 OMAP3 devkit8500 saveenv 75 FE Embest Info amp TechCo LTD http www armkits com 3 OMAP3 devkit8500 boot mmct1 is available reading ulmage 2547428 bytes read Booting kernel from Legacy Image at 80300000 Image Name Linux
16. NK bin image files to the TF card root directory 3 Boot system Insert TF card and reboot the system At this time the system boots from TF card The HyperTerminal will display boot message as below 60 Texas Instruments Windows CE SD X Loader for EVM 3730 Built Mar 23 2011 at 08 31 15 Version 6 15 00 open ebootsd nb0 file Init HW controller RST SDHC 1 bit mode SDCARD regested speed 1000000 actual speed 1000000 Using 4 bit mode SDHC 4 bit mode SDCARD regested speed 25000000 actual speed 24000000 read ebootsd nb0 file 87 most Embest Info amp Tech Co LTD http www armkits com jumping to ebootsd image Microsoft Windows CE Bootloader Common Library Version 1 4 Built Mar 22 2011 18 45 08 Texas Instruments Windows CE EBOOT for Mistral OMAP EVM Built Mar 23 2011 at 08 31 11 EBOOT Version 1 1 BSP 6 15 00 TI DM3730 Version 0x2b89102f unknown TPS659XX Version 0x10 ES1 1 System ready Preparing for download INFO Predownload WARN Boot config wasn t found using defaults INFO SW4 boot setting Ox2f gt gt gt Forcing cold boot non persistent registry and other data will be wiped lt lt lt Hit space to enter configuration menu 1 Init HW controller RST SDHC 1 bit mode SDCARD regested speed 1000000 actual speed 1000000 Using 4 bit mode SDHC 4 bit mode SDCARD regested speed 25000000 actual speed 24000000 BL IMAGE TYPE BIN Download file information 88 am Embest Info amp
17. OMAP35XX_TPS659XX_TI_V1 omap35xx BLOCK NAND driver bsp DevKit8500 SRC DRIVERS BLOCK NAND bsp DevKit8500 SRC DRIVERS DISPLAY Display driver LCD DVI S bsp DevKit8500 SRC DRIVERS LCD Video Composite Video bsp OMAP35XX_TPS659XX_TI_V1 omap35xx DISPLAY TOUCH driver bsp DevKit8500 SRC DRIVERS TOUCH bsp DevKit8500 SRC DRIVERS SDBUS bsp DevKit8500 SRC DRIVERS SDHC SD MMC SDIO driver bsp DevKit8500 SRC DRIVERS SDMEMORY bsp OMAP35XX_TPS659XX_TI_V1 omap35xx SDHC DM9000 network card bsp DevKit8500 SRC DRIVERS DM9000 driver bsp DevKit8500 SRC DRIVERS MUSB USB OTG driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx musb USB EHCI driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx USB EHCIP 85 pama Embest Info amp TechCo LTD http www armkits com DD VRFB driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx VRFB bsp DevKit8500 FILES cmemk dll DSPLINKK CMEMK bsp DevKit8500 FILES dsplinkk dll bsp DevKit8500 FILES MPEG2VideoDecoder dll AAC MPEG2 MPEG4 H2 bsp DevKit8500 FILES MPEG4VideoDecoder dll 64 DSP bsp DevKit8500 FILES H264VideoDecoder dil Hardware decode fitler bsp DevKit8500 FILES AACAudioDecoder dll bsp OMAP35XX_TPS659XX_TI Vi omap GPIO KEYPAD GPIO keyboard driver bsp DevKit8500 SRC DRIVERS KEYPAD PWM TPS65930 driver bsp OMAP35XX_TPS659XX_TI_V1 omap TLED bsp OMAP35XX_TPS659XX_TI_V1 omap TPS659XX MAD ADC TPS65930 driver C ONENAND drive bsp DevKit8500 SRC DRIVERS BLOCK O
18. amp Tech Co LTD http www armkits com DeviceloControl hFile IOCTL GPIO SETMODE pinBuffer sizeof pInBuffer NULL 0 NULL NULL 4 Read the working mode of GPIO DeviceloControl hFile IOCTL GPIO GETMODE amp id sizeof DWORD amp mode sizeof DWORD NULL NULL id is GPIO Pin number mode is GPIO mode including Mode definition Description GPIO DIR OUTPUT Output mode GPIO DIR INPUT Input mode GPIO INT LOW HIGH Rising edge trigger mode GPIO INT HIGH LOW Falling edge trigger mode GPIO INT LOW low level trigger mode GPIO INT HIGH high level trigger mode GPIO DEBOUNCE ENABLE Jumping trigger enable 5 The operation of GPIO Pin DWORD id 0 pin 0 6 Output high level DeviceloControl hFile IOCTL GPIO SETBIT amp id sizeof DWORD NULL 0 NULL NULL 7 Output low level DeviceloControl hFile IOCTL GPIO CLRBIT amp id sizeof DWORD NULL 0 NULL NULL 8 Readthe pin state DeviceloControl hFile IOCTL GPIO GETBIT amp id sizeof D WORD amp pin sizeof DWORD NULL NULL id is GPIO pin number pin returns to pin state 9 Other optional operation Read the corresponding IRQ number of GPIO pin DWORD id 0 irg 0 DeviceloControl hFile IOCTL GPIO GETIRQ amp id sizeof DWORD amp irg sizeof DWORD NULL NULL id is GPIO pin number irq returns IRQ number 10 Close GPIO device CloseHandle hFile 93 nn Embest Info amp Tech Co LTD http www
19. blocks 4026531 84 12 block groups 32768 blocks per group 32768 fragments per group 16256 inodes per group Superblock backups stored on blocks 32768 98304 163840 229376 294912 Writing inode tables done Creating journal 8192 blocks done Writing superblocks and filesystem accounting information Notes After formatting and dividing into FAT and EXT3 under ubuntu system the FAT needs reformatting under windows system otherwise start up with SD card can be realized 117 am Embest Info amp TechCo LTD 1 http www armkits com Appendix V The Setup Of TFTP Server 1 Install client gt sudo apt get install tftp hpa gt sudo apt get install tftod hpa 2 Install inet gt sudo apt get install xinetd gt sudo apt get install netkit inetd 3 Configure the server First create tftpboot under root directory and set the properties as a random user can write and read gt cd gt sudo mkdir tftpboot gt sudo chmod 777 tftpboot Secondly add in etc inetd conf gt sudo vi etc inetd conf Icopy the follow word to this file tftpd dgram udp wait root usr sbin in tftpd usr sbin in tftpd s tftpboot Then reload inetd process gt sudo etc init d inetd reload Finally enter directory etc xinetd d and create a new file tftp and put the designated content into file tftp gt cd etc xinetd d gt sudo touch tftp gt sudo vi
20. file x load bin ift for NAND which we need 3 4 2 3 U boot image generated cd u boot 03 00 02 07 34 am Embest Info amp Tech Co LTD J http www armkits com make distclean make devkit8500 config make When the above steps are finished the current directory will generate the file u boot bin which we need 3 4 2 4 Kernel compilation Before kernel compilation the user has to select correct display according to the customize menu of kernel For Linux system the output operation is as follows cd linux 2 6 32 devkit8500 make distclean make devkit8500 defconfig make ulmage For Android system the iutput operation is as follows cd linux 2 6 32 devkit8500 make distclean make devkit8500 android defconfig make menuconfig If an error occurs in the system when make menuconfig is input it is necessary to install ncurse in the 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 Enter the kernel customize menu now enter PANEL_TYPE according to the following pointing paths 35 F rre Embest Info amp Tech Co LTD http www armkits com Location gt Device Drivers gt Graphics supporte gt OMAP2 3 Display Subsystem support EXPERIMENTAL gt OMAP2 3 Display Device Drivers gt DM3730_EVK LCD Panel gt PANEL TYPE lt choice gt y Select under PANEL TYPE a
21. only NEON SIMD Coprocessor POWERVR SGX Graphics Accelerator ARM 32 KB I Cache 32 KB D Cache 256KB L2 Cache On Chip 64KB RAM 32KB ROM Memory 10 pama EmbestInfo amp TechCo LTD http www armkits com 512MB 32bit DDR SDRAM 512MB 16bit NAND Flash 2GB 4bit INAND Default not soldered optional reserved for soldering Audio Video Interfaces An S VIDEO interface An HDMI DVI D interface An audio input interface 3 5mm audio jack A two channel audio output interface 3 5mm audio jack LCD Touch screen RGB 24 bit colors Resolution up to 2048 2048 4 line Touch Screen Data Transfer Interface Serial port H UART1 5 line serial port TTL based voltage H UART2 5 line serial port TTL based voltage WR UARTS 5 line serial port RS232 based voltage USB port m 1x USB2 0 OTG High speed 480Mbps m 4x USB2 0 HOST High speed 480Mbps TF card interface 10 100Mbps Ethernet Interface RJ45 jack 1 channel McSPI Interface Multichannel Serial Port Interface 1 channel McBSP interface Multi Channel Buffered Serial Port 1 channel I2C interface 1 channel HDQ interface HDQ 1 Wire Input Interface 1 channel Camera interface Support CCD or CMOS camera 6 6 keyboard interface 14 pin JTAG interface 4 buttons 2 USER buttons 1 RESET button 1 ON OFF button 11 P Embest Info amp Tech Co LTD http www armkits com LED e 1 Power LED e 2 System LEDs e 2 User LEDs 4USB H
22. target system and then launch Knowing issue CAM8000 A cannot work well on DVI display mode This problem would be solved in next release edition so it is recommend that use the 4 3 7 inch LCD when use cam8000 a module currently 4 6 4 How to use CAM8000 D module 1 Modify the lines below in DevKit8500 bat set BSP_NOCAMERA set BSP_NOCAMERA_MDC 1 set BSP_NODIGITALCAMERA 2 Add the line below in the file locate in C wince600 platform DevKit8500 src driverdirs camera 3 Rebuild solution in vs 2005 to create nk bin 4 Connect camera8000 D module to DevKit8500D A and boot with updated nk bim 5 Copy C wince600 platform DevkKit8500 files CameraDshowApp_digital exe to target system and then launch 4 7 The development of application This chapter introduces how to develop Windows Embedded CE 6 0 application program in DevKit8500D A Before development it is necessary to install Windows Mobile 6 Professional SDK Please refer to Appendix VI for download path It is necessary to establish Windows Embedded CE 6 0 development platform in order to develop Windows Embedded CE 6 0 operating system The development case in this Manual is based on development of Windows Mobile 6 Professional SDK 4 7 1 Application program interfaces and examples API used for development of DevKit8500D A application programs employs Microsoft Windows 91 P Embest Info amp Tech Co LTD http www armkits com Embedded CE 6 0 standard applicatio
23. tolerance DevKit8500D A uses 10 100M adaptive network interface of DM9000 in which the 10 100M Ethernet module is built in and is compatible to IEEE 802 3 standard protocol The cable interface is a standard RJ45 with a connection indicator and a transmission indicator DevKit8500D A can be connected to network hub through a direct cable also can be directly connected with a computer through a crossover cable 2 2 4 FE1 1 for USB 2 0 High Speed 4 Port Hub The FE1 1 is a highly integrated high quality high performance low power consumption yet low cost solution for USB 2 0 High Speed 4 Port Hub It adopts Multiple Transaction Translator MTT architecture to explore the maximum possible throughput Six instead of two non periodic transaction buffers are used to minimize potential traffic jamming FE1 1 is link out the 4 channel USB interface via the USB3320 share one channel 480Mbps as four channel 120Mbps Support High Speed 480MHz Full Speed 12MHz and Low Speed 1 5MHz modes 16 F rre Embest Info amp TechCo LTD http www armkits com 2 2 5 TFP410 The TFP410 is a Texas Instruments Pane Bus flat panel display product part of a comprehensive family of end to end DVI 1 0 compliant solutions targeted at the PC and consumer electronics industry The TFP410 provides a universal interface to allow a glue less connection to most commonly available graphics controllers Some of the advantages of this universal interfa
24. 0 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 Occurrence of above serial port information indicates that the testing is successful IP address of the network adapter configured in OTG cannot be the same as that of Ethernet interface 3 8 1 7 USB HOST Testing 1 After connecting USB flash disk the system will mount the file system of the USB flash disk under the directory media automatically root DevKit8500 cd media root DevKit8500 media Is card hdd mmcblkOpi ram sdai cf mmci net realroot union Contents in the USB flash disk will be seen after the following instruction is input root DevKit8500 media Is sdal flash uboot bin u boot bin x load bin ift for NAND mlo ulmage ramdisk gz ubi img 3 8 1 8 Audio Testing The board has audio input and output interface and we have alsa utils audio test tools in the file system users can enter the following commands for a test 1 Recording Test Plug in a microphone you can test recording root DevKit8500 arecord t wav c 1 r 44100 f S16 LE v k Recording WAVE k Signed 16 bit Little Endian Rate 44100 Hz Stereo Plug PCM Hardware PCM card 0 omap3evm device 0 subdevice 0 67 Pa Embest Info amp Tech Co LTD Its setup is stream CAPTURE access RW_INTERLEAVED format S16 LE subformat STD chan
25. 000 bytes read HW ECC selected NAND write device 0 offset Ox0 size Ox2af8 12288 bytes written OK reading flash uboot bin 230764 bytes read SW ECC selected NAND write device 0 offset 0x80000 size 0x3856c 231424 bytes written OK 61 FE Embest Info amp Tech Co LTD http www armkits com reading ulmage 2561868 bytes read SW ECC selected NAND write device 0 offset 0x280000 size 0x27174c 2562048 bytes written OK reading ubi img 7602176 bytes read SW ECC selected NAND write device 0 offset 0x680000 size 0x740000 7602176 bytes written OK OMAP3 DevKit8500 c Atthis time flickering of LED lamp on the board indicates that update has been finished you just need to reboot it 3 8 Instructions 3 8 1 Various Tests senario 3 8 1 1 LED Testing SYS LED USER LEDB USER LED and USER LED in the board is user led lamp The following operation carried out in HyperTerminal 1 Control sys led root DevKit8500 echo 1 gt sys class leds sys led brightness root DevKit8500 echo 0 gt sys class leds sys led brightness 2 Control user ledb root DevKit8500 echo 1 gt sys class leds user ledb brightness root DevKit8500 echo 0 gt sys class leds user ledb brightness 3 Control user led1 62 F rre Embest Info amp TechCo LTD 1 http www armkits com root Devkit8500 echo 1 gt sys class leds user_led1 brightness root Devkit8500 echo 0 gt sys class leds user_led1 bright
26. 1 Windows Mobile 6 Professional SDK 4 4 2 Extract BSP and project files to IDE The following preparations should be made 1 Extract wince_6 bsp DevkKit8500 rar to C WINCE600 PLATFORM directory 2 Extract wince_6 bsp OMAP35XX_TPS659XX_TI_V1 rar to C WINCE600 PLATFORM COMMON SRC SOC 3 Double click CD wince_6 powerVR wince_gfx_sgx_01_01_00 patch 01 setup exe to install powerVR DDK and SDK default install path is C Tl wince_gfx_sgx_01_01_00_patch_01 copy C Tl wince_gfx_sgx_01_01_00_patch_01 poweVR directory to C wince600 public 4 Copy CD directory CDROM wince_6 prj DevKit8500 to C WINCE600 0SDesigns directory 5 Please modify the LCD or DVI config beford build solution For the 4 3 LCD Modify platform DevKit8500 src drivers Icd vga Icd_vga c define LCD_4 3 INCH 1 define LCD_5 6 INCH 1 define LCD_7_INCH 1 For the 7 LCD Modify platform DevKit8500 src drivers Icd vga Icd_vga c define LCD 4 3 INCH 1 define LCD 5 6 INCH 1 define LCD 7 INCH 1 For DVI output Modify DevKit8500 bat set BSP DVI 1280W 720H 1 set BSP NOTOUCH 1 83 PANE Embest Info amp Tech Co LTD The default installation path of the Windows Embedded CE 6 0 in this context is C WINCE600 4 4 3 Sysgen amp BSP compile Below are the steps given for Sysgen and BSP build 1 Open the existing project file DevKit8500 sIn C WINCE600 OSDesigns Devkit8500 2 Select Build gt Build Solution in vs2005 to sysgen and build
27. 3730 only running at 800MHz with high level digital signal processing functions and provides rich peripheral interfaces DevKit8500D A expands LAN port S VIDEO interface audio input output interface USB TF interface serial port SPI interface IIC interface JTAG interface CAMERA interface TFT interface touch screen interface keyboard interface and HDMI interface DevKit8500D A can be used in the following applications e Portable Data Terminals Navigation Auto Infotainment e Gaming Medical Equipment Home Automation Human Interface e Industrial Control e Test and Measurement e Single board Computers pama Embest Info amp Tech Co LTD i http www armkits com DevKit8500D A function module chart See Figure 1 1 ot JTAG GPIO UART Control DM9000 DM3730 AM3715 1GHz ARM Cortex A8 800MHz TMS320C64x DM3 730 only RC CT k spRc Audio out LCD D USB CCD CNO MMC ap Interface Interface Control DVI Control USB Control TFP410 USB3320 SS Figure 1 1 1 2 Features DevKit8500D A evaluation board is based on DM3730 AM3715 processor and it integrates all the functions and features of this IC s The features of this board are as follows Mechanical Parameters e Working temperature 30 C 70 C Humidity Range 20 90 Dimensions 136 2mm 105 3mm e Input Voltage 5V Processor 1GHz ARM Cortex A8 Core 800 MHz TMS320C64x DSP Core DM3730
28. 8000 Verifying Checksum OK Loading Kernel Image OK OK Starting kernel Uncompressing SE done booting the kernel Linux version 2 6 32 luofc TIOP gcc version 4 4 0 GCC 1 Mon Mar 14 10 08 34 CST 58 am Embest Info amp Tech Co LTD http www armkits com 2011 Remounting root file system mount mounting dev root on failed Invalid argument mount mounting dev root on failed Invalid argument root mount mounting rootfs on failed No such file or directory root mount mounting usbfs on proc bus usb failed No such file or directory Setting up IP spoofing protection rp filter Configuring network interfaces udhcpc v1 11 3 started Sending discover udhcpc sendto Network is down Sending discover udhcpc sendto Network is down INIT Entering runlevel 5 Starting syslogd klogd done The Angstrom Distribution DevKit8500 ttyS2 Angstrom 2008 1 test 20090127 DevKit8500 ttyS2 DevKit8500 login HyperTerminal displays above information to indicate that it is successful to boot Linux system from TF card 59 am Embest Info amp Tech Co LTD 1 http www armkits com 3 7 2 Update of NAND Flash Update of Nand boot image is finished in aid with u boot No matter whether NAND FLASH has data or not u boot of the TF card can be used to update NAND FLASH images 1 Preparation a Format the TF card to FAT or FAT32 file system through HP USB Disk Storage Format Tool 2 0
29. BSP 3 Images including MLO EBOOTSD nb0 Nk bin will be created after sysgen phase and build phase finished successfully Copy the files MLO EBOOTSD nbO and NK bin under C WINCE600 0SDesigns DevkKit8500 DevkKit8500 RelDir DevkKit8500_ARMV4I_ Release to the SD card 4 Insert the SD card into the device and boot the device for a test 4 4 4 Introduction of driver The following picture shows the BSP architecture of DevKit8500D A OMAP 3 WinCE BSP Architecture Applications o S a a Ka E E Er x we image mes bi ba W INSTRUMENTS STRUMENTS Hardware Source code path of all drivers of BSP NLED driver bsp DevKit8500 SRC DRIVERS NLED 84 P re EmbestInfo amp Tech Co LTD http www armkits com bsp DevKit8500 SRC DRIVERS GPIO SR bsp OMAP35XX_TPS659XX_TI_V1 omap35xx GPIO bsp OMAP35XX_TPS659XX_TI_V1 omap35xx OAL l2C 12C bsp DevKit8500 SRC OAL OALI2C bsp OMAP35XX_TPS659XX_TI_V1 omap35xx CEDDK I2C SPI bsp OMAP35XX_TPS659XX_TI_V1 omap35xx SPI MCBSP driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx MCBSP Serial port driver bsp OMAP35XX_TPS659XX_TI_V1 omap COM_MDD2 bsp OMAP35XX_TPS659XX_TI_V1 omap35xx UART bsp OMAP35XX_TPS659XX_TI_V1 omap GPIO_KEYPAD 6X6 keyboard driver bsp DevKit8500 SRC DRIVERS KEYPAD bsp DevKit8500 SRC DRIVERS CESYSGEN WAVE bsp OMAP35XX_TPS659XX_TI_V1 omap TPS659XX WAV Audio driver E bsp OMAP35XX_TPS659XX_TI_V1 omap35xx WAVE bsp
30. DevKit8500D A Integrated with LCD USB CCD COMS Audio input output S video Ethernet Serial port TF card interface based on 32 bit microcontroller User Manual pama Embest Info amp TechCo LTD http www armkits com COPYRIGHT lt Devkit8500D A CAM8000 A CAM8000 D GPRS8000 S GPS8000 S WCDMA8000 U CDMA8000 U WF8000 U CAM8100 U VGA8000 are trademarks of Embest Info amp Tech Co LTD AM3715 DM3730 are trademarks of TI Corporation Sourcery G Lite for ARM GNU Linux is a trademark of Codesourcery Microsoft MS DOS Windows Windows95 Windows98 Windows2000 Windows embedded CE 6 0 are trademarks of Microsoft Corporation Important Notice Embest has ownership and rights to the use of this Document Information in the Document is within the protection of copyright Unless specifically allowed any part of this Document should not be modified issued or copied in any manner or form without prior written approval of Embest Info amp Tech Co LTD http www armkits com PZ Embest Info amp Te Version update records 1 0 2011 6 20 Initial version Parts of contents have been amended to avoid 1 1 2011 8 5 ambiguity 1 2 2011 10 24 Modified part of name from schematic nn Embest Info amp Tech Co LTD J http www armkits com Contact If you want to order products from Embest please contact Marketing Department Tel 86 755 25635656 25636285 Fax 86 755 25616057 E mail
31. Display Storage Tree Attributes A e Storage Choose a virtual CD DVD disk file Audio Look in software zl Be Be Network 2 Bubuntu 11 04 desktop i386 Serial Ports a uss Shared Folders My Computer File name X Files of type far CD DYD ROM disk images C dmg iso cdr E Cancel Figure Appedix 2 3 2 Before Installing Ubuntu in a virtual machine the first thing to do to make the currently blank virtual hard drive useful is to add the downloaded Ubuntu disk image the iso boot on your virtual machine Click on Settings and Storage Then under CD DVD Device next to Empty you ll see a little folder icon Click that and you can select the Ubuntu iso you downloaded earlier 101 mbes Embest Info amp Tech Co LTD http www armkits com E Ubuntu Settings Im General System Display Storage Audio Network Serial Ports USB Shared Folders E P Ge D B Storage Storage Tree Attributes aA IDE Controller CD DVD Drive IDE Primary Master v A G amp G ubuntu 11 04 desktop i386 iso Information A SATA Controller Type Image Size 685 29 MB 2 Ubuntu vdi D software ubuntu 11 04 deskto D system Ubuntu vdi Type Format Normal VDI Attached to Ubuntu Contains all storage controllers for this machine and the virtual images and host drives attached to them A Non optimal settings detected OK Cancel Help F
32. NENAND bsp Devkit8500 SRC DRIVERS CAMERA_MDC Camera driver bsp DevKit8500 SRC DRIVERS CAMERA_ D Backlight driver bsp DevKit8500 SRC DRIVERS BACKLIGHT Battery driver bsp DevKit8500 SRC DRIVERS BATTERY Sleep wake up button driver bsp DevKit8500 SRC DRIVERS PWRKEY bsp OMAP35XX_TPS659XX_TI_V1 omap PM DVFS Smart Reflex bsp DevKit8500 SRC DRIVERS PM DMA driver bsp OMAP35XX_TPS659XX_TI_V1 omap35xx DMA RTC driver bsp OMAP35XX_TPS659XX_TI_V1 omap RTC If the user wants to refer to more WinCE driver development please refer to the specific reference document of the Windows Embedded CE 6 0 compilation tool Start gt All programs gt Microsoft Visual Studio 2005 gt 86 am Embest Info amp TechCo LTD 1 http www armkits com MicroSoft Visual Studio Document gt Content C gt Windows Embedded CE 6 0 gt Develop a Device Driver 4 5 Update System Image DevKit8500D A supports boot up from TF card and NAND this section will respectively introduce two different system update ways 4 5 1 Update TF card Image 1 Format TF card Please refer to contents of 3 7 1 Update of TF card system image 2 Copy runtime image navigate to sub directory Icd_800x480 Icd_480x272 and DVI_1280x720 under directory wince_6 image You can select a specific sub directory according to your display device Icd_480x272 for LCD 4 3 Icd 800x480 for LCD 7 and DVI 1280x720 for VGA Copy MLO EBOOTSD nb0 and
33. Product Update Rollup Armv4I msi http download microsoft com download E D 7 ED779010 1B2E 4ACA BF9F 9F 1 DOEF8052B Wi nCEPB60 091231 Product Update Rollup Armv4I msi 6 Viewers for Windows Embedded CE 6 0 R3 http download microsoft com download 3 3 8 3383B6CE F70A 4A2C 873A 8C67D3CF55F6 We sttekFileViewers6 exe 7 Windows Mobile 6 Professional SDK Refresh msi http download microsoft com download f 2 3 f232f773 7edc 4300 be07 d3b76a5b3a91 Windows 20Mobile 206 20Professional20SDK 20Refresh msi 8 Windows Embedded CE 6 0 USB Camera Driver msi http download microsoft com download f a 1 fa aaefi 6ae3 4cf3 ab95 b01d3e428403 Windows 20Embedded 20CGE 206 0 20USB 20Camera 20Driver msi 120 pama Embest Info amp TechCo LTD http www armkits com Technical support amp Warranty Service Embest Info amp Tech Co LTD established in March of 2000 is a global provider of embedded hardware and software Embest aims to help customers reduce time to market with improved quality by providing the most effective total solutions for the embedded industry In the rapidly growing market of high end embedded systems Embest provides comprehensive services to specify develop and produce products and help customers to implement innovative technology and product features Progressing from prototyping to the final product within a short time frame and thus shorten the time to market and to achieve the lowest production costs possible Embest insists on
34. TechCo LTD http www armkits com Download file type 1 You may wait for a longer time here as the system boots from TF card rom offset 0x0 ImageStart 0x80101000 ImageLength 0x22A14E4 LaunchAddr 0x8010F82C Completed file s 0 Address 0x80101000 Length 0x22A14E4 Name Target RAM ROMHDR at Address 80101044h Launch Windows CE image by jumping to 0x8000f82c Windows CE Kernel for ARM Thumb Enabled Built on Oct 20 2009 at 18 39 19 OAL CPU revision Oxffffffff OAL CPU L2 Aux register 0x400042 High Performance Frequecy is 32768 khz To this point the system has entered the calibration screen of WinCE after finish of calibration the system enters the desktop system of WinCE 4 5 2 Update Nand flash Image 1 Format TF card Please refer to contents of 3 7 1 Update the image for TF card 2 Copy runtime image Position to sub catalogue Icd 800x480 Icd 480x272 and DVI 1280x720 under catalogue wince_6 image You can select a specific sub catalogue according to your display device lcd 480x272 for LCD 4 3 Icd 800x480 for LCD 7 and DVI 1280x720 for VGA e Copy MLO EBOOTNAND nb0 NK bin and XLDRNAND nb0 image files in the selected folder to the TF card and rename EBOOTNAND nb0 as EBOOTSD nb0 3 Flashing image file e Insert TF card and reboot the system At this time the system boots from TF card The 89 P re EmbestInfo amp Tech Co LTD http www armkits com HyperTerminal will display boot
35. a simple business model to offer customers high performance low cost products with best quality and service The content below is the matters need attention for our products technical support and warranty service Technical support service Embest provides one year free technical support service for all products Technical support service covers Embest embedded platform products software hardware materials Assist customers compile and run the source code we offer Solve the problems accurs on embeded software hardware platform if users follow the instructions in the documentation we offer Judge whether the product failure exists Special explanation the situations listed below are not included in the range of our free technical support service and Embest will handle the situation with discretion Software Hardware issues user meet during the self develop process Issues happen when users compile run the embedded OS which is tailored by users themselves Users own applications 121 F e Embest Info amp TechCo LTD Problems happen during the modification of our software source code Maintenance service clause 1 The products except LCD which are not used properly will take the warranty since the day of the sale PCB Provide 12 months free maintenance service The situations listed below are not included in the range of our free maintenance service Embest will charge the service fees w
36. an also skip this step and attach hard disks later using the VM Settings dialog The recommended size of the boot hard disk is 8 00 GB Boot Hard Disk O Use existing hard disk Ubuntu vdi Normal 8 00 GB Figure Appedix 2 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 Next P Create New Virtual Disk Welcome to the Create New Virtual Disk Wizard This wizard will help you to create a new virtual hard disk for your virtual machine Use the Next button to go to the next page of the wizard and the Back button to return to the previous page You can also press Cancel if you want to cancel the execution of this wizard Figure Appedix 2 2 5 Click Next again P Create New Virtual Disk Hard Disk Storage Type Select the type of virtual hard disk you want to create dynamically expanding storage initially occupies a very small amount of space on your physical hard disk It will grow dynamically up to the size specified as the Guest OS claims disk space fixed size storage does not grow It is stored in a file of approximately the same size as the size of the virtual hard disk The creation of a fixed size storage may take a long time depending on the storage size and the write performance of your harddisk Storage Type O Dynamically expanding storage 98 PANE Embest In
37. ap 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 dropped 0 overruns 0 frame 0 TX packets 43 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 35277 34 4 KiB TX bytes 10152 9 9 KiB 3 After the development board is configured please click My Computer Network Neighborhood Check Network Connection a virtual network adapter will be added at the PC end 4 Right click virtual network adapter at the computer end left click Attribute double left click to enter the Internet Protocol TCP IP to configure the IP address of the virtual network adapter Internet Protocol TCP IP Properties General You can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings Obtain an IP address automatically Use the following IP address IP address 192 168 1 15 Subnet mask 255 255 255 0 Default gateway 192 168 1 1 G Use the following DNS server addresses Preferred DNS server 4 Alternate DNS server 66 am Embest Info amp TechCo LTD http www armkits com 5 6 Use ping command in the HyperTerminal to test whether the settings of the development board are successful root DevKit850
38. armkits com 1 Definition of GPIO pin 0 191 MPU Bank1 6 GPIO pin 192 209 TPS65930 GPIO 0 17 2 GPIO pin 0 191 has to be configured as GPIO under xldr platform c and oalib oem_pinmux c two files 3 GPIO break mode can only be used by drivers setting such mode in application programs is invalid 94 E Embest Info amp TechCo LTD eS Appendix Appendix Hardware Dimensions oO See HI an 1119000 e D eh 2 e R 1 e 5 Il E d S e 2 ze 8 amp e i ig Th 5 T e Be 3 A e ap a ee i ji HE i ee g i i ce i se 3 i i 28 il i 3 ee 3 ee HR Il i 6060 ede i LH ae i 3 5 eee i i i gt an es EE 5 en ere noce RUN sll d Z uan amp a i gt KS d Lal 2 sii esees ent O Le i He ew E D veld leg 9 i 220 TP 99 00 104 98 80 71 14 54 ECH Zei pres Figure Appedix 1 Hardware Dimensions Diagram 95 r Embest Info amp Tech Co LTD Appendix II The Installation Of Ubuntu Installing Ubuntu in Windows using VirtualBox The screenshots in this tutorial use Ubuntu 11 04 but the same principles apply also to Ubuntu 10 10 11 04 and any future version of Ubuntu Actually you can install pretty much an
39. cc A 79 PET Embest Info amp TechCo LTD Chapter 4 WinCE Operating System 4 1 Introduction This section mainly introduces DevKit8500D A system and application development of Windows Embedded CE 6 0 R3 as well as software resources in disc software features establishment of development environment and how to compile and port BSP board support package and so on 4 2 Software Resources BSP Board Support Package CD wince_6 BSP DevKit8500 rar CD wince_6 BSP OMAP35XX_TPS659XX_TI_V1 rar CD wince_6 PowerVR wince_gfx_sgx_01_01_00_patch_01_ setup exe Windows Embedded CE 6 0 R3 sample project CD wince_6 prj DevKit8500 rar Sample application CD wince_6 app GPIOAppDemo rar Pre compile image CD wince_6 lmage MLO First bootloader for SD card boot Xldrnand nbO First bootloader for nand boot Ebootsd nb0 Second bootloader for SD card boot Ebootnand nb0 Second bootloader for nand boot Nk bin WinCE runtime image 80 P Embest Info amp TechCo LTD 4 3 Features Resources of BSP Source code Catalog Item binary NAND Source X Loader ONENAND source First boot loader SD Source EBOOT NAND Source Second boot ONENAND Source loader SD source KILT USB RNDIS Source REBOOT Source Watchdog Source OAL RTC Source System timer Source Interrupt controll Source Low power suspend Source NLED driver Source GPIO I2C SPI MCBSP d
40. ccording to actually displayed screen size PANEL TYPE Use the arrow keys to navigate this window or press the hotkey of the item you wish to select followed by the lt SPACE BAR gt Press lt gt for additional information about this option 14999999999999999999999999999999999999999999999999999999999999999 Wi CEC LCD support 7 inch LCD support X UGA support lt Select gt lt Help gt After determining PANEL TYPE jump to parent directory select Exit to exit until the following picture appears then select Yes Do you wish to save your new kernel configuration lt ESC gt lt ESC gt to continue make ulmage After above operations are executed the required ulmage file will be generated under the directory arch arm boot 3 4 2 5 Generation of file system 1 Ramdisk file making For Ramdisk making please refer to http he3 dartmouth edu old VME Linux RamDisk html It will not be described in this document 2 UBI file making cd home embest work sudo home embest tools mkfs ubifs r rootfs m 2048 e 129024 c 1996 o ubifs img 36 FE Embest Info amp TechCo LTD http www armkits com sudo home embest tools ubinize o ubi img m 2048 p 128KIB s 512 home embest tools ubinize cfg After above operations are executed the required ubi img file will be generated under the current directory 3 4 2 6 Android compilation 1 Input the following commands to compile Android cd rowb
41. ce include selectable bus widths adjustable signal levels and differential and single ended clocking The adjustable 1 1 V to 1 8 V digital interface provides a low EMI high speed bus that connects seamlessly with 12 bit or 24 bit interfaces The DVI interface supports flat panel display resolutions up to UXGA at 165 MHz in 24 bit true color pixel format 2 2 6 MAX3232 The function of MAX3232 is mainly to translate TTL logic level signal into RS232 logic level which helps in communicating the board with PC DevKit8500D A uses UART3 as debugging serial port as the default voltage of UART3 is 1 8V it is necessary to convert this voltage to 3 3V in order to connect to eternal world 17 PANNE Embest Info amp TechCo L1 Se 2 3 Hardware interface Dr ien ANM Iren Huuu Ly Ls f inane UUUULJUUU ance Lit c3 cJ C t3 CJ Pannnnnnnnni r Perpnennnnnnl D Lt eene HALAL ap ALL opene BIREN m o D DO OI OI Figure 2 3 DevKit8500D A Hardware Interface Diagram The following section gives in detail about the pin numbers and its function description of various different IC s blocks present in DevKit8500D A 2 3 1 Power Input Jack J19 Pin Signal Function 1 GND GND 2 5V Power supply 5V 2A Type Table 2 3 1 power input interface 18 Pai Embest Info amp TechCo LTD 2 3 2 Power Output Interface
42. dev sdc1 sudo fdisk dev sdc 5 Print the partition record So you know your starting point Make sure to write down the number of bytes on the card in this example 2021654528 Command m for help p Disk dev sdc 2021 MB 2021654528 bytes 255 heads 63 sectors track 245 cylinders Units cylinders of 16065 512 8225280 bytes Device Boot Start End Blocks Id System dev sdci 1 246 1974240 c W95 FAT32 LBA Partition 1 has different physical logical endings phys 244 254 63 logical 245 200 19 6 Delete any partitions that are there already Command m for help d Selected partition 1 7 Set the Geometry of the SD Card If the print out above does not show 255 heads 63 sectors track then do the following expert mode steps to redo the SD Card 1 Go into expert mode 113 am Embest Info amp TechCo LTD http www armkits com Command m for help x 2 Set the number of heads to 255 Expert Command m for help h Number of heads 1 256 default xxx 255 3 Set the number of sectors to 63 Expert Command m for help s Number of sectors 1 63 default xxx 63 4 Now calculate the number of Cylinders for your SD Card cylinders FLOOR the number of Bytes on the SD Card from above 255 63 512 So for this example 2021654528 255 63 512 245 79 So we use 245 i e truncate don t round 5 Set the number of cylinders to the number calculated Exp
43. e root file system at second partition Introduction This guide is meant for those who are looking to create a dual partition card booting from a FAT partition that can be read by the DM3 ROM bootloader and LinuxWindows then utilizing an ext3 partition for the Linux root file system Text marked with shows user input 1 Determine which device the SD Card Reader is your system Plug the SD Card into the SD Card Reader and then plug the SD Card Reader into your system After doing that do the following to determine which device it is on your system dmesg tail 6854 215650 sd 7 0 0 0 sdc Mode Sense Ob 00 00 08 6854 215653 sd 7 0 0 0 sde Assuming drive cache write through 6854 215659 sdc sdc1 6854 218079 sd 7 0 0 0 sde Attached SCSI removable disk 6854 218135 sd 7 0 0 0 Attached scsi generic sg2 type 0 In this case it shows up as dev sdc note sdc inside the square brackets above 2 Check to see if the automounter has mounted the SD Card Note there may be more than one partition only one shown in the example below df h Filesystem Size Used Avail Use Mounted on dev sdc1 400M 94M 307M 24 media disk P re Embest Info amp TechCo LTD http www armkits com Note the Mounted on field in the above and use that name in the umount commands below 3 If so unmount it umount media disk 4 Start fdisk Be sure to choose the whole device dev sdc not a single partition
44. e applications The devices include power management a universal serial bus USB high speed HS transceiver light emitting diode LED drivers an analog to digital converter ADC a real time clock RTC and embedded power control EPC In addition the TPS65930 includes a full audio codec with two digital to analog converters DACs and two ADCs to implement dual voice 15 P re EmbestInfo amp Tech Co LTD http www armkits com channels and a stereo downlink channel that can play all standard audio sample rates through a multiple format inter integrated sound 12S7 Y time division multiplexing TDM interface TPS65930 U1 is communicated with CPU through I2C protocol the main function of this is to provide 1 2V and 1 8V to CPU to make CPU run normally Besides TPS65930 also has functions of Audio in Audio out OTG PHY Keyboard ADC and GPIO 2 2 2 MT29C4G96MAZAPCJA 5 As the storage chip of DevKit8500D A MT29C4G96MAZAPCJA 5 is a memory device used for storage it is integrated with NAND Flash and SDRAM DDR its memory size is 512MB NAND Flash realizes data access through GPMC bus while DDR realizes data access through SDRAM Controller SDRC 2 2 3 DM9000 The DM9000A is a fully integrated and cost effective low pin count single chip Fast Ethernet controller with a general processor interface a 10 100M PHY and 4K Dword SRAM It is designed with low power and high performance process that support 3 3V with 5V IO
45. echCo LTD http www armkits com drivers usb gadget 3 5 Introduction of driver 3 5 1 NAND User App System call MTD user module JFFS2 JFFS Block device Memory technology device Generic NAND driver Kernel MTD chip driver NAND flash CFI flash RAM ROM NAND flash Hardware Figure 3 5 1 Modular structure for NAND GPMC module Solid state memory used in embedded systems is mainly flash it is NAND flash in this system NAND flash is used as a block device on which the file system is arranged interaction between user and NAND flash is mainly realized by a specific file system In order to shield difference in different flash memories kernel inserts an MTD subsystem between the file system and the specific flash driver for management Therefore the user accesses NAND flash through the following process User gt System Call gt VFS gt Block Device Driver gt MTD gt NAND Flash Driver gt NAND Flash 39 F rre Embest Info amp TechCo LTD http www armkits com Kernel Driver reference path linux 2 6 32 devkit8500 drivers mtd nand linux 2 6 32 devkit8500 drivers mtd nand omap2 c 3 5 2 SD MMC App System call Use Kernel Generic disk handler File system BUFFER CACHE MMC QUEUE MMC BLOCK MMC SD CONTROLLER DRIVER HARDWARE MMC SD SDIO CONTROLLER Figure 3 5 2 Modular structure for SD MMC Kernel MMC SD CORE Hardware SD MMC card driv
46. er nuansa 84 MICROSOFT VISUAL STUDIO 20055 ka 86 4 5 UPDATE SYSTEM MA es 87 4 5 Update Mir card Mag EE 87 4 5 2 Update Nand flash Image AAA 89 4 6 INSTRUCTIONS FOR USE nana OR CS OR CECI OR CECI tn 90 4 6 1 How to use S Video interface o oooooo oma 90 4 6 2 How to use openGL ES demo 55 90 4 6 3 How to use CAM8000 A MOdLIB 52 50121020 oo oeakakahahahakakakahkahak 90 4 6 4 How to use CAM8000 D module 2 makna 91 4 7 THE DEVELOPMENT OF APPLICATION sana mua 91 4 7 1 Application program interfaces and examples 91 4 7 2 GPIO application program interfaces and evamples Woo 92 APPENDIX CR 95 APPENDIX HARDWARE DIMENSIONS eieiei et 95 APPENDIX II THE INSTALLATION OF UBUNTU iii 96 APPENDIX III DRIVER INSTALLATION OF LINUX USB ETHERNET RNDIS OGADGET 109 APPENDIX IV LINUX BOOT DISK FORMAT esse se a rene me ee la lei 112 APPENDIX V THE SETUP OF TE KE 118 APPENDIX VEWINCE SOURCE saya 120 TECHNICAL SUPPORT amp WARRANTY SERVICE o oooooooooomomomoWoWomoW oom om 121 TECHNICAL SUPPORT SERVICE baba ba ab ba aka 121 Pate Embest Info amp TechCo LTD http www armkits com MAINTENANCE SERVICE ON aa 122 BASIC NOTICE TO PROTECT AND MAINTENANCE LCD 123 VALUE ADDED SERVICES sirrinin ern rene eenaa E E E E EE EE E EEEE TEETE 123 e Embest Info TechCo LTD Chapter 1 Overview 1 1 Product introduction DevKit8500D A is based on TI DM3730 AM3715 processor The processor integrates ARM Cortex A8 kernel at 1GHz and DSP core DM
47. ers under Linux mainly include SD MMC core mmc block mmc gueue and SD MMC driver four parts 1 SD MMC core realizes core codes unlated to structure in the SD MMC card operation 2 mmc block realizes driver structure when SD MMC card is used as a block device 3 mmc gueue realizes management of reguest gueue 4 SD MMC driver realizes specific controller driver Kernel Driver reference path linux 2 6 32 devkit8500 drivers mmc linux 2 6 32 devkit8500 drivers mmc host omap hsmmc c 40 pama Embest Info amp TechCo LTD http www armkits com 3 5 3 Display interface Control GUI Streamimg Application Application Application User sysfs dev fb0 devV4I2 video1 Interface FBDEV Driver dev v4l2 video2 V4L2 Driver Kernel DSS Library DSS Library Hardware LCD Control Video Encoder Figure 3 7 3 Modular structure for display Display Sub System hardware integrates one graphics pipeline two video pipelines and two overlay managers one for digital and one for analog interface Digital interface is used for LCD and DVI output and analog interface is used for TV out The primary functionality of the display driver is to provide interfaces to user level applications and managing of Display Sub System hardware Kernel Driver reference path linux 2 6 32 devkit8500 drivers video omap2 linux 2 6 32 devkit8500 drivers video omap2 omapfb omapfb main c 41 pama Embest Info amp TechCo LTD htt
48. ert Command m for help c Number of cylinders 1 256 default xxx enter the number you calculated 6 Return to Normal mode Expert Command m for help r 8 Print the partition record to check your work Command m for help p Disk dev sdc 2021 MB 2021654528 bytes 255 heads 63 sectors track 245 cylinders Units cylinders of 16065 512 8225280 bytes Device Boot Start End Blocks Id System 114 am Embest Info amp TechCo LTD i http www armkits com 9 Create the FAT32 partition for booting and transferring files from Windows Command m for help n Command action e extended p primary partition 1 4 p Partition number 1 4 1 First cylinder 1 245 default 1 press Enter Using default value 1 Last cylinder or size or sizeM or sizeK 1 245 default 245 5 Command m for help t Selected partition 1 Hex code type L to list codes c Changed system type of partition 1 to c W95 FAT32 LBA 10 Mark it as bootable Command m for help a Partition number 1 4 1 11 Create the Linux partition for the root file system Command m for help n Command action e extended p primary partition 1 4 p Partition number 1 4 2 First cylinder 52 245 default 52 press Enter Using default value 52 Last cylinder or size or sizeM or sizeK 52 245 default 245 press Enter 115 mbes Embest Info amp TechCo LTD http www armkits com Using de
49. fault value 245 12 Print to Check Your Work Command m for help p Disk dev sdc 2021 MB 2021654528 bytes 255 heads 63 sectors track 245 cylinders Units cylinders of 16065 512 8225280 bytes Device Boot Start End Blocks Id System Idev sdci 1 51 409626 c W95 FAT32 LBA dev sdc2 52 245 1558305 83 Linux 13 Save the new partition records on the SD Card This is an important step All the work up to now has been temporary Command m for help w The partition table has been altered Calling ioctl to re read partition table WARNING Re reading the partition table failed with error 16 Device or resource busy The kernel still uses the old table The new table will be used at the next reboot WARNING If you have created or modified any DOS 6 x partitions please see the fdisk manual page for additional information Syncing disks 14 Format the partitions The two partitions are given the volume names LABEL1 and LABEL2 by these commands You 116 FE Embest Info amp Tech Co LTD http www armkits com can substitute your own volume labels sudo mkfs msdos F 32 dev sdc1 n LABEL1 mkfs msdos 2 11 12 Mar 2005 sudo mkfs ext3 L LABEL2 dev sdc2 mke2fs 1 40 WIP 14 Nov 2006 Filesystem label OS type Linux Block size 4096 log 2 Fragment size 4096 log 2 195072 inodes 389576 blocks 19478 blocks 5 00 reserved for the super user First data block 0 Maximum filesystem
50. fo amp Tech Co LTD Figure Appedix 2 2 6 Theoretically a dynamically expanding virtual hard drive is best because it ll take up only what you actually use have come upon weird situations though when installing new software in a virtualized Ubuntu in which the virtual hard drive just fills up instead of expanding So would actually recommend picking a Fixed size storage P Create New Virtual Disk Virtual Disk Location and Size Press the Select button to select the location of a file to store the hard disk data or type a file name in the entry field Location F Ubuntu Ubuntu vdil PA Select the size of the virtual hard disk in megabytes This size will be reported to the Guest OS as the maximum size of this hard disk 9 8 0 Size Figure Appdix 2 2 7 Ubuntu s default installation is less than 8 GB If you plan on adding software or downloading large files in your virtualized Ubuntu you should tack on some buffer P Create New Virtual Disk Summary You are going to create a new virtual hard disk with the following parameters Type Fixed size storage Location G Ubuntu system Ubuntu vdi Size 8 00 GB 8589934592 B If the above settings are correct press the Finish button Once you press it a new hard disk will be created Figure Appedix 2 2 8 99 http www armkits com amp Details D I Snapshots S Create New Virtual Disk Summary You are going t
51. hdd mmcblkOp1 ram union cf mmc net realroot 2 Enter the following command you can see the contents inside the TF card root DevKit8500 media Is mmcblkOp1 flash uboot bin u boot bin x load bin ift for NAND mlo ulmage ramdisk gz ubi img 3 8 1 6 USB Devices Testing In the USB DEVICE testing a conenction line is used to connect the miniUSB interface of the development board and the USB interface at the computer end for the computer end the development board is recognized as a network device to realize ping communication of two ends 1 After booting the system a USB mini B to USB A transfer line is used to connect the development board and the computer end wherein USBmini B interface is connected with the development board and the USB A interface is connected with the computer end At this time the computer needs to be installed with Linux USB Ethernet driver Please refer to Appendix III for detailed installation method 2 The following commands are input at the HyperTerminal for example root DevKit8500 ifconfig usb0 192 168 1 115 root DevkKit8500 ifconfig lo Link encap Local Loopback inet addr 127 0 0 1 Mask 255 0 0 0 UP LOOPBACK RUNNING MTU 16436 Metric 1 65 am Embest Info amp TechCo LTD J http www armkits com RX packets 26 errors 0 dropped 0 overruns 0 frame 0 TX packets 26 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 0 RX bytes 2316 2 2 KiB TX bytes 2316 2 2 KiB usbO Link enc
52. http www armkits com Pre Sale consultation market embedinfo com After Sale consultation support embedinfo com 124
53. ial data 1 4 BSP1 CLK Received clock 1 5 BSP1 FSX Transmit frame synchronization 1 6 BSP1 CLK Transmit clock 1 7 BSP1 CLK External clock input 1 8 BSP1_FSR_ Receive frame synchronization 1 9 UART1_CT UART1 clear to send 10 UART1_RT UART1 request to send 11 UART1_RX UART1 receive data 12 UART1 TX UART1 transmit data 13 GND GND 14 GPIO 136 GPIO 136 15 GPIO 126 GPIO 126 16 GPIO 137 GPIO 137 17 GPIO 129 GPIO 129 18 GPIO 138 GPIO 138 19 GPIO 55 GPIO 55 20 GPIO 139 GPIO 139 21 GPIO 56 GPIO 56 22 GPIO 61 GPIO 61 23 GPIO 65 GPIO 65 24 BSP3 DX Transmitted serial data 3 25 BSP3 DR Received serial data 3 27 PET Embest Info amp TechCo LTD http www armkits com 26 BSP3 CLK Transmit clock 3 27 BSP3 FSX Transmit frame synchronization 3 28 GND GND 29 IIC3 SCL IIC3 master serial clock 30 IIC3 SDA IIC3 serial bidirectional data 31 SPI1 SIMO Slave data in master data out 32 SPI1 SOMI Slave data out master data in 33 SPH_CLK SPI1 clock 34 SPI1 CSO SPI enable 0 35 DPI CS3 SPI enable 3 36 HDA SIO Bidirectional HDQ 37 VDD33 3 3V 38 VDD18 1 8V 39 VDD50 5V 40 GND GND Table 2 3 17 expansion interface 2 3 18 KEY J8 Pin Signal Function 1 ON OFF System ON OFF key 2 RESET System reset key 3 USER1 User defined key 1 4 USER2 User defined key 2 Table 2 3 18 KEY 2 3 19 LED LED 1 10 Pin Signal
54. igure Appedix 2 3 3 Once you ve selected it click OK Then double click your virtual machine to start it up Pa Ubuntu Oracle VE VirtualBox F VirtualBox Information You have the Auto capture keyboard option turned on This will cause the Virtual Machine to automatically capture the keyboard every time the VM window is activated and make it unavailable to other applications running on your host machine when the keyboard is captured all keystrokes including system ones like Alt Tab will be directed to the WM You can press the host key at any time to uncapture the keyboard and mouse if it is captured and return them to normal operation The currently assigned host key is shown on the status bar at the bottom of the Virtual Machine window next to the E icon This icon together with the mouse icon placed nearby indicate the current keyboard and mouse capture state The host key is currently defined as Bight Ctrl gt H Right Ctrl Figure Appedix 2 3 4 102 F rre Embest Info amp TechCo LTD http www armkits com Pa Ubuntu Running Oracle VE VirtualBox VirtualBox Information The virtual machine window is optimized to work in 32 bit color mode but the virtual display is currently set to 16 bit Please open the display properties dialog of the guest OS and select a 32 bit color mode if it is available for best possible performance of the virtual video subsystem Wote
55. ith discretion A Can t provide valid Proof of Purchase the identification label is torn up or illegible the identification label is altered or doesn t accord with the actual products Don t follow the instruction of the manual in order to damage the product Due to the natural disasters unexpected matters or natural attrition of the components or unexpected matters leads to the defects of appearance function Due to the power supply bump leaking of the roof pets moist impurities into the boards all those reasons which lead the defects of appearance function User unauthorized weld or dismantle parts leads the product s bad condition or let other people or institution which are not authorized by Embest to dismantle repair change the product leads the product bad connection or defects of appearance function User unauthorized install the software system or incorrect configuration or computer virus leads the defects Purchase the products through unauthorized channel Those commitments which is committed by other institutions should be responsible by the institutions Embest has nothing to do with that During the warranty period the delivery fee which delivery to Embest should be covered by user Embest will pay for the return delivery fee to users when the product is repaired If the warranty period is expired all the delivery fees will be charged by users When the board needs repair please contact technical
56. l clock 43 IC SDA IIC serial bidirectional data 44 GND GND 45 VDD18 1 8V 46 VDD33 3 3V 47 VDD50 5V 48 VDD50 5V 49 RESET Reset 50 PWREN Power on enable Table 2 3 6 TFT_LCD interface 2 3 7 AUDIO OUTPUT Jack J7 Pin Signal Function 1 GND GND 2 NC NC 3 Right Right output 4 NC NC 5 Left Left output Table 2 3 7 Audio out interface 2 3 8 Camera Interface J14 Pin Signal Function 1 GND GND 2 DO Digital image data bit 0 3 D1 Digital image data bit 1 4 D2 Digital image data bit 2 5 D3 Digital image data bit 3 6 D4 Digital image data bit 4 22 PET Embest Info amp TechCo LTD http www armkits com 7 D5 Digital image data bit 5 8 D6 Digital image data bit 6 9 D7 Digital image data bit 7 10 D8 Digital image data bit 8 11 D9 Digital image data bit 9 12 D10 Digital image data bit 10 13 D11 Digital image data bit 11 14 GND GND 15 PCLK Pixel clock 16 GND GND 17 HS Horizontal synchronization 18 VDD50 5V 19 VS Vertical synchronization 20 VDD33 3 3V 21 XCLKA Clock output a 22 XCLKB Clock output b 23 GND GND 24 FLD Field identification 25 WEN Write Enable 26 STROBE Flash strobe control signal 27 SDA IIC master serial clock 28 SCL IIC serial bidirectional data 29 GND GND 30 VDD18 1 8V Table 2 3 8 camera interface 2 3 9 MIC IN Jack J6 Pin Signal
57. location usr share ti data videos davincieffect_480p30 264 typefind TiViddec2 TIDmaiVideoSink rotation 270 v Setting pipeline to PAUSED GstPipeline pipeline0 GstTypeFindElement typefindelementO GstPad src caps video x h264 Pipeline is PREROLLING GstPipeline pipeline0 GstTIViddec2 tividdec20 GstPad sink caps video x h264 GstPipeline pipeline0 GstTlViddec2 tividdec20 GstPad src caps video x raw yuv format fourcc UYVY framerate fraction 30000 1001 width int 720 height int 576 GstPipeline pipeline0 GstTlViddec2 tividdec20 GstPad src caps video x raw yuv format fourcc UYVY framerate fraction 30000 1001 width int 720 height int 480 GstPipeline pipeline0 GstTIDmaiVideoSink tidmaivideosinkO GstPad sink caps video x raw yuv format fourcc UYVY framerate fraction 30000 1001 width int 720 height int 480 Pipeline is PREROLLED Setting pipeline to PLAYING New clock GstSystemClock 77 am Embest Info amp TechCo LTD http www armkits com 4 At this time the screen will play a video clip For detailed information please reference DVSDK TI main page or TMS320DM3730 Software Developers Guide PDF document 3 9 The Development Of Application This section mainly introduces to development of application programs and illustrates the general process of development of application programs with cases Development example of LED application program 1 To Edit code led acc c s
58. mands to copy them to local folder mkdir home embest tools 32 pama Embest Info amp Tech Co LTD http www armkits com cp media cdrom linux tools mkimage home embest tools cp media cdrom linux tools signGP home embest tools cp media cdrom linux tools mkfs ubifs home embest tools cp media cdrom linux tools ubinize home embest tools cp media cdrom linux tools ubinize cfg home embest tools It is defaulted to install it under the user directory that is subject to home embest in the text the user can change it to his directory properly 3 4 1 2 Addition of environment variables After all above tools are installed it is necessary to use the following commands to add them in the temporary environment variables export PATH home embest arm eabi 4 4 0 bin home embest tools PATH The user can write it in the barsrc file under the user directory such that the addition of environment variables will be finished automatically when the system is booted command echo PATH can be used to check the path 3 4 2 System compilation 3 4 2 1 Preparation Source codes of all components of the system are under the directory linux source in the disc user has to decompress them to the Ubuntu system before executing development mkdir home embest work cd home embest work tar xvf media cdrom linux source x loader 03 00 02 07 tar bz2 tar xvf media cdrom linux source u boot 03 00 02 07 tar bz2 tar xvf media cdrom linux s
59. mat Tool will clear partitions of the TF card Please use the formatting software provided in the computer system 2 Update of images Copy all files under the directory linux image to the TF card and rename ulmage_xx as ulmage according to the used display device LCD 4 3 7 or VGA Connect the TF card power on and boot it the serial port information will be displayed as follows 60 Texas Instruments X Loader 1 47 Sep 27 2011 15 53 45 DevKit8500 xM Rev A Starting X loader on MMC Reading boot sector 1153680 Bytes Read from MMC Starting OS Bootloader from MMC Starting OS Bootloader U Boot 2010 06 rc1 svn Sep 27 2011 14 54 40 OMAP34xx 35xx GP ES2 1 CPU OPP2 L3 165MHz OMAP3 DevKit8500 board LPDDR NAND I2C ready DRAM 512 MiB NAND 512 MiB Warning bad CRC or NAND using default environment In serial Out serial 57 F rre Embest Info amp Tech Co LTD http www armkits com Err serial DevKit8500 xM Rev A Die ID 065400029e3800000168263d0600900a Net dm9000 Hit any key to stop autoboot 0 mmcl is available reading boot scr Unable to read boot scr from mme 0 1 reading ulmage 2551588 bytes read reading ramdisk gz 7686374 bytes read Booting from mmc Booting kernel from Legacy Image at 80300000 Image Name Linux 2 6 32 Image Type ARM Linux Kernel Image uncompressed Data Size 2551524 Bytes 2 4 MiB Load Address 80008000 Entry Point 8000
60. message you can press SPACE to enter the EBOOT menu Flashing image to NAND flash according to the following steps Press 5 to enter the Flash menu Press a b and c to write XLDR EBOOT and NK images respectively Then press 0 to return to main menu and respectively press 2 4 7 and y to change the boot setting remove TF card and then reboot the system And then the system will boot from NAND Flash 4 6 Instructions for use 4 6 1 How to use S Video interface In the WinCE operating system 1 Launch Start gt Program gt Command Prompt in windows CE 2 Type in the line below and enter in Command Prompt do tvout on 4 6 2 How to use openGL ES demo Copy C Tllwince gfx sgx 01 01 00 patch 01 PowerVR SDK OGLES1 1 Binaries Demos or CAWINCE600 PUBLIC PowerVR oak target Rev125 ARMV4l retail exe to DevKit8500 wince system And double click the demos to test Known problem Some demos are unable to work normally when DVI is used as output This problem will be solved in the next release version 4 6 3 How to use CAM8000 A module 1 Modify the lines below in DevKit8500 bat set BSP_NOCAMERA set BSP_NOCAMERA_MDC set BSP_NODIGITALCAMERA 1 2 Rebuild solution in VS2005 to create nk bin 3 Connect camera8000 A module to DEVKIDevKitT8500 and boot with updated nk bim 90 P re Embest Info amp Tech Co LTD http www armkits com 4 Copy C wince600 platform DevKit8500 files CameraDshowApp_analog exe to
61. n program interface definition DevKit8500D A only expands interface definition of GPIO based on standard API Please refer to the CD wince_6 app for the application program representatives that control the status of LED through GPIO pin Please check relative Help documents of MSDN Windows Embedded CE 6 0 API for Windows Embedded CE 6 0 standard application program interface definition There are some use routines of standard API in the chapter GPIO Application Program Development Case for reference of users Some interfaces exported by drivers can only be used by drivers the application programs have no permission to call them 4 7 2 GPIO application program interfaces and examples GPIO device name is L GIO1 corresponding device IOCTL code includes IOCTL Code Description IOCTL_GPIO_SETBIT Set GPIO pin as 1 IOCTL GPIO CLRBIT Set GPIO pin as 0 IOCTL GPIO GETBIT Read GPIO pin IOCTL_GPIO SETMODE Set the working mode of GPIO pin IOCTL_GPIO GETMODE Read the working mode of GPIO pin Read the corresponding IRQ of GPIO IOCTL_GPIO_GETIRQ pin Operation example is showed below 1 Open GPIO device HANDLE hFile CreateFile T GIO17 GENERIC READ GENERIC WRITE FILE SHARE DEADIEILE SHARE WRITE 0 OPEN EXISTING 0 0 2 Set read the working mode of GPIO DWORD id 0 mode 0 3 Set the working mode of GPIO DWORD pinBuffer 2 plnBuffer 0 id plnBuffer 1 mode 92 pama EmbestInfo
62. nds of new applications ready for R o Zet e a 5 LE your computer Just type what you want Beleg sedene Lil See pi A ROE LIEDER or explore the categories like games Getar science and education It is simple to R Stell 1 arium ww download new stuff and write reviews to Seen GE EE nming share ynur experiences Some of our Favourites exten E Frozen Bubble Ove 129205 as lanea the gps Cab que WU mere and fun for he bef ex over Maretuin ren tina Atha p re bai acces wedeta Dee thers Bir ra teis come installation Complete Installation has finished You can continue testing Ubuntu now but until you restart the computer any changes you make or documents you save will not be preserved Figure Appedix 2 3 15 The installation will finish the whole thing can take anywhere between 15 minutes and an hour depending on the speed of your computer 108 pama EmbestInfo amp Tech Co LTD http www armkits com E Ubuntu Settings General Storage System 3 Storage Tree ttibutes Display S i Attrib Storage ES IDE Controller CD DVD Drive IDE Primary Master D Audo Infomation amp SATA Controller Type EP Network Size i Serial Ports Uban Fa Location use Attached To Shared Folders sea On the System page you have assigned more than 50 of your computer s memory 959 00 MB to the virtual machine There might not be en
63. nels 2 rate 44100 exact rate 44100 44100 1 msbits 16 buffer size 22052 period size 5513 period time 125011 tstamp mode NONE period step 1 avail min 5513 period event 0 start threshold 1 stop threshold 22052 silence threshold 0 silence size 0 boundary 1445199872 appl_ptr 0 hw_ptr 0 http www armkits com 2 Playback Testing Plug in the headphones you can hear what you have just recorded root DevKit8500 aplay t wav c 2 r 44100 f S16 LE v k Playing WAVE k Signed 16 bit Little Endian Rate 44100 Hz Stereo Plug PCM Hardware PCM card 0 omap3evm device 0 subdevice 0 Its setup is stream PLAYBACK access RW_INTERLEAVED 68 F rre Embest Info amp Tech Co LTD http www armkits com format S16 LE subformat STD channels 2 rate 44100 exactrate 44100 44100 1 msbits 16 buffer_size 22052 period_size 5513 period_time 125011 tstamp_mode NONE period_step 1 avail_min 5513 period event 0 start threshold 22052 stop threshold 22052 silence threshold 0 silence size 0 boundary 1445199872 appl_ptr 0 hw_ptr 0 3 8 1 9 Network Testing 1 The board has a 10 100M self adapting network card DM9000 users can connect the board to the LAN and enter the following commands for a test root DevKit8500 ifconfig eth0 192 192 192 200 eth0 link down eth0 link up 100Mbps full duplex Ipa 0x41E1 root DevKit8500 ping 192 192 192
64. ness 4 Control user_led2 root Devkit8500 echo 1 gt sys class leds user_led2 brightness root Devkit8500 echo 0 gt sys class leds user led2 brightness The user pushes a LED with operation are to kill bright 3 8 1 2 KEYPAD Testing Board has two users keyboard USER1 USER2 users can and perform the following command testing root DevKit8500 evtest dev input eventO Input driver version is 1 0 0evdev c EVIOCGBIT Suspicious buffer size 511 limiting output to 64 bytes See http userweb kernel org dtor eviocgbit bug html Input device ID bus 0x19 vendor 0x1 product 0x1 version 0x100 Input device name gpio keys Supported events Event type 0 Sync Event type 1 Key Event code 1 Esc Event code 59 F1 Testing interrupt to exit Event time 44 232697 type 1 Key code 59 F1 value 1 Event time 44 232697 Report Sync Event time 44 396515 type 1 Key code 59 F1 value 0 Event time 44 396515 Report Sync Event time 45 219238 type 1 Key code 1 Esc value 1 Event time 45 219268 Report Sync Event time 45 358306 type 1 Key code 1 Esc value 0 Event time 45 358306 Report Sync 63 iP most Embest Info amp TechCo LTD i http www armkits com Press CONTROL C to guit the test The back of the test is the same 3 8 1 3 Touch Screen Testing This testing reguires Linux boo
65. o create a new virtual hard disk with the following parameters Creating fixed medium storage unit G 1Ubuntu system Ubuntu Creating fixed medium storage unit G Ubuntu system Ubuntu vdi o 5 1 minute 56 seconds remaining audio Host Driver Windows DirectSound Controller ICH ACST Figure Appedix 2 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 Windows installation Y Create New Virtual Disk Summary You are going to create a new virtual hard disk with the following parameters Type Fixed sire storage Location CG Ubuntu system Ubuntu vdi Sire 8 00 GB 8589934592 B If the above settings are correct press the Finish button Once you press it anew hard disk will be created Figure Appedix 2 2 10 Click Finish the virtual hard drive is successfully created 100 http www armkits com a EmbestInfo amp TechCo LTD 3 Installing Ubuntu gt Oracle VE VirtualBox Manager General System Display Basic Advanced Description Audio Operating System lim Storage Name Ubuntu b Ca Network Version Ubuntu IS Serial Ports 2 vs Shared Folders Select a settings category from the list on the Jeft hand side and move the mouse over a settings item to get more information gt CH General Storage E System B
66. oat android froyo devkit8500 make 2 Modified script file build_ubi sh vi build_ubi sh Changed home embest as HOME MKFSUBI home embest tools mkfs ubifs MKFSUBI ARG r ROOT_DIR m 2048 e 129024 c 4063 o temp ubifs img UBINIZE home embest tools ubinize UBINIZECFG home embest tools ubinize cfg UBINIZE ARG o ubi img m 2048 p 128KiB s 512 UBINIZECFG Modified as MKFSUBI HOME tools mkfs ubifs MKFSUBI ARG r ROOT_DIR m 2048 e 129024 c 4063 o temp ubifs img UBINIZE HOME tools ubinize UBINIZECFG HOME tools ubinize cfg UBINIZE ARG o ubi img m 2048 p 128KiB s 512 UBINIZECFG 3 Input the following commands to build file system build ubi sh File ubi img will output under the folder out target product devkit8500 rootfs 3 4 3 System Customization As Linux kernel has many kernel configuration options the user can increase or reduce the driver or some kernel features based on the default configuration to meet the demands in better ways The general process of system customization will be described with examples below 37 pama Embest Info amp TechCo LTD http www armkits com 3 4 3 1 Modification of kernel configuration A default configuration file is provided in the factory kernel source codes arch arm configs devkit8500 defconfig User can carry out system customization on this basis cd linux 2 6 32 devkit8500 cp arch arm configs devkit8500 defconfig config make menuconfig The sys
67. odecs twl4030 c 44 dem Embest Info amp TechCo LTD http www armkits com 3 6 Driver Development 3 6 1 Driver For The gpio keys 1 Device Definition linux 2 6 32 devkit8500 arch arm mach omap2 board devkit8500 c Setup GPIO 26 as menu key return value as KEY_F1 triggered on low level gpio 29 as back key return value as KEY ESC triggered on low level The structure template is shown below 45 http www armkits com 2 GPIO pinmux Configuration Setup the GPIO 26 29 as M4 GPIO mode IEM Input enable u boot 03 00 02 07 board devkit8500 h 3 Driver Design linux 2 6 32 devkit8500 drivers input keyboard gpio keys c a Structure for platform driver register to register gpio keys driver http www armkits com b Structure forinput register device to register input driver http www armkits com c Apply GPIO and setup the GPIO as the input registration gpio interrupt http www armkits com http www armkits com d Interrupt handling Button is pressed an interrupt is generated reporting key http www armkits com 3 6 2 Driver for the gpio leds 1 Device Definition linux 2 6 32 devkit8500 arch arm mach omap2 board devkit8500 c The driver main will introduce how to create the driver on the kernel and enable the LED2 LED3 LED4 LEDS the kernel configuration respectively are user ledb GP10186 sys led twl4030 LEDB user_led1 twl4030 GPIO2 u
68. ontroller that drives a DSI PLL and high speed HS divider NTSC PAL video encoder The display controller and the DSI protocol engine are connected to the L3 and L4 interconnect the RFBI and the TV out encoder modules are connected to the L4 interconnect 2D 3D Graphics Accelerator The 2D 3D graphics accelerator SGX subsystem accelerates 2 dimensional 2D and 3 dimensional 3D graphics applications The SGX subsystem is based on the POWERVR SGX core from Imagination Technologies SGX is a new generation of programmable POWERVR graphic cores The POWERVR SGX530 v1 2 5 architecture is scalable and can target all market segments from mainstream mobile devices to high end desktop graphics Targeted applications 14 nn Embest Info amp Tech Co LTD http www armkits com include feature phone PDA and hand held games see Figure 2 1 1 Device Graphics accelerator L3 slave subsystem interconnect L3 master interconnect MPU subsystem Interrupt controller SGX_ICLK sgp OA The SGX graphics accelerator can simultaneously process various multimedia data types Pixel data Vertex data Video data General purpose processing This is achieved through a multithreaded architecture using two levels of scheduling and data partitioning enabling zero overhead task switching 2 2 Description of different IC blocks 2 2 1 TPS65930 The TPS65930 devices are power management ICs for OMAP and other mobil
69. ost LEDs e 1 USB Hub LED 12 PET Embest Info amp TechCo LTD Chapter 2 Hardware System 2 1 CPU 2 1 1 CPU Introduction As a high performance processor for enhanced digital media DM37x AM37x employs TI 45nm advanced industrial technology this architecture has the advantage of low power consumption at the same time of being designed for ARM and graphical demonstration The Texas Instruments DM3730 DaVinci digital media processor is powered by up to 1 GHz also supports 300 600 and 800 MHz operation ARM Cortex A8 and 800 MHz also supports 250 520 and 660 MHz operation C64x DSP core and has integrated 3D graphics processor imaging and video accelerator IVA USB 2 0 MMC SD memory card UART and many more DaVinci DM3730 video processor is pin to pin compatible with Sitara AM37x devices and software compatible with the OMAP35x processors The C64x DSP and hardware video accelerator enable audio and HD 720p video decoding and encoding independent of the ARM processor The programmable DSP engine allows multiple signal processing tasks such as image processing and analysis digital filtering and math functions DaVinci DM3730 video processor is suitable for 720p HD High Definition video applications which require large amount of data processing 2 1 2 CPU Features Clock The CPU clock includes sys 32k sys_altclk sys_clkout1 sys_clkout2 sys xtalout sys xtalin sys_clkreq The sys 32k 32 kHz clock is used for low f
70. ough memory left for your host operating system Continue at pour own risk Non optimal settings detected Cancel Help Figure Appedix 2 3 16 Afterwards in order to use your virtualized installation instead of continually booting the live CD you have to change the CD DVD Device entry to be Empty again Appendix III Driver Installation Of Linux USB Ethernet RNDIS Gadget 1 If you don t install driver of Linux USB Ethernet RNDIS Gadget PC will find the new hardware 109 am Embest Info amp Tech Co LTD http www armkits com and give you a hint on the screen please select From list or designated location then click Next Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for RNDIS Ethernet Gadget IF your hardware came with an installation CD 389 or floppy disk insert it now What do you want the wizard to do OI Click Next to continue Figure Appedix 3 1 2 Designate a path for the usb driver and the usb driver directory is disk linux tools then click D N ext Found New Hardware Wizard Please choose your search and installation options ay Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed Include this location in the search C Documents and Se
71. ource code control three LED lamps on the development board to flicker in a way of accumulator include lt stdio h gt include lt unistd h gt include lt sys types h gt include lt sys ipc h gt include lt sys ioctl h gt include lt fcntl h gt define LED1 sys class leds user_ledb brightness define LED2 sys class leds user_led1 brightness define LED3 sys class leds user_led2 brightness int main int argc char argv int f_led1 f_led2 f_led3 unsigned char i 0 unsigned char dat1 dat2 dat3 if f_led1 open LED1 O RDWR lt 0 printf error in open s LED1 78 am Embest Info amp TechCo LTD J http www armkits com return 1 if f led2 open LED2 O RDWR lt 0 printf error in open s LED2 return 1 if f led3 open LED3 O RDWR lt Ou printf error in open s LED3 return 1 for i dati i amp 0x1 1 0 dat i amp 0x2 gt gt 1 1 0 dat3 i amp 0x4 gt gt 2 1 0 write f_led1 amp dat1 sizeof dat1 write f led2 amp dat2 sizeof dat2 write f led3 amp dat3 sizeof dat3 usleep 300000 2 To Cross compile arm none linux gnueabi gcc led_acc c o led_acc 3 Download and run Upload to the development board system through TF card USB flash disk or network enter the directory with the led_acc file input the following commands and press Enter to run led_acc in the background Jled a
72. ource linux 2 6 32 devkit8500 tar bz2 tar xvf media cdrom linux demo Android source rowboat android froyo devkit8500 tar bz2 sudo tar xvf media cdrom linux source rootfs tar bz2 33 mbes Embest Info amp TechCo LTD http www armkits com When the above steps are finished the current directory will generate linux 2 6 32 devkit8500 u boot 03 00 02 07 x loader 03 00 02 07 rootfs and rowboat android froyo devkit8500 directories 3 4 2 2 X loader image generation DevKit8500 supports TF Card boot or NAND boot The burned x loader image files are different with the different boot modes and the corresponding methods for mapping are different too We will introduce the generation of x loader image file under different boot modes 1 To generate x loader image file MLO used for SD card start up cd x loader 03 00 02 07 make distclean make devkit8500 config make signGP x load bin mv x load bin ift MLO When the above steps are finished the current directory will generate the file MLO which we need 2 To generate the x load bin ift for NAND start up To alter the file x loader 03 00 02 07 include configs devkit8500 h and annotate the following vi x loader 03 00 02 07 include configs devkit8500 h H define CONFIG MMC 1 Cross compilation cd x loader 03 00 02 07 make distclean make devkit8500 config make signGP x load bin mv x load bin ift x load bin ift for NAND When the above steps are finished the current directory will generate the
73. p www armkits com 3 5 4 Video capture Video capture application V4L2 LAYER CAMERA DRIVER CCDC DRIVER Use Kernel DECODER DRIVER HARDWARE Figure 3 5 4 Modular structure for video capture Hardware V4L2 Subsystem The Linux V4L2 subsystem is used as an infrastructure to support the operation of the Camera Driver Camera applications mainly use the V4L2 API to access the Camera Driver functionality A Linux 2 6 V4L2 implementation is used in order to support the standard features that are defined in the V4L2 specification Video Buffer Library This library comes with V4L2 It provides helper functions to cleanly manage the video buffers through a video buffer gueue object Camera Driver The Camera Driver allows capturing video through an external decoder The camera driver is registered to the V4L2 layer as a master device driver Any slave decoder driver added to the V4L2 layer will be attached to this driver through the new V4L2 master slave interface layer The current implementation supports only one slave device 42 pama Embest Info amp TechCo LTD http www armkits com Decoder Driver A decoder driver must implement the new V4L2 master slave interface It should register to the V4L2 layer as a slave device Changing a decoder requires implementation of a new decoder driver it does not require changing the Camera Driver Each decoder driver exports a set of IOCTL
74. ponents to identify your virtual machine Name Ubuntu OS Type Operating System Linux Version ubuntu Figure Appedix 2 2 2 You can call the machine whenever you want If you re installing Ubuntu it makes sense to call it Ubuntu guess You should also specify that the operating system is Linux P Create New Virtual Machine Memory Select the amount of base memory RAM in megabytes to be allocated to the virtual machine The recommended base memory size is 512 MB Base Memory Size o 2048 MB Figure Appedix 2 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 RAM I would advise you stick with the recommendation If however you have over 1 GB about a quarter your RAM or less should be fine For example if you have 2 GB of RAM 512 MB is fine to allocate If you have 4 GB of RAM 1 GB is fine to allocate If you have no idea what RAM is or how much of it you have just go with the default Click Next 97 r Embest Info amp TechCo L1 ee P Create New Virtual Machine Virtual Hard Disk Select a virtual hard disk to be used as the boot hard disk of the virtual machine You can either create a new hard disk or select an existing one from the drop down list or by pressing corresponding button to invoke file open window If you need a more complicated hard disk setup you c
75. requency operation It supplies the wake up domain signals for operating in lowest power mode off mode This clock is provided through the sys_32k pin The 32 kHz is generated by power management The sys xtalin sys_xtalout system input clock 26 MHz is used to generate the main source clock for the device It supplies the DPLLs as well to several other modules 13 PN Embest Info amp TechCo LTD Reset The function of reset is decided by the SYS NRESPWRON signal on the CPU Reset is enabled when LOW level signal high to low is given General Purpose Interface The general purpose interface combines six general purpose input output GPIO banks Each GPIO bank provides 32 dedicated general purpose pins with input and output capabilities thus it supports up to 192 6 x 32 general purpose interface pins These pins can be configured for the following applications Data input capture output drive Keyboard interface with a debounce cell Interrupt generation in active mode when external events are detected Display Subsystem The display subsystem provides the logic to display a video frame from the memory frame buffer either SDRAM or SRAM on a liquid crystal display LCD panel or a TV set The display subsystem integrates the following elements Display controller DISPC module Remote frame buffer interface RFBI module Display serial interface DSI complex I O module and a DSI protocol engine DSI PLL c
76. river Source Serial port driver Source 6X6 keyboard driver Source Audio driver Source NAND driver Source Driver Display driver LCD DVI Source Video Composite Video TOUCH driver SD MMC SDIO driver Source DM9000 network card driver Source USB OTG driver Source USB EHCI driver Source http www armkits com 81 P re Embest Info amp TechCo LTD http www armkits com VRFB driver Source DSPLINKK CMEMK driver Binary AAC MPEG2 MPEG4 H264 DSP Hardware Binary decode fitler GPIO keyboard driver Source PWM TPS65930 driver Source ADC TPS65930 driver Source ONENAND driver Source Camera driver Source DMA driver Source RTC driver Source Backlight driver Source Battery driver Source Sleep wakeup button driver Source DVFS Smart Reflex Source SDK powerVR DDK amp SDK Binary amp Source 4 4 System Development 4 4 1 Installation of IDE Integrated Development Environment Please install items below to windows XP Vista by step 1 Visual Studio 2005 2 Visual Studio 2005 SP1 3 Visual Studio 2005 SP1 Update for Vista vista system require 4 Windows Embedded CE 6 0 Platform Builder 5 Windows Embedded CE 6 0 SP1 6 Windows Embedded CE 6 0 R2 7 Windows Embedded CE 6 0 Product Update Rollup 12 31 2008 8 Windows Embedded CE 6 0 R3 9 Windows Embedded CE 6 0 Product Update Rollup 12 31 2009 10 ActiveSync 4 5 82 PEN Embest Info amp Tech Co LTD 1
77. s closed source The software is subject to the license terms included with the software s documentation Install this third party software Fluendo MP3 plugin Includes MPEG Layer 3 audio decoding technology licensed from Fraunhofer 15 and Thomson Figure Appedix 2 3 8 There is a new option in the Ubuntu 11 04 and 10 10 installers that asks if you want to install closed source third party software for MP3 playback and Flash for example would strongly suggest unless you know who Richard Stallman is that you check or tick this option 104 P re Embest Info amp TechCo LTD http www armkits com Install Allocate drive space This computer currently has no detected operating systems What would you like to do Erase disk and install Ubuntu Warning amp Something else Quit Back Forward Figure Appedix 2 3 9 Click Forward Install Erase disk and install Ubuntu Select drive SCSI3 0 0 0 sda 8 6 GB ATA VBOX HARDDISK Ubuntu dev sda ext4 8 6 GB The entire disk will be used Quit Back Install Now Figure Appedix 2 3 10 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 Install Now to continue make sure you have everything backed up 105 http www armkits com install Where are you New York Figure Appedix 2 3 11 While Ub
78. s to the master device through function pointers CCDC library CCDC is a HW block in which acts as a data input port It receives data from the sensor decoder through parallel interface The CCDC library exports API to configure CCDC module It is configured by the master driver based on the sensor decoder attached and desired output from the camera driver Kernel Driver reference path linux 2 6 32 devkit8500 drivers media video linux 2 6 32 devkit8500 drivers media video omap34xxcam c linux 2 6 32 devkit8500 drivers media video tvp51 4x int c 43 P re EmbestInfo amp TechCo LTD http www armkits com 3 5 5 Audio in out Native ALSA NatveALSAappiiaton LIBRARY ALSA KERNEL API Kernel HARDWARE Hardware Figure 3 5 5 Modular structure for Audio ASoC basically splits an embedded audio system into three components Codec driver The codec driver is platform independent and contains audio controls audio interface capabilities codec dapm definition and codec IO functions Platform driver The platform driver contains the audio dma engine and audio interface drivers e g 12S AC97 PCM for that platform Machine driver The machine driver handles any machine specific controls and audio events i e turning on an amp at start of playback Kernel Driver reference path linux 2 6 32 devkit8500 sound soc linux 2 6 32 devkit8500 sound soc omap devkit8500 c linux 2 6 32 devkit8500 sound soc c
79. ser led2 twl4030 GPIO15 low level is enable http www armkits com 2 GPIO pinmux Setup u boot 03 00 02 07 board devkit8500 h Configure GPIO 186 as M4 MODE 4 GPIO IDIS Input not allowed http www armkits com 3 Driver design linux 2 6 32 devkit8500 drivers leds leds gpio c a Structure for platform driver register to register gpio leds http www armkits com b Called platform driver register to register gpio leds Apply GPIO and called led classdev regisiter to register led classdev http www armkits com c User can access brightness file on the directory of sys class leds xxx called function gpio led set to configure led states PANE Embest Info amp Tech Co LTD 3 7 Updated of system 3 7 1 Update of TF card system image 1 The formatting of MMC SD card HP USB Disk Storage Format Tool 2 0 6 is recommended The software is downloading from http www embedinfo com english download SP27213 exe a Insert TF card into the card reader in PC b Open the HP USB Disk Storage Format Tool the following steps will show in detail HP USB Disk Storage Format Tool F Device Generic USB SD Reader 1 00 1903 MB F 5 D File system FAT32 D Volume label LABELI Format options c Select FAT32 di Click Start e When formatting is completed click OK 56 am Embest Info amp Tech Co LTD http www armkits com HP USB Disk Storage For
80. support department 122 r Embest Info amp Tech Co LTD Note Those products are returned without the permission of our technician we will not take any responsibility for them Basic notice to protect and maintenance LCD 1 Do not use finger nails or hard sharp object to touch the surface of the LCD otherwise user can t enjoy the above service 2 Embest recommend user to purchase a piece of special wiper to wipe the LCD after long time use please avoid clean the surface with fingers or hands to leave fingerprint 3 Do not clean the surface of the screen with chemicals otherwise user can not enjoy above service Note Embest do not supply maintenance service to LCDs We suggest the customer first check the LCD after getting the goods In case the LCD can not run or show no display customer should inform Embest within 7 business days from the moment of getting the goods Value Added Services We will provide following value added services Provided services of driver develop based on Embest embedded platform like serial port USB interface devices LCD screen Provided the services of control system transplant BSP drivers develop API software develop Other value added services like power adapter LCD parts e Other OEM ODM services Technically training Please contact Embest to get technical support e Support Tel 86 755 25503401 Fax 86 755 25616057 123 P Embest Info amp Tech Co L on
81. t Info amp Tech Co LTD http www armkits com 3 8 2 2 DVSDK System Demonstration DVSDK Digital Video Software Development Kit is software developed by TI Company the function of which is to establish a connection between ARM and DSP The application program runs at the ARM end and ARM processes IO interface and the application program ARM uses VISA APIs interface provided by Codec Engine to process video image and voice signals Codec Engine then uses DSP BIOS Link and xDIAS as well as xDM protocol to communicate with the Codec Engine server DSP processes these signals and puts results of processing in the memory space shared by ARM such that the ARM end can obtain these results The computer end has to be installed with Linux operating system in advance and the instruction in Step 1 is finished in PC ulmage 4 3 mentioned in the following context means 4 3 inch screen please use ulmage 7 if the user uses 7 inch screen 1 Divide the TF card into two partitions please refer to Appendix IV for specific operation connect the TF card to PC and then execute the following commands cp media cdrom linux demo dvsdk image MLO media LABEL1 cp media cdrom linux demo dvsdk image u boot bin media LABEL1 cp media cdrom linux demo dvsdk image ulmage_4 3 media LABEL1 ulmage rm rf media LABEL2 sudo tar jxvf linux demo dvsdk image dvsdk dm37x evm rootfs tar bz2 C media LABEL2 sync umount media LABEL1 umount media
82. t from NAND FLASH 1 Run the command to test the touch screen root Devkit8500 ts calibrate Then follow the LCD prompt click the icon 5 times to complete the calibration 2 Calibration is complete enter the following commands for Touch Panel Test root DevKit8500 ts test Follow the LCD prompts to choose draw point draw line test 3 8 1 4 RTC Testing The development board contains hardware clock for save and synchronize the system time Test can be made with the following steps 1 Set the system time as Fri Aug 8 20 00 00 2011 root DevKit8500 date 011820002011 Fri Aug 8 20 00 00 UTC 2011 2 Write the system clock into RTC root DevKit8500 hwclock w 3 Read the RTC root DevKit8500 hwclock FriAug 8 20 00 00 UTC 2011 We can see that the RTC clock has been set as August 8 2008 the system clock will be saved in the hardware clock 4 Restart the system enter the following commands to renew the system clock root DevKit8500 hwclock s root DevKit8500 date Fri Aug 8 20 00 00 UTC 2011 We can see the system time is set as hardware time 64 am Embest Info amp Tech Co LTD http www armkits com The DevKit8500D A Development board RTC battery can use model CR1220 user needs to prepare themselves 3 8 1 5 TF Card Testing 1 After connecting TF card the system will mount the file system of the TF card under the directory media automatically root DevKit8500 cd media root DevKit8500 media Is card
83. tem customization will be described below by taking usb gadget and usb mass storage device as an example Select the configuration below 5 Device Drivers gt USB support USB Gadget Support USB Gadget Drivers USB Gadget Support 1 Debugging messages DEVELOPMENT Debugging information files DEVELOPMENT Debugging information files in debugfs DEVELOPMENT 2 Maximum UBUS Power usage 2 566 m USB Peripheral Controller Inventra HDRC USB Peripheral TI ADI gt KW USB Gadget Drivers KER Gadget Zero DEVELOPMENT lt gt Audio Gadget EXPERIMENTAL KD Ethernet Gadget with CDC Ethernet support RNDIS support 1 Ethernet Emulation Model EEM support lt gt Gadget Filesystem EXPERIMENTAL KD File backed Storage Gadget Mass Storage Gadget Serial Gadget with CDC ACM and CDC OBEX support MIDI Gadget EXPERIMENTAL Printer Gadget CDC Composite Device Ethernet and ACH Multifunction Composite Gadget EXPERIMENTAL d dh dh dh dh dx Iw ei wi wi VY Select File backed Storage Gadget as lt M gt exit and finally select Save to recompile kernel 3 4 3 2 Compilation Save configuration execute the following commands to recompile kernel make ulmage make modules After above operations are executed a new kernel image ulmage will be generated under the directory arch arm boot and a module file g file storage ko will be generated under the directory 38 P re Embest Info amp T
84. tftp copy the follow word to tftp file service tftp disable no socket type dgram protocol udp wait yes user root server usr sbin in tftpd 118 PET Embest Info amp TechCo LTD i http www armkits com server args S tftpboot C per source il cps 100 2 4 Reboot the server gt sudo etc init d xinetd restart gt sudo in tftpd l tftpboot 5 Test the server Conduct a test create a file under folder tftpboot gt touch abc Enter into another folder gt tftp 192 168 1 15 192 168 1 15was the server IP gt tftp gt get abc That download can be made means the server has been installed 119 pama Embest Info amp TechCo LTD http www armkits com Appendix VI WinCE Source 1 Visual Studio 2005 SP1 Update for Vista if applicable http download microsoft com download c 7 d c7d9b927 f4e6 4ab2 8399 79a2d5cdfac9 VS80sp 1 KB932232 X86 ENU exe 2 Windows Embedded CE 6 0 Platform Builder Service Pack 1 http www microsoft com downloads details aspx familyid BFODCOE3 8575 4860 A8E3 290ADF 242678 amp displaylang en 3 Windows Embedded CE 6 0 R2 http www microsoft com downloads details aspx FamilyID f41fc7c1 f0f4 4fd6 9366 b6 1e0ab59 565 amp displaylang en 4 Windows Embedded CE 6 0 R3 http download microsoft com download F 5 2 F5296720 250A 4055 99 1 C OCEA5DE11436 CE6 R3 iso 5 WinCEPB60 091 231
85. ttings work Desktop usb driv v Dont search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware Figure Appedix 3 2 3 When the following appears select Continue 110 am Embest Info amp TechCo LTD http www armkits com Hardware Installation The software you are installing for this hardware Linux USB Ethernet ANDIS Gadget has not passed Windows Logo testing to verify its compatibility with Windows XP Tell me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing STOP Installation Figure Appedix 3 3 4 Please wait until the installation is completed Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for Es Linux USB Ethemet RNDIS Gadget Click Finish to close the wizard Finish Figure Appedix 3 4 111 F rre Embest Info amp Tech Co LTD http www armkits com Appendix IV Linux Boot Disk Format How to create a dual partition card for DevKit8500D A to boot Linux from first partition and hav
86. untu is preparing files to copy over for installation it ll ask you some questions They re self explanatory Install Keyboard layout Choose your keyboard layout Tajikistan Tanzania Alternative international Thailand Cherokee Turkey Classic Dvorak Turkmenistan Colemak fv Ukraine Dvorak alternative international no dead keys United Kingdom Dvorak international with dead keys Uzbekistan International AltGr dead keys Vietnam International with dead kevs Detect Keyboard Layout Figure Appedix 2 3 12 106 am EmbestInfo amp TechCo LTD http www armkits com Install Almost finished copying Install Welcome to Ubuntu 11 04 Ubuntu is packed computer del he Unity desktop interface a to find and manage your introdu brand new wa things to look for iny system gt Almost Finished copying files Who are you Your computer s name Pick a username Choose password Confirm your password Susan Brownmiller ubuntutaplop v Tho name it uses when it talks ta ather computers susan ccccccecece Fair password 00600000 Y Login automatically Require my password to login Encrypt my home folder Figure Appedix 2 3 13 th feabures to make your e cool erating Figure Appedix 2 3 14 107 PZ Embest Info amp TechCo L D http www armkits com Install Find even more software The Ubuntu Software Centre hes thousa
87. wer for LED Table 2 3 12 LAN interface 2 3 13 USB OTG Interface J16 Pin Signal Function 1 VBUS 5V 2 DN USB Data 3 DP USB Data 4 ID USB ID 5 GND GND Table 2 3 13 USB OTG interface 25 P Embest Info amp TechCo LTD 2 3 14 USB HOST Interface J17 Pin Signal Function 1 VBUS 5V 2 DN USB Data 3 DP USB Data 4 ID USB ID 2 3 15 TF Card Interface Table 2 3 14 USB HOST interface J3 Pin Signal Function 1 DAT2 Card data 2 2 DAT3 Card data 3 3 CMD Command Signal 4 VDD VDD 5 CLK Clock 6 VSS VSS 7 DATO Card data 0 8 DAT1 Card data 1 9 CD Card detect 2 3 16 JTAG Interface Table 2 3 15 TF interface J2 Pin Signal Function 1 TMS Test mode select 2 NTRST Test system reset 3 TDI Test data input 4 GND GND 5 VIO 1 8V 6 NC NC 7 TDO Test data output 8 GND GND i http www armkits com 26 P Embest Info amp TechCo LTD i http www armkits com 9 RTCK Receive test clock 10 GND GND 11 TCK Test clock 12 GND GND 13 EMUO Test emulation 0 14 EMU1 Test emulation 1 Table 2 3 16 JTAG interface 2 3 17 Expansion Interface J8 Pin Signal Function 1 GND GND 2 BSP1 DX Transmitted serial data 1 3 BSP1 DR Received ser
88. y Linux distribution 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 1 GB of RAM or more is recommended Installation Process 1 Download software Before installing Ubuntu you must get VirtualBox software and Ubuntu disk image ISO file Available in the VirtualBox download page VirtualBox program VirtualBox 4 0 10 72479 Win exe In the Ubuntu download page to get Ubuntu disk image ubuntu 11 04 desktop i386 iso 2 Create New Virtual machine gt Oracle YE VirtualBox Manazer to the New Virtual Machine Wizard will guide you through the steps that are necessary to create a chine for VirtualBox he next page of the wizard and the Back to return to the previous page You can also press Cancel if you want to cancel the execution of this wizard Figure Appedix 2 2 1 After you launch VirtualBox from the Windows Start menu click on New to create a new virtual machine When the New Virtual Machine Wizard appears click Next 96 P rer Embest Info amp TechCo LTD http www armkits com P Create New Virtual Machine VH Name and OS Type Enter a name for the new virtual machine and select the type of the guest operating system you plan to install onto the virtual machine The name of the virtual machine usually indicates its software and hardware configuration It will be used by all VirtualBox com

Download Pdf Manuals

image

Related Search

Related Contents

Nous vous remercions d`avoir acheté l`un de nos produits ConforTeck  AVIGILON_MU_Interfac..  Compass Capture 3.61 User Manual.book  n°15 - décembre 2010 - Communauté de communes du Lautrécois  CSTB2 Chipper Shredder Tow Bar Accessory  iSpeaker C20 User Manual  WIDE DYNAMIC RANGE ZC-DW4039 NHA/ZC  emblem™ s-icd - pulse generator user`s manual  

Copyright © All rights reserved.
Failed to retrieve file