32-bit microprocessor Base on AM3517 LCD, VGA, AV, S-video, serial port, Ethernet network, CAN, RS485, Audio In/Out, SD, CF, User Manual...
Page 2
COPYRIGHT AM3517 is trademark of TI Corporation. Sourcery G++ Lite for ARM GNU/Linux is trademark of Codesourcery. Microsoft, MS-DOS, Windows, Windows95, Windows98, Windows2000, Windows embedded CE 6.0 are trademarks of Microsoft Corporation. Date Description July 10,2010 Initial version Dec 28,2010...
CONTENT 1 SYSTEM OVERVIEW ........................ 6 1.1 I ........................6 NTRODUCTION 1.2 S ........................8 YSTEM ODULE 1.3 A ....................... 9 RCHITECTURE IAGRAM 2 HARDWARE SYSTEM ......................10 2.1 H ......................10 ARDWARE VERVIEW 2.1.1 Single Board Computer ....................10 2.1.2 Hardware Features ......................
Page 4
3.4.4.1 LED application development ..................48 4 WINCE SYSTEM ........................50 4.1 W ....................50 SYSTEM VERVIEW 4.1.1 Pre-compiled image ....................... 50 4.1.2 Board Support Package (BSP) ..................51 4.2 W ....................52 SYSTEM QUICK START 4.2.1 system boot ........................52 4.3 WINCE S ...................
1.1 Introduction SOC8200 is an industrial evaluation kit designed and manufactured by Embest Info&Tech based on processor AM3517 of Texas Instrument (TI). Processor AM3715 Co.,LTD., SOC8200 is is integrated with 600Mhz ARM Cortex-A8 Core which is dedicated using to Process industrial signal.
USB8200-X,NET8200 ,ECOM-4,ECOM-8,E100 Module are trademarks of Embest Info&Tech Co.,LTD AM3517 is trademark of TI Corporation. Sourcery G++ Lite for ARM GNU/Linux is trademark of Codesourcery. Microsoft, MS-DOS, Windows, Windows95, Windows98, Windows2000, Windows embedded CE 6.0 are trademarks of Microsoft Corporation.
1.1 Introduction SOC8200 is an industrial evaluation kit designed and manufactured by Embest Info&Tech based on processor AM3517 of Texas Instrument (TI). Processor AM3715 Co.,LTD., SOC8200 is is integrated with 600Mhz ARM Cortex-A8 Core which is dedicated using to Process industrial signal.
Page 24
Digital output Control independently Table 3.1 BSP specifications...
3.2 Linux System Quick Operation Windows System Environment Preparation In the course of system operation, when needs HyperTerminal in the PC, the Hyper Terminal configuration is as follows: Baud rate: 115200 Data bit: 8 Parity check: no ...
3.2.1 System boot methods 3.2.1.1 NAND Flash Boot You can use the jumper cap to choose the boot type, if connect the A, the board will boot Place image from SD card, otherwise the board will boot image from NAND Flash. The nand flash already has the solidified code of VGA display, user only need to connect the serial port and set the hyper terminal configuration.
OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz AM3517EVM Board + LPDDR/NAND I2C: ready DRAM: 256 MB NAND: 256 MiB serial Out: serial Err: serial Die ID #796400000000000001543b2106011005 Net: davinci_emac_initialize Ethernet PHY: GENERIC @ 0x00 DaVinci EMAC Hit any key to stop autoboot: 3 When it starts to this here, the system will count down for 3 seconds.
Page 28
3.2 3.3 Test on RTC SOC8200 has a hardware clock, it is used to save and restore the system time, refer to the following test methods: 1. Set the system time at 5:55 p.m. on the March 24, 2010: [root@OMAP3EVM /]# date 032417552010 Wed Mar 24 17:55:00 UTC 2010 2.
Page 29
2.After successful connection, PC will show a virtual network card as displayed in Fig 5.1: Fig 5.1 virtual network card 3. Set the IP address of the virtual network card, for example: Fig 5.2 IP Configuration 4. Set the IP network segment of SOC8200 board as the same as virtual network card: [root@OMAP3EVM /]# ifconfig usb0 192.168.1.105 [root@OMAP3EVM /]# ifconfig usb0...
Page 30
5. Use the following command on the hyper terminal to test the SOC8200 board whether had connected successfully. [root@OMAP3EVM /]# ping 192.168.1.15 PING 192.168.1.15 (192.168.1.15): 56 data bytes 64 bytes from 192.168.1.15: seq=0 ttl=128 time=6.592 ms 64 bytes from 192.168.1.15: seq=1 ttl=128 time=0.549 ms 64 bytes from 192.168.1.15: seq=2 ttl=128 time=0.488 ms 64 bytes from 192.168.1.15: seq=3 ttl=128 time=0.458 ms The address of OTG should not the same as net, user may change it.
Page 31
3.2 3.7 Test on network The board has a 10/100M self-adapting network card DM9000; users can connect the board to the LAN and enter the following commands for a test: [root@OMAP3EVM /]# ifconfig eth0 192.192.192.201 eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, id=7c0f1) [root@OMAP3EVM /]# PHY: ffffffff:00 - Link is Up - 100/Full [root@OMAP3EVM /]# ping 192.192.192.90 PING 192.192.192.90 (192.192.192.90): 56 data bytes...
Page 32
Capture: Stream on... LCD shows the image collected by the camera. ( press ctrl+c to quit the test ) 3.2 3.9 Test on CAN If the user want to connect the CAN device, please use the CAN8200。 The steps for the CAN connection: 1.
Page 33
Windows Embedded CE 6.0 R2 linux-2.6.24 3. Umount the SD card. [root@OMAP3EVM /]# umount /mnt 3.2 3.12 Test on buzzer 1. Enable the buzzer: [root@OMAP3EVM /]# echo 1 > /sys/class/misc/beep/val 2. Off the buzzer: [root@OMAP3EVM /]# echo 0 > /sys/class/misc/beep/val 3.2 3.13 Test on AUDIO The board has audio input and output interface, and we have alsa-utils audio test tools in the filesystem, users can enter the following commands for a test:...
Page 34
2. Playback Testing: [root@OMAP3EVM /]# 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...
Page 35
3.2 3.14 Test on full-function serial port SOC8200-M has 3 serial port: Encapsulati Interface Type Device nodes Test program Extended 3 line com_norts Full-function Interface for serial port /dev/ttySCMA0 RS232 serial port 9 line com_rts Extended 3 line com_norts Full-function Interface for serial port /dev/ttySCMA1...
Page 36
Parity bit: None Control flow: Hardware DTR: On RTS: On 2. Test for communication: 1) Connect the extended serial port 0 and PC via 3-wire mode Input the following commands, the SOC8200 board will send data “1234567890 " to the PC. If the PC has send the data to SOC8200 board, the board will receive the data too.
Page 37
3.2 3.15 Test on digit output The pins 1 to 8 on the connector J6 can output the digit voltage 0V and 3.3V, the default the output 3.3v when reset the board. 1. Device introduce: [root@OMAP3EVM /]# cd /sys/class/misc/digital/ [root@OMAP3EVM digital]# ls out2 out4 out6...
3.3 Linux Image Update SOC8200 supports MMC/SD boot or NAND boot; different start-up modes will have different method for updating the image. We will introduce the update of image under different start-up modes. 3.3.1 Update the image for SD card 3.3.1.1 Prepare 1 The formatting of MMC/SD card Recommend to use HP USB Disk Storage Format Tool:...
Page 39
This tool will delete all partition on the SD/MMC card. 2. Preparing the SD card file 1)Copy the all the file on the directory of disk/linux/image. 2) Depending on your display device LCD (4.3inch,7inch) or VGA, rename uImage_xx as uImage The foregoing “XX”...
Page 40
U-Boot 2009.11-svn ( 3 鏈?19 2010 - 16:14:31) OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz AM3517EVM Board + LPDDR/NAND I2C: ready DRAM: 256 MB NAND: 256 MiB serial Out: serial Err: serial Die ID #796400000000000001543b2106011005 Net: davinci_emac_initialize Ethernet PHY: GENERIC @ 0x00 DaVinci EMAC Hit any key to stop autoboot: 3 When it starts to this here, the system will count down for 3 seconds.
3.3.2 Update the image for NAND Flash 3.3.2.1 Prepare Use HP USB Disk Storage Format Tool 2.0.6 software to format the SD card, copy all files from the CD linux / image / to the SD card and depending on your display device LCD (4.3,7) or VGA, rename uImage_xx To uImage Notice:the foregoing “XX”...
Page 42
Update image for SD card: mmc init fatload mmc 0 80000000 flash-uboot.bin nand erase 80000 160000 nandecc sw nand write.i 80000000 80000 $filesize 3. The update of kernel boot image Input the following commands in the u-boot shell: Update image for SD card: mmc init fatload mmc 0 80000000 uImage nand erase 280000 300000...
/media/cdrom/linux/tools tar xvjf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C /home/embest The manual takes /home/embest as default installation directory. Users may change the path. 3.4.1.2 The installation of other tools Other tools included in linux/tools directory of CD may be used for source code. Users can...
3.4.2.1 Preparation The source code of each part of the system is under the linux/source of CD. Users can copy it to the system and unzip it before developing. For example: mkdir /home/embest/work cd /home/embest/work tar xvf /media/cdrom/linux/source/ x-loader-03.00.00.04.tar.bz2 tar xvf /media/cdrom/linux/source/ u-boot-03.00.00.04.tar.bz2 tar xvf /media/cdrom/linux/source/ linux-03.00.00.04.tar.bz2...
3.4.2.5 ubifs image generated cd /home/embest/work sudo /home/embest/tools/mkfs.ubifs -r rootfs -m 2048 -e 129024 -c 812 -o ubifs.img sudo /home/embest/tools/ubinize -o ubi.img -m 2048 -p 128KiB -s 512 /home/embest/tools/ubinize.cfg When the above steps are finished, the current directory will generate the file ubi.img we need.
Page 46
cd linux-03.00.00.04/ cp arch/arm/configs/omap3_soc8200_defconfig .config make menuconfig The example that we use usb gadget to simulate usb mass storage device will be taken to introduce the system customization: 1. Select Device drivers Symbol: USB_FILE_STORAGE [=m] Prompt: File-backed Storage Gadget Defined at drivers/usb/gadget/Kconfig:713 Depends on: <choice>...
3.4.3.3 Test Update kernel image file ulmage in SD card, copy file g_file_storage.ko to the SD card and reboot the system from SD. Execute the following commands to stimulate the SOC8200 into usb mass storage device for PC’s visit: root@DevKit8000:~# mount –t vfat /dev/mmcblk0p1 /mnt root@DevKit8000:~# cd /mnt root@DevKit8000:/mnt# insmod g_file_storage.ko file=/dev/mmcblk0p1 stall=0 removable=1 g_file_storage gadget: File-backed Storage Gadget, version: 7 August 2007...
Page 48
#define LED "/sys/class/leds/led/brightness" int main(int argc, char *argv[]) int f_led; unsigned char i = 0; unsigned char dat; if((f_led = open(LED, O_RDWR)) < 0){ printf("error in open %s",LED); return -1; for(;;){ i++; //dat = i&0x1 ? '1':'0'; //dat = (i&0x2)>>1 ? '1':'0'; dat = (i&0x4)>>2 ? '1':'0';...
4 WinCE System 4.1 WinCE system Overview SOC8200 software system includes: pre-compiled images and applications and their corresponding static library, dynamic link library, header file and source code; cross compilation tools, auxiliary tools for development. Images, applications, Cross compilation tools used for generating image and application can be downloaded from Microsoft.
Image Feature X-Loader To boot EBOOT To boot the operating system from the network (network card or RNDIS) EBOOT To boot the operating system with SD card To boot the operating system from the NAND Flash Windows Explorer Console Window CAB File Installer/Uninstaller Internet Explorer 6.0 ActiveSync...
4.2.1.2 Boot from SD card Copy image files MLO、EBOOTSD.nb0、NK.bin From CD:\WinCE\image\ VGA_1024x768(lcd_800x480 or lcd_480x272)\SD directory to SD card. If users need to switch to SD card, need to start in SOC8200 J24 connected to the motherboard jump line on cap, electric start, the system immediately instead from MMC/SD start. the method to update the image from the SD card will be show in 【4.4.1 Update the image for SD card】...
Embedded CE 6.0 system image run on SOC8200 hardware platform. 4.3.2.1 Preparation has completed in SOC8200 hardware platform driver and the related Embest Info&Tech Co.,LTD., resources integration, so the user is in use in SOC8200 customize Windows CE 6.0 system, Embedded security before has need of the following preparation: Decompress [SOC8200\WinCE\BSP\AM35x_BSP.rar] to obtain AM35x_BSP directory.
Page 54
Select template type of Platform Builder for CE 6.0 Select a file name and open Windows Embedded CE 6.0 OS Design Wizard Set the Embest SOC8200 BSP into the BSP list. Continue to finish the Wizard. ...
Page 55
In the system in the process of compiling, the user should be in the "solution" choice "in the box with AM35x_BSP_ARMV4I_Release". 4.3.2.3 System Customization Windows Embedded CE 6.0 consists of a number of independent modules. Each module provides specific functions, of which some modules can be divided into several components. Each component has specific feature, making OEM/ODM customize a stable and efficient version according to specific application.
Store->Storage Manager Core OS->CEBASE->File Systems and Data Storage Manager Control Panel Applet Store->Storage Manager Core OS->CEBASE->File Systems and Data Transaction-Safe FAT File System (TFAT) Store->Storage Manager Core OS->CEBASE->Graphics Video/Image Compression Manager Multimedia Technologies->Media->Video Codecs and Renderers Core OS->CEBASE->Shell User Console Window Interface->Shell->Command Shell SD Memory Device Drivers->SDIO->SDIO Memory...
XLDRNAND.nb0 EBOOTSD.nb0 NK.bin from CD:\winCE\image\ VGA_1024x768(lcd_800x480或lcd_480x272)\NAND directory to SD card. 4.4.2.2 Image update (1) In SOC8200 J24 connected to the motherboard jump line, the position of the cap J24 10.1.2 have introduced in. Insert SD card restart your system. HyperTerminal will start printing the output information, at the same time press [SPACE] to enter the EBOOT menu.
4.5.1 The interface and demonstration of application The Application Programming Interface (API) used by SOC8200 application development employs the standard application interface of Windows Embedded CE 6.0. SOC8200 just has an additional GPIO interface based on standard API. 1. For interface definition of Windows Embedded CE 6.0 standard application, please refer to related help documents of MSDN Windows Embedded CE 6.0 API.
Appendix II Driver installation of Linux USB Ethernet/RNDIS Gadget 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 location”, then click “Next”...
Page 62
When the following appears, select “Continue” Please wait until the installation is completed...
Appendix III Linux Boot Disk Format How to create a dual-partition card for SOC8200 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.
Page 65
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): Disk /dev/sdc: 2021 MB, 2021654528 bytes 255 heads, 63 sectors/track, 245 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start Blocks Id System...
Page 66
8、Print the partition record to check your work Command (m for help): Disk /dev/sdc: 2021 MB, 2021654528 bytes 255 heads, 63 sectors/track, 245 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start Blocks System 9、Create the FAT32 partition for booting and transferring files from Windows Command (m for help): Command action extended...
Page 67
Disk /dev/sdc: 2021 MB, 2021654528 bytes 255 heads, 63 sectors/track, 245 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start Blocks System /dev/sdc1 409626 W95 FAT32 (LBA) /dev/sdc2 1558305 Linux 13、Save the new partition records on the SD Card This is an important step.
Page 68
32768, 98304, 163840, 229376, 294912 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: In ubuntu is formatted good FAT and EXT3 double division, FAT division in window to need to format a, otherwise it may appear not SD card from the start...
Appendix IV TFTP Server Build 1, installation client $>sudo apt-get install tftp-hpa $>sudo apt-get install tftpd-hpa 2, installation inet $>sudo apt-get install xinetd $>sudo apt-get install netkit-inetd 3, server configuration First of all, in the root directory, and build a tftpboot attribute to any user both: $>cd / $>sudo mkdir tftpboot $>sudo chmod 777 tftpboot...
Appendix V WinCE related resources links Visual Studio 2005 SP1 Update for Vista (if applicable) http://download.microsoft.com/download/c/7/d/c7d9b927-f4e6-4ab2-8399-79a2d5cdfac9/VS80sp 1-KB932232-X86-ENU.exe Windows Embedded CE 6.0 Platform Builder Service Pack 1 http://www.microsoft.com/downloads/details.aspx?familyid=BF0DC0E3-8575-4860-A8E3-290A DF242678&displaylang=en Windows Embedded CE 6.0 R2 http://www.microsoft.com/downloads/details.aspx?FamilyID=f41fc7c1-f0f4-4fd6-9366-b61e0ab5 9565&displaylang=en Windows Embedded CE 6.0 R3 http://download.microsoft.com/download/F/5/2/F5296720-250A-4055-991C-0CEA5DE11436/CE 6R3.iso WinCEPB60-091231-Product-Update-Rollup-Armv4I.msi...
Appendix VI Expansion Board The customer can evaluate the AM3517 via SOC8200 expansion board(SOC8200-M), to experience the AM3517 processor. The customer can use single board computer function Interface board to add the product functions, thus reducing product development cycles, achieve faster time to market.
Page 72
· 1 road, USB 2.0 Device connectors, High-school, 480 Mbps · 1 road, 10/100 Ethernet interface, RJ45 connector (with transformer and LED lights) · 10 bit Camera interface · Reset button, · CF card interface · SD/MMC interface...
Appendix VII Interface Board For the convenience of our customers rapid customization product, TianMo introduced based on SOC8200 motherboard interface board, is mainly will each function modular, Each module can be through the copper column set up to, and then through the line connected to SOC8200 motherboard.
Embest Info&Tech Co.,LTD., established in March of 2000, is a global provider of embedded hardware and software. Embest aims to help customers reduce time to market with improved quality by providing the most effective total solutions for the embedded industry. In the rapidly growing market of high end embedded systems, Embest provides comprehensive services to specify, develop and produce products and help customers to implement innovative technology and product features.
During the warranty period, the delievery fee which delivery to Embest should be coverd 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 delievery fees will be charged by users.
Need help?
Do you have a question about the AM3517 and is the answer not in the manual?
Questions and answers