Home
DevKit8600 User Manual
Contents
1. J5 Pin Signal Function 1 VIO_3V3 3 3V VIO_3V3 3 3V UART1_TX_3V3 UART1 Transit data 3 3V level UART3 TX 3V3 UART3 Transit data 3 3V level UART1 RX 3V3 UART1 receive data 3 3V level UART3 RX 3V3 UART3 receive data 3 3V level O la Is wo IN 38 garam Embest Technology Co LTD http www armkits com 7 GND GND 8 GND GND 9 GND GND 10 GND GND Table 2 16 J6 Pin Signal Function 1 VIO_3V3 3 3V 2 VIO_3V3 3 3V 3 I2C0 SCL_3V3 IICO master serial clock 3 3V level 4 UART2 TX 3V3 UART2 transit data 3 3V level 5 I2C0 SDA 3V3 I2C0 master serial data 3 3V level 6 UART2 RX 3V3 UART2 receive data 3 3V level 7 GND GND 8 GND GND 9 GND GND 10 GND GND 39 garam Embest Technology Co LTD 2 3 16 KEY Table 2 17 KEY http www armkits com S1 3 Pin Signal Function S1 HOME User defined key 2 MENU System menu key S3 BACK System back key S4 SW PUSHBUTTOn Power Switch button 40 garam Embest Technology Co LTD 2 3 17 LED Table 2 18 LED http www armkits com D4 D48 D49 Number Title Function 1 D4 System Indicator 2 D48 User defined LED 3 D49 User defined LED 41 Leg Embest Technology Co LTD d http www armkits com 3 Chapter 3 Linux Operating System 3 1 Introduction This secti
2. On failure unwind the led creations for i i 1 i gt 0 i delete_gpio_led amp priv gt leds i kfree priv return ret static int devinit create_gpio_led const struct gpio_led template struct gpio_led_data led dat struct device parent int blink set unsigned unsigned long unsigned long ret gpio_request template gt gpio template gt name ret gpio_direction_output led_dat gt gpio led_dat gt active_low state ret led_classdev_register parent amp led_dat gt cdev c Usercan access brightness file on the directory of sys class leds xxx brightness called function gpio_led_set to configure led states 65 dese Tein CED static void gpio_led_set struct led_classdev led cdev enum led_brightness value gpio_set_value led_dat gt gpio level 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 66 Leg Embest Technology Co LTD 5 http www armkits com HP USB Disk Storage Format Tool Device Generic USB SD Reader 1 00 1903 MB F 5 File system FAT32 z Volume label LABEL1 Format options Figure 3 9 c
3. Figure Appendix 2 25 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 Appendix 2 26 The installation will finish the whole thing can take anywhere between 15 minutes and an hour depending on the speed of your computer 130 dese Teno CED Ubuntu Settings IS General ES System EI Display Storage Tree Attributes amp IDE Controller CD DVD Drive IDE Primary Master Storage Paso a ype EP Network YA SATA Controller Size ze 3 CS Serial Ports Ce Location USB Attached To Shared Folders Storage Sa G oi 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 enough memory left for your host operating system Continue at your own risk A Non optimal settings detected Cancel Help Figure Appendix 2 27 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 Ill 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 and give you a hint on the screen please select From list or designated l
4. Figure Appendix 2 3 VirtualBox will try to guess how much of your memory or RAM to allocate for the virtual machine If you have 1 GB or less of RAM would advise you stick with the recommendation If however you have over 1 GB about a quarter PC 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 118 gara Embest Technology Co LTD http www armkits com of it you have just go with the default Click Next 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 can 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 oO Use existing hard disk Ubuntu vdi Normal 8 00 GB Figure Appendix 2 4 If this is your first time using VirtualBox which it probably is if you need a tutorial on how to use it then you do want to create new hard disk and then click Next P Create Hew Virtual Disk Welcome to the Create New Virtual Disk Wizard This wizard will help you to create a n
5. 7 garam Embest Technology Co LTD 1 http www armkits com 1 3 DevKit8600 Optional Modules List Modules Android Relevant Materials Available in the CD ROM of VGA8000 Devkit8600 Available in a dedicated WF8000 U CD ROM Available in a dedicated CAM8100 U CD ROM CDMA8000 U Download here WCDMA8000 U Download here Available in the CD ROM of LVDS8000 Devkit8600 and on our Website Table 1 1 1 4 How to Quick Start This section will tell the user how to understand and use DevKit8600 better and faster through this DevKit8600 Quick Operation Manual For more information please refer to the listed document and location For hardware development Hardware Introduce CPU expanded chi i i S User Manual gt 2 Hardware System system and hardware interface CPU Know principle and CD gt HW design datasheet CPU Datasheet configuration of AM335x S E Know hardware principle of diagram of oe CD gt HW design schematic DevkKit8600 Devkit8600 Dimensional Refer to the actual length and User Manual gt Appendix gt Appendix drawing of height of DevKit8600 to bring eta bul ment es 13 garam Embest Technology Co LTD http www armkits com DevKit8600 convenience for opening die Table 1 2 For software development Establish To connect with external User Manual gt 1 4 1 Establishment
6. 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 142 garam Embest Technology Co L TD http www armkits com Appendix VII FAQ Please access http www elinux org DevKit8600 FAQ 143 garam Embest Technology Co LTD E http www armkits com Technical support amp Warranty Service Embest Technology 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 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
7. The following operation carried out in HyperTerminal 1 2 Control System heartbeat lamp root DevKit8600 echo 1 gt sys class leds sys led brightness root Devkit8600 echo 0 gt sys class leds sys led brightness Control user led lamp root DevKit8600 echo 1 gt sys class leds user_led brightness root DevKit8600 echo 0 gt sys class leds user led brightness 73 gem Embest Technology Co LTD http www armkits com 3 8 1 2 KEYPAD Testing Board has three users keyboard BACK MENU and HOME users can and perform the following command testing root DevKit8600 evtest dev input event1 Input driver version is 1 0 1 Input device ID bus 0x19 vendor 0x1 product 0x1 version 0x100 Input device name gpio keys Supported evenis Event type 0 Sync Event type 1 Key Event code 1 Esc Event code 59 F1 Event code 102 Home Testing interrupt to exit Event time 1233046035 953970 type 1 Key code 102 Home value 1 Event time 1233046035 953975 Report Sync Event time 1233046036 095752 type 1 Key code 102 Home value 0 Event time 1233046036 095753 Report Sync Event time 1233046037 867785 type 1 Key code 59 F1 value 1 Event time 1233046037 867788 Report Sync Event time 1233046038 000793 type 1 Key code 59 F1 value 0 Event time 1233046038 000795 Report Sync
8. garam Embest Technology Co LTD http www armkits com YY 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 systeniUbuntu 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 Appendix 2 10 Click Finish the virtual hard drive is successfully created 3 Installing Ubuntu S Oracle VE VirtualBox Manager Settings General Tinie Basie Advanced Description Storage Name Ubuntu Audio Operating System Linux Network Version Vbuntu Serial Ports i USB I Shared Folders Select a settings category from the Iist on the left hand side and move the mouse over a settings stem to get more information OK Cancel Help Figure Appendix 2 11 122 http www armkits com me EI General Storage System z St 1 Display storage Iree Te Storage Choose a virtual CD DVD disk file Pe Audio Look in sotware zl rh ES EP Network SBoutuntu 11 04 desitop ises Serial Ports s use Shared Folders Ei Attributes My Documents My Computer My Network Places File name T x Open se Files of type all CD DVD ROM disk images dmg iso car Figure Appendix 2 12 Before Installing Ubuntu in a vi
9. led_acc amp 98 garam Embest Technology Co LTD E http www armkits com Chapter 4 Windows Embedded Compact 7 Operating System 4 1 Introduction This section mainly introduces Devkit8600 system and application development of Windows Embedded Compact 7 as well as software resources in disc software features establishment of development environment and how to sysgen and build BSP board support package and so on 4 2 Software Resources BSP Board Support Package CD WINCE700 BSP AM33x_BSP rar CD WINCE700 BSP COMMON_TI_V1 rar CD WINCE700 BSP 3rdParty rar CD WINCE700 BSP PowerVR rar Windows Embedded Compact 7 sample project CD WINCE700 project AM335X_OS Sample application CD WINCE700 app Pre compile image CD WINCE700 Image MLO First bootloader for TF card boot xldrnand nbO First bootloader for NAND flash boot Ebootsd nb0 Second bootloader for TF card boot 99 garam Embest Technology Co LTD Ebootnd nb0 Nk bin http www armkits com Second bootloader for NAND flash boot WinCE runtime image 4 3 Software Features Resources of BSP Catalog Item Source code binary X Loader NAND Source First boot loader SD Source EBOOT NAND Source Second boot SD source loader Boot parameter Source KILT EMAC Source Serial debug Source REBOOT Source Watchdog Source OAL RTC Source Kernel profiler Source Syste
10. A com cn Ce ublo3odrklle camasUUU ra com cninese uploadrile camaoVvUU rat 3 8 1 17 WCDMA8000 U module If the camera modules are from Embest then you can download the module material from below link http www timll com chinese uploadFile WCDMA8000 110113 zip 90 Lg Embest Technology Co LTD a http www armkits com 3 8 2 Demo 3 8 2 1 Demonstration of Android System DevKit8600 provides Android system demonstration please follow below steps 1 Copy all files under the directory CD linux demo android image to the TF card rename the cooresponding file ulmage xx as ulmage according to the size of the LCD you have 2 Insert the TF card in the development card and power it on the HyperTerminal will display the following information CCCCCCCC U Boot SPL 2011 09 svn May 22 2012 11 19 00 Texas Instruments Revision detection unimplemented Booting from MMC OMAP SD MMC 0 reading u boot img reading u boot img U Boot 2011 09 svn May 24 2012 11 17 39 I2C ready DRAM 512 MiB WARNING Caches not enabled Did not find a recognized configuration assuming General purpose EVM in Profile 0 with Daughter board NAND HW ECC Hamming Code selected 512 MiB MMC OMAP SD MMC 0 Warning bad CRC using default environment 91 garam Embest Technology Co LTD l http www armkits com NAND erase chip device 0 whole chip Skipping bad block at 0x03620000 Erasing at 0x1ffe0000 100 comp
11. 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 144 dese Tein CED Issues happen when users compile run the embedded OS which is tailored by users themselves Users own applications Problems happen during the modification of our software source code Maintenance service clause 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 with discretion 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 t
12. 125 garam Embest Technology Co LTD http www armkits com Install Welcome Asturian Bahasa Indonesia Bosanski Catala Cestina Dansk Deutsch Eesti woul Esperanto Euskara Try Ubuntu Install Ubuntu Francais Gaeilge You can try Ubuntu withaut making any changes ba your computer directly Galego from this CD Hrvatski g 8 Or if you re ready you can Install Ubuntu alongside or instead of your Islenska current operating system This shouldn t take too tong italiano Kurdi Figure Appendix 2 17 Select language and click Install Ubuntu install Preparing to install Ubuntu For best results please ensure that this computer af has at least 4 4 GB available drive space da Is plugged into 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 is 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 Appendix 2 18 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
13. Event time 1233046038 854748 type 1 Key code 1 Esc value 1 Event time 1233046038 854751 Report Sync Event time 1233046039 022872 type 1 Key code 1 Esc value 0 Press CONTROL C to quit the test The back of the test is the same 74 gem Embest Technology Co LTD http www armkits com 3 8 1 3 Touch Screen Testing This testing reguires Linux boot from NAND Flash 1 Run the command to test the touch screen root DevKit8600 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 DevKit8600 ts test Follow the LCD prompts to choose draw point draw line test 3 8 1 4 Backlight Testing After entering the system execute the following command to test the backlight Backlight brightness setting ranges 0 100 100 means highest brightness 0 means turning off the backlight brightness a View the backlight brightness of the default value root DevKit8600 cat sys class backlight pwm backlight brightness 50 b set the backlight brightness to 0 root DevKit8600 echo 0 gt sys class backlight pwm backlight brightness root DevKit8600 cat sys class backlight pwm backlight brightness 0 At this time the backlight is turned off the screen goes black c Set the backlight brightness to 100 root Devkit8600 echo 100 gt sys class backlight pwm backlight brigh
14. www armkits com Booting kernel from Legacy Image at 80007fc0 Image Name Linux 3 1 0 Image Type ARM Linux Kernel Image uncompressed Data Size 2993056 Bytes 2 9 MiB Load Address 80008000 Entry Point 80008000 Verifying Checksum OK XIP Kernel Image OK OK Starting kernel Uncompressing Linux done booting the kernel Linux version 3 1 0 luofe TIOP gcc version 4 3 3 Sourcery G Lite 2009q1 203 28 Mon Mar 5 11 04 25 CST 2012 RAMDISK gzip image found at block 0 VFS Mounted root ext2 filesystem on device 1 0 Freeing init memory 240K INIT version 2 86 booting Starting udevudevd 623 proc 623 oom_adj is deprecated please use proc 623 oom_score_adj instead tar removing leading from member names 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 Setting up IP spoofing protection rp_filter 69 Leg Embest Technology Co LTD 1 http www armkits com Configuring network interfaces udhcpc v1 11 3 started Sending discover udhcpc sendto Network is down Sending discover udhcpc sendto Network is down Sending discover udhcpc sendto Network is down No lease failing done Tue Jan 27 08 47 00 UTC 2009 INIT Entering runlevel 5 Starting syslogd klogd done The Angstrom Distribut
15. 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 78 garam Embest Technology Co LTD http www armkits com 64 bytes from 192 168 1 15 seq 1 ttl 128 time 0 550 ms 6 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 8 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 Devkit8600 cd medial root DevKit8600 media Is card hdd mmcbikOp1 ram sda1 cf mmc1 net realroot union 2 Contents in the USB flash disk will be seen after the following instruction is input root DevKit8600 media Is sda1 flash uboot bin u boot bin x load bin ift for NAND mlo ulmage ramdisk gz ubi img 3 8 1 9 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 Devkit8600 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 Its setup is stream CAPTURE access RW_INTERLEAVED 79 garam Embest Technology Co LTD l htt
16. 21 R2 GND 22 R3 LCD Pixel data bit 11 23 R4 LCD Pixel data bit 12 24 R5 LCD Pixel data bit 13 25 R6 LCD Pixel data bit 14 26 R7 LCD Pixel data bit 15 27 GND GND Se BEN 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 GND4 GND 34 X X Position Input 35 X X Position Input 36 Y Y Position Input 37 Y Y Position Input 38 NC NC 39 NC NC 40 NC NC 41 NC NC 42 IC CLK IIC master serial clock 43 IC DAT IIC serial bidirectional data 44 GND5 GND 25 L Embest Technology Co LTD http www armkits com 45 VDD1 3 3V 46 VDD2 3 3V 47 VDD3 5V 48 VDD4 5V 49 NC NC 50 PWREN Backlight enable Do not charged pluggable LCD cable 2 3 3 Audio Out Interface Table 2 3 Audio out interface Headphone Pin Signal Function 1 GND GND 2 NC NC 3 Right Right output 4 NC NC 5 Left Left output 26 garam Embest Technology Co LTD 2 3 4 MIC In Interface Table 2 4 MIC IN interface http www armkits com MIC1 Pin Signal Function 1 GND GND 2 NC NC 3 MIC MAIN P Right input 4 NC NC 5 MIC MAIN N Left input 21 r Embest Technology Co LTD http www armkits com 2 3 5 USB HOST Interface Table 2 5 USB HOST interface J9 Pi
17. It is used for interacting with users updating images and leading the kernel 3 The latest Linux3 1 0 kernel is employed here and it can be customized based on DevKit8600 4 rootfs employs Open source system It is small in capacity and powerful very suitable for embedded systems 3 3 Software Features Items Notes NAND spl MMC SD FAT BIOS NAND MMC SD u boot FAT NET Supports ROM CRAM EXT2 EXT3 FAT NFS Kernel Linux 3 1 0 JFFS2 UBIFS and various file systems serial Series driver rtc Hardware clock driver net 10 100M Ethernet driver Device Driver can can bus driver flash nand flash driver supports nand boot LCD TFT LCD driver Touch screen Touch screen controller driver 43 garam Embest Technology Co LTD l http www armkits com mmc sd mmc sd controller driver usb otg usb otg 2 0 driver Audio Audio driver keypad gpio keyboard driver Led User led driver Android android 2 3 4 system Demo TISDK TISDk system Table 3 1 3 4 System Development 3 4 1 Establishing operating system development environment Before executing software development on DevKit8600 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 compil
18. KiB usb0 Link encap Ethernet HWaddr 5E C5 F6 D4 2B 91 inet addr 192 168 1 115 Bcast 192 168 1 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 253 errors 0 dropped 0 overruns 0 frame 0 77 dese Tein CED 3 5 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 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 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 Rx 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 Use the following DNS server addresses Preferred DNS server Alternate DNS server Figure 3 10 Use ping command in the HyperTerminal to test whether the settings of the development board are successful root Devkit8600 ping 192 168 1
19. Stallman is that you check or tick this option 126 garam Embest Technology Co LTD 1 Install Allocate drive space What would you like to do Erase disk and install Ubuntu E Warning amp Something else Quit Back Figure Appendix 2 19 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 This computer currently has no detected operating systems http www armkits com Forward Install Now Figure Appendix 2 20 This is the no turning back point If you decide to do this your hard drive will be repartitioned and part or all of it will be formatted Before you click this button Install Now to continue make sure you have everything backed up 127 i Embest Technology oU http www armkits com Install Where are you Sc 4 Figure Appendix 2 21 While Ubuntu 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 USA Tanzania SA Alternative international Thailand USA Cherokee Turkey USA Classic Dvorak Turkmenistan USA Colemak USA Dworak Ukraine USA Dvorak alternative international no dead keys United Kingdom USA Dvorak international with dead keys Uzbekistan
20. Storage 512MByte NAND Flash 512MByte DDR3 SDRAM Audio Video Interfaces LCD Touch Screen interface Up to 16 Bits Data Output 8 Bits per Pixel RGB 50 pin FPC connector J2 One audio input interface 3 5mm audio jack One 2 channel audio output interface 3 5mm audio jack Data Transfer Interfaces 10 100M Ethernet interface RJ45 connector One CAN 2 0 interface and RS485 interface 8 Pin Phoenix Connector One USB 2 0 High Speed OTG Ports with Integrated PHY Mini USB type interface One USB 2 0 High Speed HOST Ports with Integrated PHY USB A type interface Wi Fi Bluetooth interface only Linux supports 10 ln Erbesi een SLD One 5 line Debug serial port RS232 DB9 connector Expansion interface UART1 UART3 interface J5 connector UART1 Compatible with RS485 and UART3 compatible with wifi Bluetooth 12C0 UART2 interface J6 connector SPIO interface J8 connector amp Four ADC interfaces J10 connector One GPMC bus interface J14 connector Input Interfaces Three user buttons HOME MENU BACK One reset button LED One power indicator Two user LEDs http www armkits com N Page I USB Host AM3359ZCZ SPI_CS0 USB HS OTG MAX3232CSE 5 wire RS232 t t D SUB9 Connector AR8035_QFN40 WG7310 KS AUDIO OUT RJ45 WIFI Bluetooth MIC IN ee mmm Dm wm mmm mm mmm mmm mmm mmm mmm mm Connector Se emm e NG Figu re 1 1
21. and select the icon for the connection Connection Description a Enter a name and choose an icon for the connection Name Embest Teseus CC Figure 1 4 3 Select the specific serial port from the list as per your computer COM port configuration Connect To Does Enter details for the phone number that you want to dial Country region Untied State Area code ES Phone number Figure 1 5 17 me ents etry COLT 4 Set parameters for serial port connection as follows COM2 Properties Port Settings Bits per second 115200 Data bits D Parity None Stop bits H Yi Con ong TT Restore Defaults Figure 1 6 5 So we have successfully established a Hyper Terminal connection with PC serial port Embest HyperTerminal ox File Edit View Call Transfer Help De 23 o g Figure 1 7 18 garam Embest Technology Co LTD J http www armkits com Chapter 2 Hardware System 2 1 CPU 2 1 1 CPU Introduction The AM3359 microprocessors based on the ARM Cortex A8 are enhanced with image graphics processing peripherals and industrial interface options such as etherCAT and Profibus The device supports the following high level operating systems OSs that are available free of charge from TI Linux Windows CE and Android The AM3359 microprocessor contains these subsystems Microprocessor unit MPU subsystem ba
22. bdata struct gpio keys button button bdata gt button 61 Leg Embest Technology Co LTD 1 http www armkits com struct input dev input bdata gt input unsigned int type button gt type EV KEY int state gpio get value button gpio 1 0 button sactive low input event input type button gt code state input sync input 3 6 2 Driver For The gpio leds 1 Device Definition linux 3 1 0 psp04 06 00 03 sdk arch arm mach omap2 board am335xevm c The kernel configuration respectively are sys led GPIO1 26 usr led GPIO1 27 low level is enable static struct gpio led gpio_leds name sys led default trigger heartbeat gpio GPIO_TO_PIN 1 26 5 name user led gpio GPIO TO PINO 27 static struct gpio led platform data gpio led info leds gpio leds num leds ARRAY_SIZE gpio_leds 62 garam Embest Technology Co LTD http www armkits com static struct platform device leds gpio name leds gpio platform_data amp gpio_led_info E 2 GPIO pinmux Setup linux 3 1 0 psp04 06 00 03 sdk arch arm mach omap2 board am335xevm c Configure GPIO 1 26 and GPIO 1 27 as M7 MODE 7 GPIO IDIS Input not allowed static struct pinmux config gpio led pin muxll gpmc a10 gpiol 26 OMAP MUX MODE7 AM33XX PIN OUTPUT gpmc ali gpiol 27 OMAP MUX MODE7 AM33XX_PIN_ OUTPUT NULL 0 hs 3 Driv
23. general purpose interface pins Programmable Real Time Unit Subsystem AM3359 Programmable Real Time Unit Subsystem PRUSS includes two Programmable Real Time Units PRUs 12 KB of shared RAM with Single Error Detection parity three 120 byte Register Banks Accessible by Each PRU Interrupt Controller Module INTC for handing system input events and the following Peripherals inside the PRUSS One UART Port with Flow Control Pins Supports Up to 12 Mbps Two MII Ethernet Ports that Support Industrial Ethernet such as EtherCAT One MDIO Port One Enhanced Capture eCAP Module 3D Graphics Engine POWERVR SGX Graphics Accelerator subsystem for 3D graphics acceleration to support display and gaming effects The key feathers supported by the subsystem are Tile Based Architecture Delivering Up to 20 MPloy sec Universal Scalable Shader Engine is a Multi Threaded Engine Incorporating Pixel and Vertex Shader Functionality Advanced Shader Feature Set in Excess of Microsoft VS3 0 PS3 0 and OGL2 0 Industry Standard API Support of Direct3D Mobile OGL ES 1 1 and 2 0 OpenVG 1 0 and OpenMax 20 garam Embest Technology Co LTD 1 http www armkits com 2 2 Description of different IC blocks 2 2 1 TPS65910 The TPS65910 is an integrated power management IC which provides three step down converters one step up converter and eight LDOs TPS65910 is communicated with CPU through I2C protocol its main role is to onbo
24. i http www armkits com Bit Rates 1 Mb s 2 Mb s 5 5 Mb s 11 Mb s Mode Master Extra tsf 000000141698b596 Extra Last beacon 33540ms ago IE Unknown 000454494F50 IE Unknown 010482848B96 IE Unknown 030101 c Connect to wifi router root DevKit8600 iwconfig wlan0 essid TIOP key s abcde root DevKit8600 ifconfig wlan0 down wl1271 down root Devkit8600 ifconfig wlan0 up wl1271 firmware booted Rev 6 1 5 50 74 Association completed 1 iwconfig wlan0 essid TIOP key s abcde command indicates that the connected wireless router name is TIOP the KEY format is ASCII characters the KEY is abcede connection to the wireless router is TIOP if the key format of WEP router used is hexadecimal characters the key is 0123456789 WEP encrypted wireless router connect command is iwconfig wlan0 ESSID TIOP key 0123 4567 89 2 Before the test you must use the ifconfig wlan0 down to turn off the WIFI device use the ifconfig wlan0 up command to turn on 3 Wireless router with encryption cannot connect in addition to WEP Wireless router d Testing root Devkit8600 ifconfig wlan0 192 192 192 216 root DevKit8600 ping 192 192 192 90 89 garam Embest Technology Co LTD http www armkits com 3 8 1 15 BT Testing 1 Enable BT 2 Configure BT 3 Testing 3 8 1 16 CDMA8000 U module If the camera modules are from Embest then you can download the module material from below link
25. of environment variables will be finished automatically when the system is booted command echo PATH can be used to check the path 3 4 1 3 Building Android development environment In addition to the installation of cross compiling tools and environment variables there are some software packages and configurations need to be handled before you can implement compilation of Android source codes For detailed information please refer to Setting up a Linux build environment on the Android web site http source android com source initializing html 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 45 gem Embest Technology Co LTD http www armkits com mkdir HOME work cd HOME work tar xvf media cdrom linux source u boot 2011 09 psp04 06 00 03 tar bz2 tar xvf media cdrom linux source linux 3 1 0 psp04 06 00 03 sdk tar bz2 tar xvf media cdrom linux demo android source linux 3 1 0 android tar bz2 sudo tar xvf media cdrom linux source rootfs tar bz2 tar xvf media cdrom linux demo android source rowboat android gingerbread am335xev m tar bz2 After the above commands are executed the directories u boot 2011 09 psp04 06 00 03 linux 3 1 0 psp04 06 00 03 sdk linux 3 1 0 android rowboat android gingerbread am335xevm and rootfs will be created unde
26. the following pointing paths Location gt Device Drivers gt Graphics support gt Support for frame buffer devices FB y gt DA8xx OMAP L1xx Framebuffer support FB DA8XX y Selected by HAS IOMEM y amp amp FB DA8XX y amp amp m Figure 3 2 Select under PANEL_TYPE according to actually displayed screen size 47 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 3 inch LCD support 7 inch LCD support VGA support LVDS support lt Help gt Figure 3 3 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 configuration lt ESC gt lt ESC gt to continue lt Yes AG en Figure 3 4 make ulmage After above operations are executed the reguired ulmage file will be generated under the directory arch arm boot 3 4 2 4 Generation of file system 1 Ramdisk file making For Ramdisk making please refer to http www elinux org DevKit8600 FAQ 2 UBI file making cd HOME work sudo HOME tools mkfs ubifs r rootfs m 2048 e 126976 c 812 o ubifs img sudo HOME tools ubinize o ubi img m 2048 p 128KiB s 512 O 2048 HOME tools ubinize cfg After above operations are executed the required u
27. 0 03 sdk arch arm configs devkit8600_defconfig User can carry out system customization on this basis cd linux 3 1 0 psp04 06 00 03 sdk 49 gamma Embest Technology Co LTD http www armkits com cp arch arm configs devkit8600 defconfig config make menuconfig The system customization will be described below by taking usb gadget and usb mass storage device as an example Select the configuration below gt Device Drivers gt USB support gt USB Gadget Support gt USB Gadget Drivers USB Gadget Support Debugging messages DEVELOPMENT L Debugging information files DEVELOPMENT Debugging information files in debugfs DEVELOPMENT 2 Maximum VBUS Power usage 2 500 mA 2 Number of storage pipeline buffers lt gt USB Peripheral Controller Inventra HDRC USB Peripheral TI ADI gt lt gt Select one gadget as builtin for one port Select USB port to bind builtin gadget USB 0 gt lt M gt USB Gadget Drivers lt M gt Gadget Zero DEVELOPMENT lt i Audio Gadget EXPERIMENTAL lt M gt Ethernet Gadget with CDC Ethernet support RNDIS support Ethernet Emulation Model EEM support lt gt Network Control Model NCM support lt gt Gadget Filesystem EXPERIMENTAL lt gt Function Filesystem EXPERIMENTAL lt M gt File backed Storage Gadget DEPRECATED A ile backed Storage Gadget testing version Mass Storage Gadget Serial Gadget with CDC ACM and CDC OBEX sup
28. 3359 microprocessor is an integration of 720MHz ARM Cortex A8 low power application processor with 176K Byte On chip boot ROM and provided lots of peripheral interface DevKit8600 board expands the hardware capabilities including LAN port audio input output interface USB OTG USB HOST CAN interface RS485 interface SPI interface IIC interface ADC interface GPMC interface JTAG interface TF slot serial port TFT LCD interface touch screen interface and keyboard interface DevKit8600 board can be used for the following applications Gaming Peripherals Home and Industrial Automation Consumer Medical Appliances Printers Smart Toll Systems Connected Vending Machines Weighing Scales Educational Consoles Advanced Toys 1 2 Features DevKit8600 evaluation board is based on AM3359 processor which integrates all functions and features of Ts AM3359 ARM Cortex A8 processor Some of the board features are mentioned below Mechanical Parameters dese ema Working temperature 0 C 70 C Humidity Range 20 90 Dimensions 130mm x 86mm Power Consumption 12V 0 19A Boot from Linux Without peripherals Processor 720 MHz ARM Cortex A8 32 Bit RISC Microprocessor NEON SIMD Coprocessor 32KB 32KB of L1 Instruction Data Cache with Single Error Detection parity 256KB of L2 Cache with Error Correcting Code ECC SGX530 Graphics Engine Programmable Real Time Unit Subsystem Memory and
29. 600 application programs employs Microsoft Windows Embedded Compact 7 standard application program interface definition Devkit8600 only expands interface definition of GPIO based on standard API Please refer to the CD WINCE700 app GPIOAppDemo to see how to control the GPIO pin status Please check relative Help documents of MSDN Windows Embedded Compact 7 API for Windows Embedded Compact 7 standard application program interface definition 4 7 2 GPIO application program interfaces and examples GPIO device name is L GIO1 Extend the DeviceloControl interface definition 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 IOCTL_GPIO_GETIRQ Read the corresponding IRQ of GPIO pin Table 4 3 Operation example is showed below 1 Open GPIO device HANDLE hFile CreateFile _T GIO1 GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE 0 OPEN EXISTING 0 0 2 Set the working mode of GPIO DWORD id 48 mode GPIO_DIR_OUTPUT 113 Leg Embest Technology Co LTD http www armkits com Set the working mode of GPIO DWORD pinButffer 2 pinBuffer 0 id plnBuffer 1 mode DeviceloControl hFile IOCTL GPIO SETMODE plnBuffer sizeof plnB
30. Beast 192 192 192 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 137 errors 0 dropped 4 overruns 0 frame 0 TX packets 0 errors 0 dropped 0 overruns 0 carrier 0 81 garam Embest Technology Co LTD l http www armkits com collisions 0 txqueuelen 1000 RX bytes 13792 13 4 KiB TX bytes 0 0 0 B Interrupt 40 lo Link encap Local Loopback inet addr 127 0 0 1 Mask 255 0 0 0 UP LOOPBACK RUNNING MTU 16436 Metric 1 RX packets 0 errors 0 dropped 0 overruns 0 frame 0 TX packets 0 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txgueuelen 0 RX bytes 0 0 0 B TX bytes 0 0 0 B Iroot DevKit8600 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 2 Occurrence of above serial port information indicates that the testing is successful 3 8 1 11 CAN Testing DevKit8600 can be used as a CAN device Accordance with the following figure shows the connection principle and with reference to the schematic to find the corresponding pin use the cable to connect DevKit8600 CAN interface and another CAN device 82 Terminating resistor on both ends of CAN devices NODE1 NODE2 CANH 8 8 CANL AM335X ea 7 AM335X GND 6 6 The test method as show below 1 Both DevKit8600 and another CAN device communication baud rate is set to 125KBPS and
31. DevkKit8600 Integrated with LCD USB Host Device Audio in out CAN RS485 ADC JTAG GPMC 10 100M Ethernet Serial TF card interface based on TI 32 bit microprocessor AM3359 User Manual Pe t dese Tein CED COPYRIGHT amp DevKit8600 CAM8000 A CAM8000 D WCDMA8000 U CDMA8000 U WF8000 U CAM8100 U LVDS8000 and VGA8000 are trademarks of Embest Technology Co Ltd AM3359 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 and Windows Embedded Compact Zare 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 http www armkits com Version updates records 1 0 2012 6 1 Initial version 1 1 2012 11 7 Android source code is supported now L Embest Technology Co LTD http www armkits com Contact If you want to order products from Embest please contact Marketing Department Tel 86 755 25500944 25631357 25635656 Fax 86 755 256 16057 E mail market embedinfo com If you want to get technical assistance from Embest please contact Technical Assistance De
32. INCE700 public Copy directory CD WINCE700 project AM335X_OS to C WINCE700 OSDesigns directory The default installation path of the Windows Embedded Compact 7 in this context is C WINCE700 4 4 3 Sysgen amp Build BSP Below are the steps given for Sysgen and BSP build 1 Open the existing project file AM335X OS sln locates in C WINCE700 OSDesigns AM335X_OS Click Build gt Build Solution in vs2008 to sysgen and build BSP Images including MLO EBOOTSD nb0 NK bin will be created after sysgen phase and build phase finished successfully Copy the files MLO EBOOTSD nb0 and NK bin Locate in C WINCE700 O0SDesigns AM335X_OS AM335X_OS RelDir AM33X_BSP_ARMV7 _ Release to the TF card Insert the TF card to the device and boot the device for a test 102 garam Embest Technology Co LTD http www armkits com 4 4 4 Driver Introduction Source code path of all drivers in BSP NLED driver BSP AM33X_BSP SRC DRIVERS NLED BSP AM33X_BSP SRC DRIVERS GPIO GPIO BSP COMMON_TI_V1 COMMON_TI_AMXX GPIO 12C BSP COMMON_TI_V1 COMMON_TI_AMXX OAL OALI2C BSPCOMMON TI VNCOMMON TI AMXXSPI SPI BSP AM33X_BSP SRC DRIVERS MCSPI MCASP driver BSP COMMON_TI_V1 COMMON_TI_AMXX MCASP Serial port driver BSP COMMON_TI_V1 COMMON_TI_AMXX SERIAL BSP AM33X_BSP SRC DRIVERS UART Audio driver BSP AM33X_BSP SRC DRIVERS WAVEDEV2 BSP AM33X_BSP SRC DRIVERS BLOCK NAND driver BSP COMMON_TI_V1 COM
33. MON_TI_AMXX BLOCK BSP COMMON_TI_V1 COMMON_TI_AMXX DSS_ Netra Display driver BSP AM33X_BSP SRC DRIVERS DISPLAY TOUCH driver BSP AM33X_BSP SRC DRIVERS TOUCH SD MMC SDIO driver BSP AM33X_BSP SRC DRIVERS SDHC BSP COMMON_TI_V1 COMMON_TI_AMXX SDHG 103 dese Teno CED BSP COMMON_TI_V1 COMMON_TI SDHC BSP COMMON_TI_V1 AM33X CPSW3Gminiport EMAC driver BSP AM33X_BSP SRC DRIVERS EMAC BSP AM33X_BSP SRC DRIVERS USB USB OTG driver BSP COMMON_TI_V1 AM33X USB GPIO keyboard driver BSP AM33X_BSP SRC DRIVERS KEYPAD Backlight driver BSP AM33X_BSP SRC DRIVERS BACKLIGHT Battery driver BSP AM33X_BSP SRC DRIVERS BATTERY PRU driver BSP COMMON_TI_V1 AM33X PRU BSP AM33X_BSP SRC DRIVERS PRU DMA driver BSP AM33X_BSP SRC DRIVERS EDMA BSP COMMON_TI_V1 COMMON_TI_AMXX EDMA Table 4 2 If the user wants to refer to more Windows Embedded Compact 7 driver development please refer to the specific reference document of the PB7 0 Start gt All programs gt Microsoft Visual Studio 2008 gt Microsoft Visual Studio 2008 Document gt Content C gt Windows Embedded Compact 7 gt Device Driver 104 dese Teno CED 4 5 Update system image Devkit8600 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 HP USB Disk Storage Format Tool 2 0 6 is reco
34. Select FAT32 d Click Start e When formatting is completed click OK HP USB Disk Storage Format 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 LVDS or VGA Connect the TF card power on and boot it the serial port information will be displayed as follows U Boot SPL 2011 09 svn Mar 02 2012 17 15 32 Texas Instruments Revision detection unimplemented Booting from MMC OMAP SD MMC 0 67 garam Embest Technology Co LTD l http www armkits com reading u boot img reading u boot img U Boot 2011 09 svn Mar 02 2012 17 15 32 I2C ready DRAM 512 MiB WARNING Caches not enabled Did not find a recognized configuration assuming General purpose EVM in Profile 0 with Daughter board NAND HW ECC Hamming Code selected nand_get_flash_type unknown NAND device Manufacturer ID Oxad Chip ID 0xd7 No NAND device found 0 MiB MMC OMAP SD MMC 0 Warning readenv failed using default environment Net cpsw Hit any key to stop autoboot 0 SD MMC found on device 0 reading uEnv txt Unable to read uEnv txt from mmc 0 1 reading ulmage 2993120 bytes read reading ramdisk gz 12132646 bytes read 68 am Embest Technology Co LTD http
35. TAG Intefa ANA 34 E DT RL 35 2313 SP IIIS MAG G an nana nana 36 2314 OPMG EE 37 2 3 15 Expansion Interface ooooooWoWo Wo WWW WWW mahal 38 2 316 KE Yasin smskan 40 E EE RG et D 41 3 CHAPTER 3 LINUX OPERATING SYSTEM oooooooooo o oom 42 RETIN eaten cre ee eee A 42 3 2 SOFTWARE RESOURCES end WE D 42 3 3 SOFTWARE REA ES aa aa aa an Sanu 43 39 4 SYSTEM DEVELOPMENT ea Reece Rasakan sampan 44 3 4 1 Establishing operating system development envVironMEnt ooWooo 44 3 4 2 System compilation en E See te aa ES aa 45 3 4 3 System Customizations paN Y TE 49 3 5 INTRODUCTION OF DRIVER fects anak nan ana akan ala naa 51 E WT EE e WE E MEET 51 3 5 2 SD MMO ee ns INI 52 3 53 EOD Ais E 53 3 94 E eeh ue TE 54 CR DEVELOPMENT sinc ee 55 3 6 1 Driver For The gpio kee 55 3 6 2 Driver For The gpio ledS ooWo oo mmm 62 3 7 UPDATED OF SYSTEM as ea La nan 66 3 7 1 Update of TF card system Image om Woman 66 3 7 2 Update of NAND Flash ana aan 71 3 8 INSTRUCTIONS see oi RE Rek en enak he ea 73 3 8 1 Various Tesis SONAM 73 dese Tein CED 9 82 DOMO WE 91 3 9 THE DEVELOPMENT OF APPHCATION us Bul erer 96 CHAPTER A WINDOWS EMBEDDED COMPACT 7 OPERATING SYSTEM 99 an oa na 99 4 2 SO Ve SU ee La Au sauna 99 4 3 SOFTWARE FEATURES isa 100 4 4 SYSTEM DEVELOPMENT o oooooo oooWoWooWmomoWoWoWomomomommamamamanamamammamaAN 101 4 4 1 Installation of IDE Integrated Development Environment 101 4 4 2 Ext
36. USA International AltGr dead keys Vietnam USA International with dead kevs Detect Keyboard Layout Figure Appendix 2 22 128 zaman Embest Technology Co LTD http www armkits com Install Who are you Susan Brownmiller Your name Your computer s name ubuntutaplop w The name it uses when it talks ta ather computers Pick a username susan v Choose password e0oeoooeooo Falr password Confirm your password 000006000600 Login automatically Require my password to login Encrypt my home folder Figure Appendix 2 23 Install Welcome to Ubuntu 11 04 Ubuntu is packed with Feabures to make your ghtful to use This version e Unity desktop interface a ay to find and manage your e d like to show some cool ok for in your new operating gt Almost Finished copying files Figure Appendix 2 24 129 m Embest Technology Co LTD http www armkits com Install Find even more software The Ubuntu Software Centre has thousands of new applications ready for menyangga gst ack A Essen aj L etzerrekz i tentam stelara or explore the categories like games B mier science and education It is simple to WE Stellari z R um download new stutt and write reviews to Orom O NE x 2 bai share your experiences xA d Some of our favourites e Inkscape F Frozen Bubble Vi tina AfD A paneer te See freee ta sre thers Biera bebe co
37. UX MODE7 AM33XX PIN INPUT gpmc csn2 gpiol 31 OMAP MUX MODE7 AM33XX PIN INPUT gpmc ad8 gpio0 22 OMAP MUX MODE7 AM33XX PIN INPUT NULL 0 b 3 Driver Design linux 3 1 0 psp04 06 00 03 sdk drivers input keyboard gpio_keys c a Structure for platform_driver_register to register gpio_keys driver 56 garam Embest Technology Co LTD http www armkits com static struct platform driver gpio keys device driver probe gpio keys probe remove devexit p gpio keys remove driver E name gpio keys owner THIS MODULE pm amp gpio keys pm ops of match table gpio keys of match static int mit gpio keys init void d return platform driver register amp gpio keys device driver static void evt gpio keys exit void platform driver unregister amp gpio keys device driver late initcall gpio keys init module exit gpio keys exit MODULE_LICENSE GPL MODULE_AUTHOR Phil Blundell lt pb handhelds org gt MODULE_DESCRIPTION Keyboard driver for GPIOs MODULE_ALIAS platform gpio keys b Structure for input register device to register input driver static int devinit gpio keys probel struct platform device pdev 57 Leg Embest Technology Co LTD http www armkits com input input_allocate_device for i 0 i lt pdata gt nbuttons i struct gpio keys button button amp pdata gt buttons i struct gpio button data bd
38. Welcome to the New Virtual Machine Wizard P This wizard will guide you through the steps that are necessary to create a new virtual machine for VirtualBox Use the Hext button to go to the next page of the wizard and the Back button to return to the previous page You can also press Camcel if you want to cancel the execution of this wizard Figure Appendix 2 1 117 L Embest Technology Co LTD http www armkits com 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 p Create New Virtual Machine VM 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 components to identify your virtual machine Name Ubuntu OS Type Operating System Linux Version Vbuntu Figure Appendix 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 2048 MB
39. al programs CD ROM gt Starterware doc DevkKit8600 Starterware User Manualt pdf For marketing Table 1 3 Hardware system CPU feature board carrier interface data User Manual gt 2 Hardware System About Linux Know basic Linux software User Manual gt 3 2 Software 14 a Embest Technology Co LTD 7 http www armkits com Windows components and features and Resources Embedded purpose of compilation tool 3 3 Software Features Compact 7 K ic Wi H EE User Manual gt 4 2 Software software Embedded Compact 7 software Pesanan components and features and a 4 3 Software Features purpose of compilation tool Dimensional Refer to the actual length and drawing of height of DevKit8600 to bring User Manual gt Appendix gt Appendix DevKit8600 convenience for opening die User Manual 3 8 2 1 Android Establish a DEMO oan DEMO ee eee err System Demonstration demonstration 4 3 8 2 2 TISDK System Android TISDK Demonstration Table 1 4 For learning personnel It is suggested to browse each section in each chapter of this Manual in order 1 4 1 Establishment of hardware environment Figure 1 2 Please establish the hardware environment according to the following steps 1 Connect TFT LCD Connect your 4 3 inch 7 inch TFT LCD to the TFT LCD interface 2 Connect serial port for communication 15 L Embest Technology Co LTD l h
40. ard chip as the CPU NAND Flash DDR voltage of 1 1V 1 2V 1 5V 1 8V or 3 3V to make it work properly About the more information please refer to the DISK Devkit8600 HW design datasheet Powentps65910 pdf 2 2 2 NAND Flash H27U4G8F2DTR BC NAND Flash is using H27U4G8F2DTR BC size for 512MB 1 pcs has included in Devkit8600 About the more information please refer to the DISK Devkit8600 HW design datasheet NAND Flash H27 U_S 4G8_6F2D_rev1 5 pdf 2 2 3 DDR HSTQ2G83CFR H9C DDR3 SDRAM is using H5TQ2G83CFR H9C size for 256MB 2 pcs has included in Devkit8600 About the more information please refer to the DISK Devkit8600 HW design datasheet DDR H5TQ2G4 8 3CFR Rev0 1 2 pdf 2 2 4 Ethernet AR8035 The AR8035 is a low power low BOM Bill of Materials cost Ethernet chip for Devkit8600 It integrated 10 100 1000 Gigabit Transceiver It is Single port 10 100 1000 Mbps Tri speed Ethernet PHY and supports RGMII interface to the MAC The AR8035 supports IEEE 802 3az Energy Efficient Ethernet EEE standard and Atheros proprietary SmartEEE which allows legacy MAC SoC devices without 802 3az support to function as the complete 802 3az system DevKit8600 can be connected to network hub through a direct cable also can be directly 21 mn res Teng OT connected with a computer through a crossover cable About the more information please refer to the DISK Devkit8600 HW design datasheet LAN AR8035 pdf 2 2 5 MAX3232 The functi
41. ata amp ddata datalil unsigned int type button gt type EV KEY bdata gt input input bdata button button error gpio_keys_setup_key pdev bdata button if error goto fail2 if button wakeup wakeup 1 input_set_capability input type button gt code error sysfs_create_group amp pdev gt dev kobj amp gpio keys attr group if error dev_err dev Unable to export keys switches error d n error goto fail2 error input_register_device input if error 58 garam Embest Technology Co LTD http www armkits com dev err dev Unable to register input device error d n error goto fail3 c Apply GPIO and setup the GPIO as the input registration GPIO interrupt static int__ devinit gpio keys setup keyl struct platform device pdev struct gpio button data bdata struct gpio keys button button const char desc button gt desc button gt desc gpio keys struct device dev amp pdev gt dev unsigned long irqflags int irq error setup_timer amp bdata gt timer gpio keys timer unsigned long bdata INIT WORK amp bdata work gpio keys work func error gpio_request button gt gpio desc if error lt 0 dev_err dev failed to request GPIO d error d n button gt gpio error goto fail2 error gpio_direction_input button gt gpio if error lt 0 dev_err dev failed to configure dir
42. ation 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 mkdir HOME tools cd media cdrom linux tools tar xvf arm 2009q1 203 arm none linux gnueabi i686 pc linux gnu tar bz2 C HOME tools tar xvf arm eabi 4 4 0 tar bz2 C HOME tools Some of the other development tools used for source code compilation are present in the 44 Lg Embest Technology Co LTD a http www armkits com directory linux tools of the disc the user can execute the following commands to copy them to local folder cp media cdrom linux tools mkimage HOME tools cp media cdrom linux tools mkfs ubifs HOME tools cp media cdrom linux tools ubinize HOME tools cp media cdrom linux tools ubinize cfg HOME tools 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 tools arm 2009q1 bin HOME tools arm eabi 4 4 0 bin HOME tools PATH The user can write it in the bashrc file under the user directory such that the addition
43. be realized 140 Leg Embest Technology Co LTD d 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 tftpd 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 copy the follow word to this file tftod 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 tftp copy the follow word to tftp file service tftp disable no socket type dgram protocol udp wait yes 141 dese Tein CED user root server usr sbin in tftpd server_args s tftpboot c per_source 11 cps 1002 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
44. best 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 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 146 am Embest Technology Co LTD Rb http www armkits com 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 Other OEM ODM services Technically training Please contact Embest to get technical support Support Tel 86 755 25503401 Fax 86 755 2561 6057 Pre Sale consultation market embedinfo com After Sale consultation support embedinfo com 147
45. bi img file will be generated under the current directory 48 Leg Embest Technology Co LTD a http www armkits com 3 4 2 5 Building Android Filesystem 1 Please enter the following commands to compile the source file of Android system cd rowboat android gingerbread am335xevm make TARGET PRODUCT am335xevm clean make TARGET PRODUCT am335xevm OMAPES 4 x 2 Enter the following command to modify the file Rules make under hardware ti sgx Vi hardware ti sgx Rules make Modify KERNEL INSTALL DIR HOME work linux 3 1 O android as KERNEL INSTALL DIR home user name work linux 3 1 O android The home user name is the value of HOME You can enter whoami in the terminal window of Linux to view the value 3 Enter the following command to create an ubi file system source build ubi sh The ubi img can be found under temp Before you start the compilation of Android file system you need to first compile linux 3 1 0 android the kernel source code of Android or errors might occur 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 3 4 3 1 Modification of kernel configuration A default configuration file is provided in the factory kernel source codes linux 3 1 0 psp04 06 0
46. ble has been altered Calling och to re read partition table WARNING Re reading the partition table failed with error 16 Device or resource busy 138 atm Embest Technology Co LTD gq http www armkits com 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 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 blocks 402653184 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 139 me eres Teng CT Writing inode tables done Creating journal 8192 blocks done Writing superblocks and filesystem accounting information 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
47. d as GPIO under AM33X_BSP SRC inc bsp_padcfg h when refer as a GPIO pin 115 Less Embest Technology Co LI Appendix Appendix Hardware Dimensions http www armkits com 130 00 Unit mm RIS XI o Sp O 5 O00000000000000 Ke Sa 3 00 000000000000000 PP O O B2999 Q Ol HS a E IG goe o E o p O0 Co Figure Appendix 1 1 Hardwar Dimensions Diagram H S WI zo 0000 00000 00000 30000 Doood R2222 a BEE JOE 8O e LJ P 116 aa Embest Technology Co LTD http www armkits com 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 any 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 Y Oracle VE VirtualBox Manager
48. ding to the following steps Press 8 to enter the Flash menu e Press 9 gt 4 gt A 9 gt 3 gt B and 9 gt 2 gt C to write XLDR EBOOT and NK images respectively Then press 0 to return to main menu and respectively press 2 3 Select boot from NAND flash then type A select the LCD VGA or LVDS output mode 7 and y to save the Boot setting Unplug 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 openGL ES demo 1 Select PowerVR items in catalog items view in VS2008 as below Catalog Items View Elrilter 2 Search H0 BSP H I Core OS H Device Drivers o Third Party H BSP E Power VE A 3D API OpenGLES 1 0 OpenGLES 2 0 Open G 1 0 1 SGX Core Revision 121 SGX Core Revision 125 Texas Instruments Figure 4 2 2 Click Build gt Build Solution in VS2008 menu after sysgen and build BSP finished replace the nk bin locate in TF card with the newly generated nk bin 3 Copy C WINCE700 PUBLIC PowerVR oak target Rev125 ARMV4l retail exe to Devkit8600 windows embedded compact 7 system And double click the demos to test 112 Lg Embest Technology Co LTD 1 http www armkits com 4 7 Application Development This chapter introduces how to develop Windows Embedded Compact 7 application program in Devkit8600 4 7 1 Application program interfaces and examples API used for development of Devkit8
49. e the hard disk data or type a file name in the entry field Location F buntu Ubuntu vdil e 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 Size 9 Figure Appendix 2 7 Ubuntu s default installation is less than 8 GB If you plan on adding software or downloading large files in your virtualized Ubuntu you should tack on some buffer 120 http www armkits com 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 6589934592 B If the above settings are correct press the Finish button Once you press it anew hard disk will be created Figure Appendix 2 8 S Oracle VE VirtualBox Manager G Details G snapshots Summary You are going to create a new virtual hard disk with the following parameters Creating fixed medium storage unit G Ubuntu system Ubuntu Creating fixed medium storage unit G 1Ubuntu systemiUbuntu vdi a Ia Xx 1 minute 56 seconds remaining Jr Audio Host Driver Windows DirectSound Controller ICH ACST Figure Appendix 2 9 Click Finish and wait for the virtual hard drive to be created This is actually just a very large file that lives inside of your Windows installation 121
50. ection for GPIO d error d n button gt gpio error 59 garam Embest Technology Co LTD l http www armkits com goto fail3 if button debounce interval error gpio set debounce button gpio button debounce interval 1000 use timer if gpiolib doesn t provide debounce if error 0 bdata gt timer_debounce button debounce interval irq gpio_to_irq button gt gpio if irq lt 0 error irq dev_err dev Unable to get irq number for GPIO d error d n button gt gpio error goto fail3 irqflags IRQF_TRIGGER_RISING IRQF_TRIGGER_FALLING D If platform has specified that the button can be disabled we don t want it to share the interrupt line E if Ibutton can disable irgflags IRQF_SHARED error reguest threaded irglirg NULL gpio keys er irgflags desc bdata if error lt 0 dev_err dev Unable to claim irg d error d n 60 garam Embest Technology Co LTD E http www armkits com irq error goto fail3 return 0 fail3 gpio_free button gt gpio fail2 return error d Interrupt handling Button is pressed an interrupt is generated reporting key static irqreturn_t gpio_keys_isr int irq void dev_id schedule_work amp bdata gt work static void gpio_keys_work_func struct work struct work gpio_keys_report_event bdata static void gpio_keys_report_event struct gpio_button_data
51. el 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 Kernel Driver reference path linux 3 1 0 psp04 06 00 03 sdk drivers mtd nand linux 3 1 0 psp04 06 00 03 sdk drivers mtd nand omap2 c 3 5 2 SD MMC App System call User Kernel Generic disk handler File system BUFFER CACHE MMC UEUE MMC BLOCK MMC SD CONTROLLER DRIVER HARDWARE MMC SD SDIO CONTROLLER Figure 3 7 Modular structure for SD MMC Kernel MMC SD CORE Hardware SD MMC card drivers 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 52 dese Tein CED operation 2 mmc block realizes driver structure when SD MMC card is used as a block device 3 mmc gueue realizes management of request queue 4 SD MMC driver realizes specific controller driver Kernel Driver reference path linux 3 1 0 psp04 06 00 03 sdk drivers mmc linux 3 1 0 psp04 06 00 03 sdk drivers mmc host omap hsmmc c 3 5 3 LCDC LCD controller LCDC on AM335x is an updated version of LCDC that is found on OMAP L138 SoC It has following updates in comparison with OMAP L138 Interrupt configuration and status re
52. ematic to find the corresponding pin use the cable to connect DevKit8600 CAN interface and another CAN device 84 L Embest Technology Co LTD http www armkits com Terminating resistor on both ends of RS485 devices 485A 485B GND RS485 communication only support half duplex communication ie communication at one end at the same time can only send or only receive information Copy 485_test linux example rs485_test to TF card Insert the TF card to Devkit8600 TF slot and execute the following command One end to send information Je Embest Technology Co LTD http www armkits com Another end to receive To stop receiving information 3 8 1 13 Serial port testing Because UART1 Compatible with RS485 and UART3 Compatible with wifi Bluetooth are occupied this chapter will show you how to test UART2 Short circuiting UART2_RX_3V3 pin and UART2_TX_3V3 pin copy the file uart_test linux example uart_test to the TF card insert the TF card to the Devkit8600 TF slot and input the commands as below Print the following information said the test is successful 86 3 8 1 14 WIFI Testing 1 Test the connection of non encrypted wireless router a Enable wifi b Scan wifi router c Connect to wifi router d Testing 2 Test the connection of the WEP encrypted wireless router a Enable wifi b Scan wifi router am Embest Technology Co LTD
53. enable CAN device root Devkit8600 canconfig can0 bitrate 125000 ctrimode triple sampling on root DevKit8600 canconfig can0 start 2 In DevKit8600 and another CAN device are respectively executed send data and receive data command enter the following command to send data packets root DevKit8600 cansend can0 i 0x10 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88 1 This command is a time to send data once if resend data need to re enter the command 2 To ensure that the other side of the receiving state So the receiver side will print the information sent 3 Receive data packets root DevKit8600 candump can0 Execute the command the terminal will print the received data 4 Close the device 83 Eresi Tein CED root DevKit8600 canconfig can0 stop According to the above command user can send and receive data each other even more itis allowed to set different baud rate for communication You must close the CAN device before modify the baud rate The baud rate can be set as below 25KBPS 250000 50KBPS 50000 125KBPS 125000 500KBPS 500000 650KBPS 650000 1MKBPS 1000000 Use the above baud rate the CAN device can communicate normal For the other baud rate User can try to set it The baud rates of two CAN devices need to be consistent 3 8 1 12 RS485 Testing DevKit8600 can be used as a RS485 device Accordance with the following figure shows the connection principle and with reference to the sch
54. er design linux 3 1 0 psp04 06 00 03 sdk drivers leds leds gpio c a Structure for platform_driver_register to register gpio_leds static struct platform_driver gpio_led_driver probe gpio led probe remove devexit p gpio led remove driver name leds gpio owner THIS_MODULE of match table of gpio leds match MODULE_ALIAS platform leds gpio 63 garam Embest Technology Co LTD l http www armkits com static int __init gpio led init void return platform_driver_register amp gpio_led_driver static void exit gpio led exit void platform_driver_unregister amp gpio_led_driver module_init gpio_led_init module_exit gpio_led_ exit MODULE AUTHOR Raphael Assenat lt raph 8d com gt Trent Piepho lt tpiepho freescale com gt MODULE_DESCRIPTION GPIO LED driver MODULE_LICENSE GPL b Apply GPIO and called led_classdev_regisiter to register led_classdev static int __devinit gpio_led_probe struct platform device pdev if pdata amp amp pdata gt num_leds priv kzalloc sizeof_gpio_leds_priv pdata gt num_leds GFP_KERNEL if ppriv return ENOMEM priv gt num_leds pdata gt num_leds for i 0 i lt priv gt num_leds i 64 garam Embest Technology Co LTD 1 http www armkits com ret create gpio led amp pdata ledslil amp priv gt leds i amp pdev gt dev pdata gt gpio_blink_set if ret lt 0
55. evkit8600 media Is card hdd mmcblk0p1 ram union cf mmci1 net realroot Enter the following command you can see the contents inside the TF card 76 garam Embest Technology Co LTD http www armkits com root DevKit8600 media Is mmeblk0p1 flash uboot bin u boot bin x load bin ift for NAND mlo ulmage ramdisk gz ubi img 3 8 1 7 USB Devices Testing In the USB DEVICE testing a connection 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 Devkit8600 ifconfig usb0 192 168 1 115 root Devkit8600 ifconfig lo Link encap Local Loopback inet addr 127 0 0 1 Mask 255 0 0 0 UP LOOPBACK RUNNING MTU 16436 Metric 1 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
56. ew virtual hard disk for your virtual machine Use the Best 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 Appendix 2 5 Click Next again 119 a Embest Technology Co LTD f http www armkits com P Create Hew Virtual Disk Hard Disk Storage Type Select the type of virtual hard disk you want to create A 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 A 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 Dynamically expanding storage of Figure Appendix 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 Fixed size storage P Create Hew Virtual Disk Virtual Disk Location and Size Press the Select button to select the location of a file to stor
57. gisters are different Increased resolution of 2048 2048 24 bits per pixel active TFT raster configuration So da8xx fb LCD driver can be used by having enhancements under LCD_VERSION2 code This update in LCDC version can be detected by reading PID register Kernel Driver reference path linux 3 1 0 psp04 06 00 03 sdk drivers video linux 3 1 0 psp04 06 00 03 sdk drivers video da8xx fb c 53 garam Embest Technology Co LTD ij http www armkits com 3 5 4 Audio in out Native ALSA application User ALSA LIBRARY ALSA KERNEL API PCM CONTROL Kernel ALSA SOC CORE CODEC MACHINE PLATFORM DRIVER DRIVER DRIVER HARDWARE Hardware Figure 3 8 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 3 1 0 psp04 06 00 03 sdk sound soc linux 3 1 0 psp04 06 00 03 sdk sound soc davinci davinci evm c linux 3 1 0 psp04 06 00 03 sdk sound soc codecs sgtl5000 c 54 garam Embest Technol
58. he 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 145 Leg Embest Technology Co LTD http www armkits com G Purchase the products through unauthorized channel H 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 support department 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 Do not use finger nails or hard sharp object to touch the surface of the LCD otherwise user can t enjoy the above service Em
59. he 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 16854 215653 sd 7 0 0 0 sdc Assuming drive cache write through 6854 215659 sdc sdc1 6854 218079 sd 7 0 0 0 sdc 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 134 Leg Embest Technology Co LTD l http www armkits com df h Filesystem Size Used Avail Use Mounted on dev sdc1 400M 94M 307M 24 media disk 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 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 phy
60. ion DevKit8600 ttyOO Angstrom 2008 1 test 20090127 DevKit8600 ttyOO DevKit8600 login Just input root HyperTerminal displays above information to indicate that it is successful to boot Linux system from TF card 70 Leg Embest Technology Co LTD l 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 6 b Copy MLO u boot img 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 LVDS 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 U Boot SPL 2011 09 svn Mar 02 2012 17 15 32 Texas Instruments Revision detection unimplemented Booting from MMC OMAP SD MMC 0 reading u boot img reading u boot img U Boot 2011 09 svn Mar 02 2012 17 15 32 I2C ready DRAM 512 MiB WARNING Caches not enabled Did not find a recognized configuration assuming General purpose EVM in Profile 0 with Daughter board NAND HW ECC Hamming Code selected 71 am Embest Technology Co LTD htt
61. its com 13 YELC Linked LED 14 YELA 2 5V 2 3 9 Serial Port Table 2 9 Serial port J3 Pin Signal Function 1 NC NC 2 RXD Receive data 3 TXD Transmit data 4 NC NC 5 GND GND 6 NC NC 7 RTS Request To Send 8 CTS Clear To Send 9 NC NC 32 Table 2 10 CAN amp RS485 interface http www armkits com U22 Pin Signal Function 1 12V 12V 2 GND GND 3 GND2 Isolated GND 4 485B 485B 5 485A 485A 6 GND1 Isolated GND 7 CANL CANL 8 CANH CANH 33 zaman Embest Technology Co LTD http www armkits com 2 3 11 JTAG Interface Table 2 11 JTAG interface J7 Pin Signal Function 1 TMS Test mode select 2 NTRST Test system reset 3 TDI Test data input 4 GND GND 5 VIO 3 3V 6 NC NC 7 TDO Test data output 8 GND GND 9 RTCK Receive test clock 10 GND GND 11 TCK Test clock 12 GND GND 13 EMUO Test emulation 0 14 EMU Test emulation 1 34 gamma Embest Technology Co LTD 2 3 12 ADC Table 2 12 ADC http www armkits com J10 Pin Signal Function 1 GND GND 2 GND GND 3 ADC CH ADC1 4 ADC_CH3 ADC3 5 VDDA ADC Power 6 VDDA ADC Power 7 ADC CH2 ADC2 8 ADC CH4 ADC4 9 GND GND 10 GND GND 35 Lee Embest Technology Co LTD 2 3 13 SPI interface htt
62. lete OK reading MLO 38167 bytes read HW ECC BCH8 Selected NAND write device 0 offset 0x0 size 0x9517 38167 bytes written OK reading flash uboot img 230148 bytes read HW ECC BCH8 Selected NAND write device 0 offset 0x80000 size 0x38304 230148 bytes written OK reading ulmage 2709040 bytes read HW ECC BCH8 Selected NAND write device 0 offset 0x280000 size 0x295630 2709040 bytes written OK reading ubi img 72744960 bytes read SW ECC selected 92 am Embest Technology Co LTD i http www armkits com NAND write device 0 offset 0x780000 size 0x4560000 Skip bad block 0x03620000 3 LED lamp 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 3 8 2 2 Demonstration of TISDK System 1 Format a TF card into two partitions please refer to Appendix IV for detailed instructions 2 Put CD COM in the drive on PC and Insert the TF card into PC and then enter the following commands in the terminal window of Ubuntu according to the your LCD sreen size For 4 3 inch LCD cp media cdrom linux demo tisdk image MLO media LABEL1 cp media cdrom linux demo tisdk image u boot img media LABEL1 cp media cdrom linux demo tisdk image ulmage_4 3 media LABEL1 ulmage rm rf media LABEL2 sudo tar jxvf linux demo dvsdk image tisdk rootfs am335x evm tar gz C media LABEL2 sync umou
63. load Filename nk bin Init HW controller RST SDCARD requested speed 1000000 actual speed 1000000 SDCARD requested speed 25000000 actual speed 19200000 BL_IMAGE_TYPE_BIN OEMMultiBinNotify Ox8feb24d8 gt 1 Download file information 110 am Embest Technology Co LTD http www armkits com Download file type 1 OEMIsFlashAddr 0x80002000 g eboot type 1 EE rom offset 0x0 ImageStart 0x80002000 ImageLength 0x3c9e9bc LaunchAddr 0x8000b6a0 Completed file s OEMIsFlashAddr 0x80002000 g_eboot type 1 0 Address 0x80002000 Length 0x3c9e9bc Name Target RAM ROMHDR at Address 80002044h Launch Windows CE image by jumping to 0x8000b6a0 Windows CE Kernel for ARM Thumb Enabled CPU CP15 Control Register 0xc5387f CPU CP15 Auxiliary Control Register 0x42 12C EEPROM returned wrong magic value Oxffffffff OALTimerlnit 1 24000 200 High Performance Frequecy is 24 MHz 4 5 2 Update NAND Flash image 1 Format TF card Please refer to contents of 4 5 1 Update of TF card gt 1 Format TF card 2 Copy runtime image Copy MLO EBOOTND nb0 Nk bin XLDRNAND nb0 and EBOOTSD nb0 image files Locate in CD WINCE700 image to the TF card 3 flashing image file Insert TF card and reboot the system At this time the system boots from TF card The HyperTerminal will display boot message you can press SPACE to enter the EBOOT 111 dese Tein D I menu Flashing image to NAND flash accor
64. m timer Source Interrupt controller Source MMU Source NLED driver Source GPIO I2C SPI MCASP driver Source Serial port driver Source Driver Audio driver Source NAND driver Source Display driver Source TOUCH driver Source 100 garam Embest Technology Co LTD f http www armkits com SD MMC SDIO driver Source EMAC driver Source USB OTG driver Source GPIO keyboard driver Source DMA driver Source Backlight driver Source Battery driver Source RPU driver Source SDK powerVR DDK amp SDK Binary amp Source Table 4 1 4 4 System Development 4 4 1 Installation of IDE Integrated Development Environment Please install items below to windows XP by step Visual Studio 2008 2 Visual Studio 2008 SP1 3 Windows Embedded Compact 7 4 Windows Embedded Compact 7 Updates 5 ActiveSync 4 5 CD does not provide Windows Embedded Compact 7 development environment tools please down from http Awww microsoft com download en default aspx 101 Leg Embest Technology Co LTD a http www armkits com 4 4 2 Extract BSP and project files to IDE The following preparations should be made 1 Extract CD WINCE700 BSP AM33x_BSP rar to C WINCE700 PLATFORM directory Extract CD WINCE700 BSP COMMON_TI_V1 rar to C WINCE700 PLATFORM COMMON SRC SOC Extract CD WINCE700 BSP 3rdParty rar to C WINCE700 Extract CD WINCE700 BSP powerVR rar to C W
65. mmended 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 D File system FAT32 z Volume label LABEL1 Format options Figure 4 1 c Select FAT32 d Click Start e When formatting is completed click OK 105 garam Embest Technology Co LTD http www armkits com HP USB Disk Storage Format Tool will clear partitions of the TF card Please use the formatting software provided in the computer system 2 Copy runtime image Copy MLO EBOOTSD nbd and NK bin image files Locate in CD WINCE700 image to the TF card 3 Boot system Insert TF card and reboot the system And then the system boots from TF card Press the space button enter EBOOT menu to select boot device and LCD module display output follow these steps a Enter EBOOT menu CCCCCCCC Texas Instruments Windows CE SD X Loader33X Built Jul 27 2012 at 11 25 59 Version BSP WINCE ARM A8 02 30 00 03 open ebootsd nb0 file Init HW controller RST SDCARD reguested speed 1000000 actual speed 1000000 SDCARD reguested speed 25000000 actual speed 19200000 read ebootsd nb0 file jumping to ebootsd image Microsoft Windows CE Bootloader Common Library Version 1 4 Built J
66. n Signal Function 1 VB 5V 2 D USB Data 3 D USB Data 4 GND GND 28 garam Embest Technology Co LTD 2 3 6 USB OTG Interface Table 2 6 USB OTG interface http www armkits com CON6 Pin Signal Function 1 VB 5V 2 D USB Data 3 D USB Data 4 ID USB ID 5 G1 GND 29 gamma Embest Technology Co LTD 2 3 7 TF Card slot Table 2 7 TF card slot http www armkits com CON5 Pin Signal Function 1 DAT2 Card data 2 2 CD DAT3 Card data 3 3 CMD Command Signal 4 VDD VDD 5 CLOCK Clock 6 VSS VSS 7 DATO Card data 0 8 DAT1 Card data 1 9 CD Card detect 30 L Embest Technology Co LTD http www armkits com 2 3 8 LAN Interface Table 2 8 LAN interface J1 Pin Signal Function 1 TD1 Transmit Data1 2 TD1 Transmit Data1 Media dependent interface 1 100 3 TDT2 ieee transmission line 4 TDT2 EECHER interface 1 100 transmission line 5 TCT Transmit common terminal 6 RCT Isolating transformer 7 RD14 Media lee interface 2 100 transmission line Media dependent interface 2 100 8 RD1 transmission line Media dependent interface 3 100 9 RD2 transmission line Media dependent interface 3 100 m SS transmission line 11 GRLA 2 5V 12 GRLC LINK active LED 31 gara Embest Technology Co LTD http www armk
67. n 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 Right Ctrl gt H Right Ctrl Figure Appendix 2 14 124 ES Ubuntu Running Oracle VE VirtualBox P8 VirtualBox Information e The virtual machine window is optimized to work in 32 bit J 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 Hote Some operating systems like OS 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 SOP CH S Richt Ctrl Figure Appendix 2 15 Click OK ES Ubuntu Running Oracle VE VirtualBox Ubuntu 11 04 OA PA A Briar cri Figure Appendix 2 16
68. nd Continue Selection 2 1 Internal EMAC 2 NK from SDCard FILE 3 NK from NAND 0 Exit and Continue Selection actual Internal EMAC 2 Boot device set to NK from SDCard FILE c Type a to select the LCD LVDS module display output 1 Show Current Settings 108 Leg Embest Technology Co LTD l http www armkits com 2 Select Boot Device 3 Select KITL Debug Device 4 Network Settings 5 SDCard Settings 6 Set Device ID 7 Save Settings 8 Flash Management 9 Enable Disable OAL Retail Messages a Select Display Resolution b Select OPP Mode 0 Exit and Continue Selection a 1 LCD 480x272 60Hz For 4 3 inch LCD 2 DVI 640x480 60Hz N A 3 DVI 640x480 72Hz N A 4 LCD 800x480 60Hz For 7 inch LCD 5 DVI 800x600 60Hz N A For LVDS 6 DVI 800x600 56Hz N A 7 VGA 1024x768 60Hz For VGA 8 DVI 1280x720 60Hz N A 0 Exit and Continue Selection actual LCD 480x272 60Hz 4 d Type 0 to boot the system 109 garam Embest Technology Co LTD l http www armkits com 1 Show Current Settings 2 Select Boot Device 3 Select KITL Debug Device 4 Network Settings 5 SDCard Settings 6 Set Device ID 7 Save Settings 8 Flash Management 9 Enable Disable OAL Retail Messages a Select Display Resolution b Select OPP Mode 0 Exit and Continue Selection 0 mode 3 LcdPdd LCD GetMode 3 mode 3 LedPdd_LCD_Initialize 3 OEMPreDown
69. nt media LABEL1 umount media LABEL2 For 7 inch LCD cp media cdrom linux demo tisdk image MLO media LABEL1 cp media cdrom linux demo tisdk image u boot img media LABEL1 cp media cdrom linux demo tisdk image ulmage_7 media LABEL1 ulmage rm rf media LABEL2 sudo tar xvf media cdrom linux demo tisdk image tisdk rootfs am335x evm tar gz C 93 gram Embest Technology Co LTD http www armkits com media LABEL2 sync umount media LABEL1 umount media LABEL2 For LVDS 10 4 inch cp media cdrom linux demo tisdk image MLO media LABEL1 cp media cdrom linux demo tisdk image u boot img media LABEL1 cp media cdrom linux demo tisdk image ulmage_LVDS media LABEL1 ulmage rm rf media LABEL2 sudo tar xvf media cdrom linux demo tisdk image tisdk rootfs am335x evm tar gz C media LABEL2 sync umount media LABEL1 umount media LABEL2 After the above commands are executed please power on the board and then hit any key on your keyboard when you see the prompt information Hit any key to stop autoboot to enter u boot mode as shown below CCCCCCCC U Boot SPL 2011 09 svn May 03 2012 10 49 04 Texas Instruments Revision detection unimplemented Booting from MMC OMAP SD MMC 0 reading u boot img reading u boot img U Boot 2011 09 svn May 03 2012 10 49 04 I2C ready 94 am Embest Technology Co LTD gq http www armkits com DRAM 512 MiB WARNING Caches not enabled Did n
70. o 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 ANDIS Gadget Click Finish to close the wizard Figure Appedix 3 4 f http www armkits com 133 Leg Embest Technology Co LTD 1 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 have root file system at second partition Introduction This guide is meant for those looking to create a dual partition card booting from a FAT partition that can be read by the OMAP3 ROM bootloader and Linux Windows then utilizing an ext3 partition for the Linux root file system Z Details Text marked with shows user input 1 Determine which device the TF Card Reader is on your system Plug the TF Card into the TF Card Reader and then plug the TF Card Reader into your system After doing that do t
71. ocation then click Next 131 raman Embest Technology Co LTD g http www armkits com Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for RNDIS Ethernet Gadget C If your hardware came with an installation CD 3 or floppy disk insert it now What do you want the wizard to do Install th GH 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 Next Found New Hardware Wizard Please choose your search and installation options S 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 XI Search removable media floppy CD ROM Include this location in the search C Documents and Settings work Desktop usb driv vw 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 132 am Embest Technology Co LTD Hardware Installation The software you are installing for this hardware Linux USB Ethernet ANDIS Gadget has not passed Windows Log
72. ogy Co LTD l http www armkits com 3 6 Driver Development 3 6 1 Driver For The gpio_keys 1 Device Definition linux 3 1 0 psp04 06 00 03 sdk arch arm mach omap2 board am335xevm c Setup GPIO 1 30 as menu key return value as KEY_F1 triggered on low level GPIO 1 31 as back key return value as KEY ESC triggered on low level The structure template is shown below GPIO 0 22 as home key return value as KEY HOME triggered on low level static struct gpio keys button gpio_key_buttons code KEY 1 gpio GPIO TO PINO 30 active low true desc menu type EE 1 wakeup Si code KEY ESC gpio GPIO TO PINO 31 active low true desc back type SEN SENG 1 wakeup 1 code KEY_HOME gpio GPIO TO PINO 22 55 garam Embest Technology Co LTD l http www armkits com active_low true desc home type EYE 1 wakeup il static struct gpio keys platform data gpio key info buttons gpio key buttons nbuttons ARRAY SIZE gpio key buttons static struct platform device gpio keys name gpio keys id 1 dev K platform_data amp gpio key info 5 2 GPIO pinmux Configuration Setup the GPIO 1 30 GPIO1 31 and GPIO0 22 as M7 GPIO mode IEM Input enable linux 3 1 0 psp04 06 00 03 sdk arch arm mach omap2 board am335xevm c static struct pinmux config gpio keys pin musl gomc_csn1 gpio1_30 OMAP M
73. on is intended to provide detailed instruction on Operating System Software development of DevKit8600 board 1 Describes the Software Resources provided by DevKit8600 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 DevKit8600 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 DevKit8600 A basic software system consists of four parts spl u boot kernel and rootfs The Figure 3 1 shows the structure of the system spl u boot kernel rootfs user area Figure 3 1 Features and functions of each part of the system are given below 42 garam Embest Technology Co LTD E http www armkits com 1 spl is a first level bootstrap program After the system start up the ROM inside the CPU will copy the spl 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
74. on of MAX3232 is mainly to translate TTL logic level signal into RS232 logic level which helps in communicating the board with PC DevKit8600 uses UARTO as debugging serial port as the default voltage of UARTO is 1 8V it is necessary to convert this voltage to 3 3V in order to connect to eternal world About the more information please refer to the DISK Devkit8600 HW design datasheet Serial MAX3232 pdf 22 gama Embest Technology Co LTD l http www armkits com 2 3 Hardware interface 2 3 1 Power Input Interface Table 2 1 Power input interface CON1 Pin Signal Function 1 GND GND 2 12V Power supply 12V 3 NC NC 23 L Embest Technology Co LTD http www armkits com 2 3 2 TFT LCD Interface Table 2 2 TFT LCD interface J2 Pin Signal Function 1 BO GND 2 B1 GND 3 B2 GND 4 B3 LCD Pixel data bit 0 5 B4 LCD Pixel data bit 1 6 B5 LCD Pixel data bit 2 7 B6 LCD Pixel data bit 3 8 B7 LCD Pixel data bit 4 9 GND GND 10 GO GND 11 G1 GND 12 G2 LCD Pixel data bit 5 13 G3 LCD Pixel data bit 6 14 G4 LCD Pixel data bit 7 15 G5 LCD Pixel data bit 8 24 garam Embest Technology Co LTD http www armkits com 16 G6 LCD Pixel data bit 9 17 G7 LCD Pixel data bit 10 18 GND1 GND 19 RO GND 20 R1 GND
75. ot find a recognized configuration assuming General purpose EVM in Profile 0 with Daughter board NAND HW ECC Hamming Code selected 512 MiB MMC OMAP SD MMC 0 Warning bad CRC using default environment Net cpsw Hit any key to stop autoboot 0 input any key here Enter the following commands The system will continue the booting process Devkit8600 setenv bootargs console ttyO0 115200n8 earlyprintk root dev mmcblk0p2 rw rootfstype ext3 rootwait Devkit8600 setenv bootcmd mmc rescan fatload mmc 0 80300000 ulmage bootm 80300000 Devkit8600 saveenv Saving Environment to NAND Erasing Nand Erasing at 0x260000 100 complete Writing to Nand done Devkit8600 boot reading ulmage 2949384 bytes read Booting kernel from Legacy Image at 80300000 Image Name Linux 3 1 0 Image Type ARM Linux Kernel Image uncompressed Data Size 2949320 Bytes 2 8 MiB Load Address 80008000 95 garam Embest Technology Co LTD http www armkits com Entry Point 80008000 Verifying Checksum OK Loading Kernel Image OK OK Starting kernel Arago Project http arago project org am335x evm ityOO Arago 2011 09 am335x evm ttyO0 am335x evm login root TISDK file system has some preinstalled application programs which are based on QT UI it can be executed by the user easily 3 9 The Development of Application This section mainly introduces to development of application p
76. p www armkits com Table 2 13 SPI J8 Pin Signal Function 1 SPI CLK SPI clock 2 SPI_CLK SPI clock 3 SPI_DO SPI DATAO 4 SPI DO SPI DATAO 5 SPI D1 SPI data1 6 SPI D1 SPI data1 7 SPI CSO SPI chip select 0 8 SPI CS1 SPI chip select 1 9 GND GND 10 VIO_3V3 3 3V 36 garam Embest Technology Co LTD i http www armkits com 2 3 14 GPMC interface Table 2 14 J14 Pin Signal Function 1 GND GND 2 VDD3V3_GPMC 3 3V power 3 GPIO0_31 GPIO 4 GPIO0_30 GPIO 5 GPIO1 28 R GPIO 6 GPIO2 5 GPIO 7 GPIO2 2 GPIO 8 GPIO2 3 GPIO 9 GPIO1 29 GPIO 10 GPIO2 4 GPIO 11 GPMC A11 GPMC Address 12 GPMC A10 GPMC Address 13 GPMC A9 GPMC Address 14 GPMC A8 GPMC Address 15 GPMC A7 GPMC Address 16 GPMC A6 GPMC Address 17 GPMC A5 GPMC Address 18 GPMC_A4 GPMC Address 37 garam Embest Technology Co LTD http www armkits com 19 GPMC A3 GPMC Address 20 GPMC A2 GPMC Address 21 GPMC Al GPMC Address 22 GPMC A0 GPMC Address 23 GPMC AD7 GPMC Address amp Data 24 GPMC AD6 GPMC Address amp Data 25 GPMC AD5 GPMC Address amp Data 26 GPMC AD4 GPMC Address amp Data 27 GPMC_AD3 GPMC Address amp Data 28 GPMC_AD2 GPMC Address amp Data 29 GPMC_AD1 GPMC Address amp Data 30 GPMC_ADO GPMC Address amp Data 2 3 15 Expansion Interface Table 2 15 Expansion interface
77. p 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 OOS period_event 0 start threshold 1 stop threshold 22052 silence_threshold 0 silence_size 0 boundary 1445199872 appl ptr 0 hw_ptr 0 2 Playback Testing Plug in the headphones you can hear what you have just recorded root Devkit8600 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 format S16 LE subformat STD 80 ame Embest Technology Co LTD channels 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 15513 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 10 Network Testing 1 commands for a test root Devkit8600 ifconfig f http www armkits com Users can connect the board to the router or switch and enter the following root Devkit8600 ifconfig eth0 192 192 192 200 eth0 Link encap Ethernet HWaddr D4 94 A1 8D EB 25 inet addr 192 192 192 200
78. p www armkits com nand get flash type unknown NAND device Manufacturer ID Oxad Chip ID 0xd7 No NAND device found 0 MiB MMC OMAP SD MMC 0 Warning readenv failed using default environment Net cpsw 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 Devkit8600 run updatesys NAND erase chip device 0 whole chip Erasing at 0x7 fe0000 100 complete OK reading MLO 38151 bytes read HW ECC BCH8 Selected NAND write device 0 offset 0x0 size 0x9507 38151 bytes written OK reading u boot img 232456 bytes read HW ECC BCH8 Selected NAND write device 0 offset 0x80000 size 0x38c08 232456 bytes written OK reading ulmage 72 garam Embest Technology Co LTD l http www armkits com 2984304 bytes read HW ECC BCH8 Selected NAND write device 0 offset 0x280000 size 0x2d8970 2984304 bytes written OK reading ubi img 20447232 bytes read HW ECC BCH8 Selected NAND write device 0 offset 0x780000 size 0x1380000 20447232 bytes written OK c At this time flickering of LED lamp on the board indicates that update has been finished you just need to pull out the TF card and reboot the board 3 8 Instructions 3 8 1 Various Tests Scenario 3 8 1 1 LED Testing In the board D48 is System heartbeat lamp D49 is user led lamp
79. partment 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 dese Tein CED Content CHAPTER 1 OVERVIEW a aan ana 9 1 1 PRODUCT INTRODUCTION sii es 9 aa me a ee ere eee er 9 1 3 DEVKIT8600 OPTIONAL MODULES eet 13 IMO TOL START nnii a a a ne nga bsa Naina 13 1 4 1 Establishment of hardware environment Woo ooh 15 1 4 2 Preparation of Windows XP system environMent ooooWo om 16 CHAPTER 2 HARDWARE SYSTEM oooooocoo Woo oo oo 19 PAES UP Ia Pe Pe E d Tera ananassae 19 2 1 1 CPU Introduction En Oe Cone eemee tra ere temrer aera ner 19 2 1 2 CPU Features uc DM e a 19 2 2 DESCRIPTION OF DIFFERENT IG BLOCK CZ po asc cceccenceeceessesceesceeseesnensseseeeseesee 21 22 El LEE eter aed 21 2 2 2 NAND Flash H27U4 GB F2 NBG san el 21 2 2 3 DDR HSTO2G83GCERA9G L oooo o menanam nannnanan aman 21 2 214 Ethernet AR8Q 35 MWA ie al 21 229 MARS gege 22 2 3 HARDWARE INTERFACE ea ieee tenor 23 2 3 1 Pawer Mput IMEA E eege aa eee de aan aan 23 2 3 2 TFT LCD Interface 24 29 0 A dio Qut tee 26 2 3 4 MIC Mer Indera Ge AMA ii 27 2 3 5 USB HOST Intenet aa Men ee eT 28 239 6 USB OTG Inten AA ah bh Bhs aa 29 297 ME Card SlOtin Nae Pee SA SU NA PNP Eee SA DE NA PET SE PR 30 2 3 8 LAN Interface ooooooWo oma 31 EE E 32 dese Tein C8 ED 29 VO GANSRS48S Intends na nan eee ee 33 2 341 J
80. port MIDI Gadget EXPERIMENTAL Printer Gadget CDC Composite Device Ethernet and ACM Multifunction Composite Gadget EXPERIMENTAL HID Gadget USB Webcam Gadget tama A AAA AAA A VV VEO 6 Ge Figure 3 5 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 50 Lg Embest Technology Co LTD a http www armkits com 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 drivers usb gadget 3 5 Introduction of driver 3 5 1 NAND App System call User MTD user module JFFS2 JFFS Block device Memory technology device Generic NAND driver Kernel MTD chip driver NAND flash CFI flash RAM ROM chip driver driver Chips etc NAND flash Hardware Figure 3 6 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 51 garam Embest Technology Co LTD E http www armkits com between user and NAND flash is mainly realized by a specific file system In order to shield difference in different flash memories kern
81. r current directory Please do not uncompress the source file to other directory or errors might occur during compilation 3 4 2 2 Bootstrap program generation DevkKit8600 supports TF Card boot or NAND boot System preferences for MMC SD start if MMC SD failed to start turning to NAND Flash start We will introduce the generation of bootstrap program cd u boot 2011 09 psp04 06 00 03 make distclean make devkit8600 config make When the above steps are finished the current directory will generate the files MLO and u boot img which we need 3 4 2 3 Kernel compilation Before kernel compilation the user has to select correct display mode from the custom 46 dese Tein CED menu of kernel according to your display device As for Linux system please enter following commands in the terminal window of Ubuntu cd linux 3 1 0 psp04 06 00 03 sdk make distclean make devkit8600 defconfig make menuconfig As for Android system please enter following commands in the terminal window of Ubuntu cd linux 3 1 0 android make distclean make devkit8600 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
82. ract BSP and project files to IDE naa 102 4 4 3 Sysgen amp Build BSP aa maa 102 4 4 4 Driver IMrOdUCti N se e gl oaa 103 4 5 UPDATE UE 105 4 5 1 Update TE card Magenta Mina 105 4 5 2 Update NAND Flash Image lee Deet 111 4 6 INSTRUCTIONS FOR USE setts ban seakan nees 112 4 6 1 How to use openGL ES demo ea kala 112 4 7 APPLICATION DEVELOPMENT e mana 113 4 7 1 Application program interfaces and examples oooooooWooWmomomomom 113 4 7 2 GPIO application program interfaces and examples eseeeeeeeeereeeeeen 113 POPP le EE ET E 116 APPENDIX HARDWARE DIMENSIONS oo oom mann 116 APPENDIX II THE INSTALLATION OF UN 117 APPENDIX III DRIVER INSTALLATION OF LINUX USB ETHERNET RNDIS GADGET 131 APPENDIX IV LINUX BOOT DISK FORMAT o ooococoo oo anna 134 APPENDIX V THE SETUP OF TFT PR SERVER an Lema ass 141 APPENDIX V FAQ ae enam nana 143 TECHNICAL SUPPORT amp WARRANTY SERVICE oooooooooo oom 144 TECHNICAL SUPPORT SERVICE oo oooooooo momo mom momo mann 144 mm Embest Technology Co LT D http www armkits com MAINTENANCE SERVICE CLAUSE riosta ai inna anna 145 BASIC NOTICE TO PROTECT AND MAINTENANCE LCD 146 VALUE ADDED SERVICES oooo Woo W Wanna kakak 146 Eresi Tein CED Chapter 1 Overview 1 1 Product Introduction DevKit8600 evaluation board is a compact low cost with high performance evaluation board based on Texas instruments TI AM3359 processor Instruments AM
83. rograms 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 source code control 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 fentl h gt 96 garam Embest Technology Co LTD 3 define LED1 sys class leds sys_led brightness define LED2 sys class leds user_led brightness int main int argc char argvil int f_led1 f_led2 unsigned char i 0 unsigned char dat1 dat2 if f_led1 open LED1 O RDWR lt Ou printf error in open s LED1 return 1 if f led2 open LED2 O RDWR lt Ou printf error in open s LED2 return 1 for i dati i amp 0x1 1 0 dat2 i amp 0x2 gt gt 1 1 0 write f_led1 amp dat1 sizeof dat1 write f_led2 amp dat2 sizeof dat2 usleep 300000 To Cross compile arm none linux gnueabi gcc led_acc c o led_acc Download and run http www armkits com Upload to the development board system through TF card USB flash disk or network 97 mm Embest Technology Co LTD http www armkits com enter the directory with the led_acc file input the following commands and press Enter to run led_acc in the background
84. rtual 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 123 garam Embest Technology Co LTD HR http www armkits com E Ubuntu Settings General System Display Storage Audio Network Serial Ports USB Shared Folders SATA Controller Type Storage Storage Tree Attributes Ke IDE Controller CD DWD Drive IDE Primary Master v A ubuntu 11 O4 desktop i386 iso Information Image Size 685 29 MB ES Ubuntu vdi Dsoftwaretubuntu 11 0d desktol D system Ubuntu ydi 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 Figure Appendix 2 13 Once you ve selected it click OK Then double click your virtual machine to start it up ES Ubuntu Oracle YE VirtualBox P9 VirtualBox Information You have the Auto capture keyboard option turned on This will LD 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 whe
85. s 244 254 63 logical 245 200 19 6 Delete any partitions that are there already Command m for help d 135 Leg Embest Technology Co LTD i http www armkits com Selected partition 1 7 Set the Geometry of the TF Card If the print out above does not show 255 heads 63 sectors track then do the following expert mode steps to redo the TF Card 1 Go into expert mode 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 TF Card cylinders FLOOR the number of Bytes on the TF 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 Expert 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 136 gem Embest Technology Co LTD j http www armkits com 8 Print the partition record to check your work Command m for help p Disk dev sde 2021 MB 2021654528 bytes 255 heads 63 sectors track 245 cylinders Units cylinders of 16065 512 8225280 bytes Device Boot Start End Blocks Id Sys
86. sed on the ARM Cortex A8 microprocessor POWERVR SGX Graphics Accelerator subsystem for 3D graphics acceleration to support display and gaming effects Programmable Real Time Unit Subsystem PRUSS enables the user to create a variety of digital resources beyond native peripherals of the device In addition the PRUSS is separate from the ARM core This allows independent operation and clocking to give the device greater flexibility in complex system solutions Note The subsystem available on this device is the next generation PRUSS PRUSSv2 2 1 2 CPU Features Clock The AM3359 device has two clock inputs OSC1 and OCCO two clock output signals CLKOUT1 and CLKOUT2 The OSC1 oscillator provides a 32 768 kHz reference clock to the real time clock RTC and is connected to the RTC_XTALIN and RTC_XTALOUT terminals The OSCO oscillator provides a 19 2 MHz 24 MHz 25 MHz or 26 MHz reference clock which is used to clock all non RTC functions and is connected to the XTALIN and XTALOUT terminals 19 Leg Embest Technology Co LTD http www armkits com Reset The function of reset is decided by the PWRONRSTn signal on the CPU Reset is enabled when LOW level signal high to low is given General Purpose Interface The general purpose interface combines four 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 128 4 x 32
87. tem 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 61 default 61 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 137 gram Embest Technology Co LTD i http www armkits com Command m for help n Command action e extended p primary partition 1 4 p Partition number 1 4 2 First cylinder 7 61 default 7 press Enter Using default value 52 Last cylinder or size or sizeM or sizeK 7 61 default 61 press Enter Using default 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 dev sdct 1 6 409626 c W95 FAT32 LBA dev sdc2 7 61 1558305 83 Linux 13 Save the new partition records on the TF Card This is an important step All the work up to now has been temporary Command m for help w The partition ta
88. testing hardware devices set serial of hardware environment environment port terminals and boots the system 1 4 2 Preparation of Windows XP system environment Test Test the interface of the board f User Manual gt 3 8 1 Various Tests functionality of carrier through the operating Scenario interface system User Manual gt 3 8 2 1 Demonstration Establish a DEMO DEMO of Android System demonstration EE SEH 3 8 2 2 Demonstration i of TISDK System User Manual gt 3 4 1 Establishin Linux developing and SI ee Establish developing and compilation environment compilation environment operating environment system development Windows Embedded Compact 7 developing and compilation environment User Manual gt 4 4 1 Installation of Compilation Tool 4 4 2 Extract BSP and project files to IDE Recompile system image Software development Recompile Linux system User Manual gt 3 4 2 System image Compilation Recompile Windows p User Manual gt 4 4 3 Sysgen amp Build Embedded Compact 7 system e BSP image Refer to introduction of Linux User Manual gt 3 5 Introduction of driver and related driver driver development process 3 6 Driver Development Refer to introduction of Windows Embedded Compact User Manual gt 4 4 4 Driver 7 driver and related driver development process Introduction Starterware Introduction of how to develop and run bare met
89. tness root DevKit8600 cat sys class backlight pwm backlight brightness 100 At this time the backlight is set to the maximum 3 8 1 5 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 March 22 2012 8 00 pm 75 garam Embest Technology Co LTD l http www armkits com 2 3 root DevKit8600 date 032220002012 Thu Mar 22 20 00 00 UTC 2012 Write the system clock into RTC root DevKit8600 hwclock w Read the RTC root DevKit8600 hwclock Thu Mar 22 20 00 10 2012 0 000000 seconds We can see that the RTC clock has been set as March 22 2012 the system clock will be saved in the hardware clock 4 Restart the system enter the following commands to renew the system clock root DevKit8600 hwclock s root DevKit8600 date Thu Mar 22 20 01 30 2012 0 000000 seconds We can see the system time is set as hardware time 1 RTC will halt up after turn off this is a bug for the CPU and TI had release the corrigendum please refer to the htto www ti com lit er sprz360b sprz360b pdf 2 The DevKit8600 Development board RTC battery can use model CR1220 user needs to prepare it themselves 3 8 1 6 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 Devkit8600 cd media root D
90. ttp www armkits com Use serial cable to connect the DevKit8600 debugger serial port and PC serial port 3 Insert TF card If you want to boot and operate Windows Embedded Compact 7 operating system please insert the TF card into the TF card slot of DevKit8600 otherwise the system will automatically load the Linux operating system from the NAND Flash 4 Connect the 12V power adapter to the evaluation board 1 4 2 Preparation of Windows XP system environment Before DevKit8600 boot up you need to establish a HyperTerminal on PC follow the below process in order to setup Hyper Terminal connection 1 Windows XP gt Start gt All Programs gt Accessories gt Communication gt Hyper Terminal Find the HyperTerminal as shown below 754 Administrator J cakustor E Command Prompt j Internet T Notepad Internet Explorer e Y Paint Ce E mail wi Outlook Express ep x D Prog y y Varera Set Program Access and Defaults amp x opc ion EI Notepad S g 9 Synchronize amp Windows Update ER Windows Explorer A WordPad a SC Network Connections Files and Settings Tri Network Setup Wizard Wizard A Gl New Connection Wizard g HyperTerminal lt 2 Wireless Network Setup Wizard EH HyperTerminal Accessibility Wizard i Q y e gt Remote Assistance Windows Media Player All Programs E Devki8500 Quick Use Figure 1 3 16 rl res een SNlT 2 Establish HyperTerminal connection Enter a name
91. uffer NULL 0 NULL NULL 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 Table 4 4 3 The operation of GPIO Pin DWORD id 48 pinState 0 Output high level DeviceloControl hFile IOCTL GPIO SETBIT amp id sizeof DWORD NULL 0 NULL NULL Output low level DeviceloControl hFile IOCTL GPIO CLRBIT amp id sizeof DWORD NULL 0 NULL NULL Read the pin state 114 dese Tectoy SMUT DeviceloControl hFile IOCTL GPIO GETBIT amp id sizeof DWORD amp pinState sizeof DWORD NULL NULL id is GPIO pin number pinSate returns to pin state 4 Other optional operation Read the corresponding IRQ number of GPIO pin DWORD id 0 irq 0 DeviceloControl hFile IOCTL_GPIO_GETIRQ amp id sizeof DWORD amp irq sizeof DWORD NULL NULL id is GPIO pin number irq returns IRQ number 5 Close GPIO device CloseHandle hFile 1 Definition of GPIO pin 0 127 MPU Bank0 3 GPIO pin AN 2 GPIO pin 0 127 has to be configure
92. ul 27 2012 11 23 05 12C EEPROM returned wrong magic value Oxffffffff INFO OALLogSetZones dpCurSettings ulZoneMask 0x8409 Texas Instruments Windows CE EBOOT for AM33x Built Jul 27 2012 at 11 25 53 106 am Embest Technology Co LTD http www armkits com EBOOT Version 0 0 1 BSP BSP WINCE ARM A8 02 30 00 03 AHCLKX pinmux 0 AHCLKX CTRL 0x8001 pin function 0x0 pin dir 0x8000000 TI AM33X ecc type 3 System ready Preparing for download INFO Predownload Checking bootloader blocks are marked as reserved Num 18 BOOT_CFG_SIGNATURE is different read 1 expect 1111705159 WARN Boot config wasn t found using defaults INFO SW3 boot setting 0x04 IsValidMBR MBR sector 0x480 valid MBR OpenPartition Partition Exists 0x1 for part 0x20 gt gt gt Forcing cold boot non persistent registry and other data will be wiped lt lt lt 0311800 56e4 gt 0 18 31 e0 e4 56 e0311800 57e4 gt 0 18 31 e0 e4 57 Hit space to enter configuration menu 56 5 Press the space key to enter EBOOT menu b Type 2 gt 2 select boot from TF card 107 Leg Embest Technology Co LTD http www armkits com 1 Show Current Settings 2 Select Boot Device 3 Select KITL Debug Device 4 Network Settings 5 SDCard Settings 6 Set Device ID 7 Save Settings 8 Flash Management 9 Enable Disable OAL Retail Messages a Select Display Resolution b Select OPP Mode 0 Exit a
Download Pdf Manuals
Related Search
Related Contents
Panasonic ET-PKD510H project mount User`s Guide Keating Of Chicago 240V User's Manual 702T User Guide and Technical Information Cliquer ici pour le mode d`emploi ASUS B43S User's Manual Samsung PS-42P7H Benutzerhandbuch 平成23年3月期 決算短信〔日本基準〕(非連結) Instalador de segurança eletrônica Copyright © All rights reserved.
Failed to retrieve file