background image

User Manual

ROM-5420

RISC-based SMARC Module with 

Freescale i.MX6 ARM

®

 Cortex™ 

A9 Processor

Содержание ROM-5420

Страница 1: ...User Manual ROM 5420 RISC based SMARC Module with Freescale i MX6 ARM Cortex A9 Processor...

Страница 2: ...installation Advantech assumes no liability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous testing most of our cus...

Страница 3: ...ent off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between the equipme...

Страница 4: ...ng up the system check that the items listed below are included and in good condition If any item does not accord with the table please contact your dealer immediately 1 ROM 5420 4 Screws for ROM 5420...

Страница 5: ...Number Description Commercial grade Part No ROM 5420CD MDA1E CPU Freescale i MX6 Dual 1 GHz Memory 1 GB eMMC 4 GB Camera Input 1 Parallel RGB Yes HDMI Yes LVDS Yes PCIe 1 USB 1 Host 1 OTG Audio Yes G...

Страница 6: ...le cannot step on it Do not place anything over the power cord 10 All cautions and warnings on the equipment should be noted 11 If the equipment is not used for a long time disconnect it from the powe...

Страница 7: ...3 1 9 CAN Test 16 3 1 10 Audio Out and MIC In Test 16 3 1 11 OpenGL Test 17 3 1 12 LAN Test 17 3 1 13 RS232 Test 18 3 1 14 Watchdog Timer Test 19 3 1 15 Audio Test 20 3 1 16 Photo Demo Test 20 3 1 17...

Страница 8: ...atchdog Timer Sample Code 31 3 8 3 GPIO Setting 33 3 8 4 RS232 Initial Code 33 3 8 5 Display Output Setting 33 3 8 6 Network Setup 35 3 8 7 Storage SATA eMMC SD Card 36 Chapter 4 System Recovery 37 4...

Страница 9: ...Chapter 1 1 Product Overview This chapter briefly introduces ROM 5420 platform Sections include Introduction Specification...

Страница 10: ...eatures of Freescale i MX6 processors are shown as following ARM Cortex A9 high performance processor dual core 1 GHz Supports OpenGL ES 2 0 and OpenVG 1 1 hardware accelerators full HD 1080p video co...

Страница 11: ...MP MJPEG BP Encoder MPEG 4 SP H 264 BP H 263 MJPEG BP HDMI 1 HDMI TypeA LVDS 1 single 24 bit LVDS VGA 1 D Sub 15 with female connector Ethernet Chipset Freescale i MX6 Dual integrated RGMII Speed 1 1...

Страница 12: ...nk Dimensions 42 mm x 82 mm x 13 mm L x W x H 1 4 Electrical Specifications Power supply Voltage Voltage requirements 3 5 25 V Power supply Current 1 5 Environmental Specifications Operating temperatu...

Страница 13: ...Chapter 2 2 H W Installation This chapter gives mechanical and connector information on the ROM 5420 CPU Computer on Module Sections include Connector Information Mechanical Drawing...

Страница 14: ...he board has four connectors that allow you to configure your system to your appli cation 2 2 1 Connector List External IO Connector Position Description U1103 Flash ROM A SW1001 Boot selection B CN16...

Страница 15: ...onnector Jumper Mode Jumper Mode 1 ON 2 OFF SPI ROM Default 1 OFF 2 ON SD Reserved for recovery Pin Signal Pin Signal 1 3 3 V 2 SWDIO 3 SWCLK 4 MCU_JTAG_RESET 5 GND Pin Signal Pin Signal 1 3 3 V 2 JTA...

Страница 16: ...ure 2 1 ROM 5420 Block Diagram Freescale i MX6 Dual Quad SMARC MXM3 Connector 314 pin TTL 24bit LVDS CSI Camera input RGMII USB Host OTG PCIe x1 SATA SDIO 4 SPI I2C 4 I2C Slave SPDIF 4 UART 2 CAN 12 G...

Страница 17: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 5420 plat form...

Страница 18: ...1 2 SATA Test Step1 Erase and check dd if dev zero of dev sda bs 1024 count 1 seek 25118 1 0 records in 1 0 records out hexdump C dev sda s 25720832 n 16 01887800 00 00 00 00 00 00 00 00 00 00 00 00 0...

Страница 19: ...s dev mmcblk1 is the SD card storage ls dev mmcblk dev mmcblk0 dev mmcblk0boot1 dev mmcblk1 dev mmcblk1p2 dev mmcblk0boot0 dev mmcblk0p1 dev mmcblk1p1 Step 3 Erase and check dd if dev zero of dev mmcb...

Страница 20: ...Set gpio178 GPO out echo out gpio178 direction cat gpio178 direction out C Set gpio177 GPO value 0 echo 0 gpio177 value D Get gpio178 value Note Please make sure parameter seek is equal to 25118 as i...

Страница 21: ...le display such as dual LVDS VGA and HDMI output you should set parameter in uboot first Please refer to section 3 7 5 3 for more detail Once the display method is set up please follow below instructi...

Страница 22: ...ee i2c bus in ROM 5420 ls sys class i2c dev i2c 0 i2c 1 i2c 2 i2c 3 i2c 4 i2c 5 i2c 6 i2cdetect l i2c 0 i2c imx i2c I2C adapter i2c 1 i2c imx i2c I2C adapter i2c 2 i2c imx i2c I2C adapter i2c 3 i2c i2...

Страница 23: ...00 00 00 00 00 00 00 00 00 00 00 b5 If there is nothing connected to HDMI port the result should be as below i2cdump f y 5 0x50 No size specified using byte data access 0 1 2 3 4 5 6 7 8 9 a b c d e...

Страница 24: ...device registered reg_base c09e8000 irq 143 can controller area network core rev 20090105 abi 8 can raw protocol rev 20090105 can broadcast manager protocol rev 20090105 t Step 2 Activate CAN device...

Страница 25: ...nt once to locate device video memory and then bound and used as needed rather than being read from system memory every time This example illustrates how to create and use vertex buffer objects tutori...

Страница 26: ...kets 2851 errors 0 dropped 271 overruns 0 frame 0 TX packets 30 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 291407 284 5 KiB TX bytes 2000 1 9 KiB The target computer...

Страница 27: ...at dev ttymxc4 echo hello dev ttymxc4 Hello 3 1 14 Watchdog Timer Test Step 1 Executing wdt_driver_test out unit_tests wdt_driver_test out Usage wdt_driver_test timeout sleep test timeout value in sec...

Страница 28: ...1 17 Camera Input Test Execute the following commands to run the camera demo application on ROM 5420 3 1 17 1 Preview gst launch mfw_v4lsrc mfw_v4lsink 3 1 17 2 Capture gst launch mfw_v4lsrc num buff...

Страница 29: ...boot bin uImage and File System The u boot bin is for initializing peripheral hardware parameters the uIm age is the Linux kernel image and the File System is for Linux O S used It will not be able to...

Страница 30: ...application arm fsl linux gnueabi bin toolchain without prefix such as gcc debug root all debug tools multi libs all libraries and headers armv5 library for armv5 i mx 2xx only support soft float poi...

Страница 31: ...stem containing information about system resources More information about the meaning of the files in proc is obtained by entering the command man proc in a terminal window The file proc txt discusses...

Страница 32: ...o could be obtained from books and magazines you can easily find the answers for both Linux specific and general UNIX questions There are also various README files in source linux 3 0 35 Documentation...

Страница 33: ...al on Ubuntu 10 04 LTS 2 sudo su Change to root authority 3 Input user password 4 Change directory to BSP s scripts folder 5 setenv sh To configure the developing environment automatically 6 Then you...

Страница 34: ...Linux Kernel Image Advantech offer you a script to build the uImage quickly You can build uImage by follow below steps 1 Open Terminal on Ubuntu 10 04 LTS 2 sudo su Change to root authority 3 Input us...

Страница 35: ...l by menuconfig Here is an example to guide you how to add a RTC driver Seiko Instruments S 35390A to Linux kernel Please refer to the following steps 1 Open Terminal on Ubuntu 10 04 LTS 2 sudo su Cha...

Страница 36: ...3 0 35 arch arm mach mx6 board mx6q_ROM 5420 h static struct i2c_board_info mxc_i2c0_board_info __initdata I2C_BOARD_INFO sgtl5000 0x0a I2C_BOARD_INFO s35390a 0x30 I2C_BOARD_INFO 24c02 0x57 Please add...

Страница 37: ...ld a image for ROM 5420 Linux system boot media 3 6 1 Create a Linux System SD Card 3 6 1 1 From Source Code Package When you receive the ROM 5420 Linux source code package you can refer follow ing st...

Страница 38: ...off and remove this SD card Now you can boot from SATA without SD card 3 7 Debug Message ROM 5420 can connect to a host PC Linux or Windows by using console cable and debug port adapter In order to co...

Страница 39: ...tem SD card to your developing computer 14 cp helloworld media rootfs tool media rootfs is the mounted point of your Linux system SD card 15 Remove this SD card and insert it to ROM 5420 then open ser...

Страница 40: ...nds n timeout ioctl fd WDIOC_GETTIMEOUT timeout printf Now reading back The timeout is d seconds n timeout while 1 printf WDT Time out counter d n count if test 0 test count printf Ping Watchdog reset...

Страница 41: ...how to initial COM2 ports int open_port void int fd fd open dev ttymxc1 O_RDWR O_NOCTTY O_NDELAY if fd 1 perror open error return fd 3 8 5 Display Output Setting 3 8 5 1 LVDS Settings Please set envi...

Страница 42: ...requency is 60 MHz Therefore we can get 1012 1344 806 60 15385 The margin values can be seen as front porch back porch The sync_len means pulse width The sync value indicates the sync polarity low or...

Страница 43: ...e clock there are several options Independently for each port listed below 1 Derived from the IPU internal clock Master Mode 2 Provided by an external source Slave Mode 3 The transfer rate supported W...

Страница 44: ...erface to be activated It is implicitly specified if an address is assigned to the inter face down This flag causes the driver for this interface to be shut down address The IP address to be assigned...

Страница 45: ...Chapter 4 4 System Recovery This chapter introduces how to recover Linux operating system if it is damaged accidentally...

Страница 46: ...t one SD card to your developing computer 8 Check the SD card location like dev sdf 9 cd 5420LBVxxxx_prebuilt_image 10 dd if 5420LIVxxxx img of dev sdf 11 Please wait until dump disk is done 12 Connec...

Страница 47: ...Chapter 5 5 Advantech Services This chapter introduces Advantech design in serviceability technical support and warranty policy for ROM 5420 evaluation kit...

Страница 48: ...rs to easy develop their carrier board and differentiate their embedded products and applications Full Range of RISC Product Offerings Comprehensive Document Support Design Assistance Service Advantec...

Страница 49: ...omputer industry for many years and found that customers usually have the following questions when implementing modu lar designs General I O design capability Although customers possess the ability fo...

Страница 50: ...ssess RISC modules and test peripheral hardware What s more Advantech pro vides standard software Board Support Package BSP for RISC COM so that cus tomers can define their product s specifications as...

Страница 51: ...platforms As a supportive role Advantech primarily helps customers solve their problems in the testing process and will give suggestions and tips as well Through an efficient verifi cation process ba...

Страница 52: ...ch web site at www advantech com support where you can find the latest information about the product 2 Contact your distributor sales representative or Advantech s customer Service center for technica...

Страница 53: ...45 ROM 5420 User Manual Chapter 5 Advantech Services...

Страница 54: ...tions are subject to change without notice No part of this publication may be reproduced in any form or by any means electronic photocopying recording or otherwise without prior written permis sion of...

Отзывы: