RSC-IMX51 FreescaleTM i.MX515 Cortex-A8 800MHz Micro Module with 4GB eMMC, Optional HDMI & 512MB DDR2 User’s Manual 3rd Ed – 11 October 2013 Part No.
RSC-IMX51 FCC Statement THIS DEVICE COMPLIES WITH PART 15 FCC RULES. OPERATION IS SUBJECT TO THE FOLLOWING TWO CONDITIONS: (1) THIS DEVICE MAY NOT CAUSE HARMFUL INTERFERENCE. (2) THIS DEVICE MUST ACCEPT ANY INTERFERENCE RECEIVED INCLUDING INTERFERENCE THAT MAY CAUSE UNDESIRED OPERATION. THIS EQUIPMENT HAS BEEN TESTED AND FOUND TO COMPLY WITH THE LIMITS FOR A CLASS "A" DIGITAL DEVICE, PURSUANT TO PART 15 OF THE FCC RULES.
User’s Manual otherwise specified. Applications that are described in this manual are for illustration purposes only. Avalue Technology Inc. makes no representation or warranty that such application will be suitable for the specified use without further testing or modification. Life Support Policy Avalue Technology’s PRODUCTS ARE NOT FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE PRIOR WRITTEN APPROVAL OF Avalue Technology Inc. As used herein: 1.
RSC-IMX51 Product Warranty Avalue warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or altered by persons other than repair personnel authorized by Avalue, or which have been subject to misuse, abuse, accident or improper installation.
User’s Manual Contents 1. Getting Started ............................................................................................................ 7 1.1 Safety Precautions .................................................................................................... 7 1.2 Packing List ............................................................................................................... 7 1.3 Document Amendment History ......................................................................
RSC-IMX51 3.7 Using cfimager Utility to Flash SD/MMC Card ........................................................ 36 3.8 Using mfgtool to Flash eMMC onboard ................................................................... 37 3.9 Programming Guide for GPIO Driver ...................................................................... 42 4. Linux User Guide ......................................................................................................... 44 4.
User’s Manual 1. Getting Started 1.1 Safety Precautions Warning! Always completely disconnect the power cord from your chassis whenever you work with the hardware. Do not make connections while the power is on. Sensitive electronic components can be damaged by sudden power surges. Only experienced electronics personnel should open the PC chassis. Caution! Always ground yourself to remove any static charge before touching the CPU card. Modern electronic devices are very sensitive to static electric charges.
RSC-IMX51 1.3 Document Amendment History Revision Date Comment st Jan. 2012 Initial Release 2nd Oct. 2012 Update for RSC-IMX51 B1 Version rd Oct.
User’s Manual 1.4 Manual Objectives This manual describes in detail the Avalue Technology RSC-IMX51 Single Board. We have tried to include as much information as possible but we have not duplicated information that is provided in the standard IBM Technical References, unless it proved to be necessary to aid in the understanding of this board. We strongly recommend that you study this manual carefully before attempting to interface with RSC-IMX51 series or change the standard configurations.
RSC-IMX51 1.5 System Specifications System CPU Freescale i.MX515 ARM Cortex-A8 800MHz PMIC Freescale MC13892AJVL Flash Onboard 4GB eMMC Memory 512MB DDR2 memory onboard SSD SD socket support SDHC up to 32GB I/O MIO 1 x RS-232, 1 x RS-232/ 422/ 485, USB 4 x USB 2.0 DIO 8-bit General Purpose I/O (DI x4, DO x4) Display Video Processing Unit IPUv3EX Encoding/ Decoding of MPEG-4, H.263, H.
User’s Manual 1.6 Architecture Overview – Block Diagram The following block diagram shows the architecture and main components of RSC-IMX51. TTL Display TTL 24Bit LVDS LVDS Transmitter HDMI SIL9022 USB RS232 RS232/ 422/485 512MB DDR2 SDRAM SDIO 4GB eMMC USB2514 USB 2.0 x4 USB OTG Mini-USB GPIO DI x4 GPIO DO x4 UART UART i.MX51 Apps Processor Speaker 2W x2 Mic-in EMI Freescale SGTL5000 I2S Line-in I2C RJ45 SD Socket LAN8710 RMII ISL1208 RTC SDIO 4-Wire resistive touch SPI 3.
RSC-IMX51 2.
User’s Manual 2.
RSC-IMX51 14 RSC-IMX51 User’s Manual
User’s Manual 2.2 Jumper and Connector List You can configure your board to match the needs of your application by setting jumpers. A jumper is the simplest kind of electric switch. It consists of two metal pins and a small metal clip (often protected by a plastic cover) that slides over the pins to connect them. To “close” a jumper you connect the pins with the clip. To “open” a jumper you remove the clip. Sometimes a jumper will have three pins, labeled 1, 2, and 3.
RSC-IMX51 Connectors Label Function Note BAT1 Battery connector 2 x 1 wafer, pitch 1.25mm CN3 TTL Panel connector BB_20x2V_S, pitch 1.25mm CN5 SD Memory Card Socket SDCARD_9H, Push/Push Type CN9 Serial Port 1 connector DSUB 9-pin, Male CN10 Touch Panel connector 4 x 1 header, pitch 2.00mm CN12 Speaker_L/R connector 4 x 1 wafer, pitch 2.00mm CN14 Line_In, MIC connector 3 x 2 header, pitch 2.00mm CN19 Inverter Power connector & BL_PWM 6 x 1 wafer, pitch 2.
User’s Manual 2.3 Setting Jumpers & Connectors 2.3.1 Battery connector (BAT1) Signal PIN GND 2 LICELL 1 2.3.
RSC-IMX51 2.3.3 Boot Mode selector (SW2) Boot from onboard SD Boot from SD socket USB OTG mode (Reflash onboard SD only) Signal PIN PIN BMOD1 1 5 BMOD0 2 6 BT_SRC[1] 3 7 BT_SRC[0] 4 8 Signal +V2D775_BOOT +V1D8_DIG1 Please note: DIP Switch setting: 0=Off, 1=On When Position4 is switched On, the system is forced to power On as soon as power is applied. Switch to Off mode for normal operation.
User’s Manual 2.3.4 TTL Panel connector (CN3) Signal 2.3.4.1 PIN PIN Signal +5V 2 1 +5V GND 4 3 GND +3.3V 6 5 +3.
RSC-IMX51 2.3.4.
User’s Manual 2.3.5 Touch Panel Connector (CN10) Signal PIN BOT 4 LEFT 3 TOP 2 RIGHT 1 2.3.
RSC-IMX51 2.3.7 Line_In, MIC connector (CN14) Signal PIN PIN Signal GND 1 2 GND LINEIN_R 3 4 LINEIN_L MIC_IN 5 6 MIC_IN 2.3.
User’s Manual 2.3.9 12V Input connector (CN23) Signal PIN PWR_IN 1 GND 2 2.3.
RSC-IMX51 2.3.11 Power on LED connector (CN27) Signal PIN +3V 1 GND 2 Signal PIN GND 4 I2C_SDA 3 I2C_SCL 2 +3V 1 2.3.
User’s Manual 2.3.
RSC-IMX51 2.3.14 LVDS Interface connector (JLVDS1) 26 RSC-IMX51 User’s Manual PIN Signal 1 +3.3V 2 +3.
User’s Manual 2.3.15 USB 0&1 / 2&3 connector (JUSB1/JUSB2) Signal PIN PIN Signal +5V 1 2 GND D0- 3 4 GND D0+ 5 6 D1+ GND 7 8 D1- GND 9 10 +5V 2.3.
RSC-IMX51 2.3.17 Power on/off Switch connector (PSW1) Note: Please make sure the “PSW1” to be closed as below before plugging in the power adapter or any external power.
User’s Manual 3.
RSC-IMX51 3.1 Installing Windows Embedded Tools and RSC-IMX51 BSP To create the complete RSC-IMX51 development environment, install the Microsoft Windows Embedded CE 6.0 development tools and the RSC-IMX51 BSP as follows: 1) Install Visual Studio 2005 and the Windows Embedded CE 6.0 Platform Builder plugin on Windows XP from the installation discs. The following must be installed in order to create a Windows Embedded CE 6.0 development environment for RSC-IMX51 WinCE 6.
User’s Manual 3.2 ATK Tool Installation & Setup The Advanced ToolKit (ATK) is a graphical user interface application for use in an i.MX platform for development and validation. To install the standard ATK tool, follow these steps: Extract the ATK package and place it in a temporary folder. From the top level folder, execute FSL_ATK_TOOL_WINS_STD_INSTALL_1_70.
RSC-IMX51 3.3 Preparing for Downloading and Debugging The target and development workstation must be properly configured and initialized before OS images can be downloaded and executed. This section discusses the steps required to prepare the target and development workstation so that the Platform Builder can be used to download and debug images on the target. Serial debug messages are used by the boot loader and OS images to report status and error information.
User’s Manual 3.4 Program XLDR and EBOOT in on-board flash Using ATK Tool Follow these steps to program XLDR and EBOOT in onboard SD card using the ATK Tool: Connect USB cable from mini-USB connector(J1) of RSC-IMX51 to your development workstation. Set SW2 of RSC-IMX51 in USB OTG mode and power on it. Launch the ATK Tool on development workstation. Select i.MX51_TO2 in i.MX CPU. Select DDR in Device Memory Initial. Select USB in Communication Channel. Click Next > Flash Tool > Go.
RSC-IMX51 3.5 Initialize EBOOT Network Configuration To initialize EBOOT network configuration, follow these steps: Follow the steps in Section 3.4 “Program XLDR and EBOOT in on-board flash Using ATK Tool,” to execute EBOOT on the target. Quickly switch over to the terminal emulation application and wait for the debug message, Press [ENTER] to download now or [SPACE] to cancel to appear. Press the space bar to bring up the EBOOT configuration menu.
User’s Manual 3.6 Configuring Ethernet Connection for Downloading and Debugging To configure an Ethernet connection that can be used for downloading and debugging images, follow these steps: From the Platform Builder Target menu, choose Connectivity Options. Choose Kernel Service Map. In the Target Device box, choose a target device. In the Download box, choose Ethernet as the download service. Launch EBOOT on the target.
RSC-IMX51 3.7 Using cfimager Utility to Flash SD/MMC Card cfimager.exe is a host PC tool used to flash boot images (xldr.nb0, eboot.nb0, nk.nb0) and create a FAT partition on SD/MMC cards for i.MX51. Users can avoid programming the card on the device. The tool for i.MX51 can only flash *.nb0 files. A card reader on the PC is required. The utility, accompanied by a readme file, is provided under <%WINCEROOT%>\SUPPORT\TOOL\COMMON\CFIMAGER. Any data on the card may be lost by flashing it with cfimager.
User’s Manual 3.8 Using mfgtool to Flash eMMC onboard Manufacturing tool, a successor of ATK, provides a series of new features to power your mass production work. The features like windows style GUI, multiple devices support, explicit status monitoring, versatile functionalities and highly flexible architecture make it a best choice to meet your critical timing, cost and customization requirements. 1) Unzip the tool package to your local directory, say: D:\ Mfgtools-Rel-1.6.2.
RSC-IMX51 Choose “Install from a list or specific location” option and click “Next”. Input your driver location: YourDiskVolume:\mfgtools-rel\Drivers\iMX_BulkIO_Driver and click “Next”. Click “Finish” to finish driver installation.
User’s Manual 4) Copy update WinCE image (nk.nb0) to “Mfgtools-Rel-1.6.2.042\Profiles\MX51 WinCE Update\OS Firmware\files” Copy update Android image to “Mfgtools-Rel-1.6.2.042\Profiles\MX51 Linux Update\OS Firmware\files\android” Copy update LTIB image to “Mfgtools-Rel-1.6.2.042\Profiles\MX51 Linux Update\OS Firmware\files\ltib” Copy update Ubuntu image to “Mfgtools-Rel-1.6.2.
RSC-IMX51 Here is setting for Linux (LTIB/Android/Ubuntu) update Now you can find the tool is ready to do a demo work. Click “Start” button. If you have a terminal tool to monitor the debug serial port of your board, it is suggested to open it. You can get more information from it. 6) The process is ongoing.
User’s Manual You can find some information from the terminal.
RSC-IMX51 3.9 Programming Guide for GPIO Driver The RSC-iMX51 Windows CE image had included the onboard GPIO and watchdog timer driver API for application programming. The function that API will provide are list as below, refer each function’s description to get more detail information. 1) Digital I/O Port API_LibInit() BOOL API_LibInit(); Return Value : TRUE indicates success, FALSE indicates failure. The error numbers are listed in Appendix A.
User’s Manual Current status (high/low) of the selected pin is passed to. 0: Low, 1: High Remarks: The current state of a selected pin is obtained by calling this function. For example: int dwVal; dwVal=GPIO_BIT_INPUT(1, 31) is called to get the current state of GPIO1_31 which is the input pin 7 of JIO1 on RSC-iMX51. Watchdog Function: Watchdog timer of RSC-iMX51 consists a time-out counter with time-out periods from 0.5 seconds up to 128 seconds.
RSC-IMX51 4. Linux User Guide Note: Installation procedures and screen shots in this section are for your reference and may not be exactly the same as shown on your screen.
User’s Manual 4.1 Setting up a Linux host for building U-boot & Kernel Image file We support building using Ubuntu 10.04 installed from the 64 bit Desktop Ubuntu install cd. Other versions of Ubuntu are not currently supported and may have built issues. Install host packages needed by building code This document assumes you are using Ubuntu. Not a requirement, but the packages may be named differently and the method of installing them may be different. sudo aptitude -y install gettext libgtk2.
RSC-IMX51 3) $ ./run.sh linux –j4 (for the j parameter, you can refer your PC`s CPU performance to insert it, for this example, mine is “Quad Core CPU” , so insert “j4” ) 4) Then you can find “uImage” from the path “core/kernel_linux/arch/arm/boot” 4.4 Configure TFTP Server 1) Install tftp and required packages sudo apt-get install xinetd tftpd tftp 2) Create /etc/xinetd.
User’s Manual 4.5 Configure NFS Server 1) Install NFS required packages $ sudo apt-get install nfs-common $ sudo apt-get install nfs-kernel-server 2) Edit /etc/exports: $ sudo vi /etc/exports Add following line in the file /home/user/nfs *(rw,sync,no_root_squash) home/user/nfs is the path of your nfs folder. Reset nfs server $ sudo /etc/init.
RSC-IMX51 4.6 Create a bootable SD card with Ubuntu 10.04 file system Please insert a SD card in card reader on your Linux host PC 1) 2) Check device node of your SD card by command below. $cat /proc/partitions (for example, mine is /dev/sdd as below) 3) Install bootloader on SD card by command below. $ sudo dd if=u-boot.bin of=/dev/sdd bs=512 && sync && sync Install Linux kernel image on SD card by command below.
User’s Manual $ sudo umount /mnt The Ubuntu file system content is now on the SD card. Please use user account “lucid” to log into system on serial terminal and password of the account is “lucid” Password of root account is “lucid”. 4.7 Bootloader settings for booting from SD card 1) 2) 3) Please refer to section 2.3.2 and set SW2 to boot from SD socket. Insert SD card on SD socket. Connect RS232 cross over cable from CN9 of RSC-IMX51 to COM port of Host PC.
RSC-IMX51 4.8 Bootloader settings for booting from onboard SD 1) Please refer to section 2.3.2 and set SW2 to boot from onboard SD. 2) 3) Follow section 4.7.3~4.7.4 to setup bootloader Setup boot device BBG U-Boot > setenv bootcmd ‘run bootcmd_sd1’ Save bootloader setting BBG U-Boot > saveenv Press reset button and boot RSC-IMX51 again 4) 5) 4.9 Bootloader settings for booting from NFS To boot from NFS server, you will have to finish settings on section 4.4 & 4.
User’s Manual 5. Android User Guide Note: Installation procedures and screen shots in this section are for your reference and may not be exactly the same as shown on your screen.
RSC-IMX51 5.1 How to setup PC (Windows) to support ADB ADB function o Download the Android SDK. o Update the adb configuration to scan for freescale's pid: Run the SDK's tools to generate a configure file: android-sdk-windows\tools\android.bat update adb Modify the files: X:\Profile\\.android\adb_usb.ini, to add freescale vendor id: # ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT. # USE 'android update adb' TO GENERATE. # 1 USB VENDOR ID PER LINE. 0x15a2 o o o 5.
o User’s Manual Create a new udev rule file under the PC's /etc/udev/rules.d/ named: imx-android.rules. And fill in the following line into the file: SUBSYSTEM=="usb", SYSFS{idVendor}=="15a2", MODE="0666" o o o Change the new udev rule file's permission: chmod a+r /etc/udev/rules.d/imx-android.
RSC-IMX51 6.
User’s Manual Unit: mm RSC-IMX51 User’s Manual 55