Isa celeron m half-sized sbc with vga/lcd lvds/10/100 ethernet/usb 2.0 and ssd (68 pages)
Summary of Contents for Advantech ROM-3420CD-MDA1E
Page 1
Manual ROM-3420 Advantech Our company network supports you worldwide with offices in Germany, Austria, Switzerland, Great Britain and the USA. For more information please contact: FORTEC Elektronik AG FORTEC Elektronik AG Hauptniederlassung Büro West Lechwiesenstr. 9 Hohenstaufenring 55 86899 Landsberg am Lech 50674 Köln...
Page 2
User Manual ROM-3420 RISC-based RTX Module with Freescale i.MX6 ARM® Cortex™ A9 Processor...
Page 3
No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. How- ever, Advantech Co., Ltd.
Declaration of Conformity FCC Class B Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installa- tion.
Page 5
ROM-3420CQ-MDA1E Freescale i.mx6 Quad 1GHz w/2GB DDR3 RTX module(0~60 ROM-3420WQ-MDA1E Freescale i.mx6 Quad 1GHz w/2GB DDR3 RTX module(-40~85 For more information please refer to "Advantech Baseboard Check List" and "Evalu- ation Board Reference Schematic". You can download "Advantech Baseboard Check List" and "Evaluation Board Refer- ence Schematic"...
The equipment has been dropped and damaged. The equipment has obvious signs of breakage. DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein. ROM-3420 User Manual...
Page 7
Safety Precaution - Static Electricity Follow these simple precautions to protect yourself from harm and the products from damage. To avoid electrical shock, always disconnect the power from your PC chassis before you work on it. Don't touch any components on the CPU card or other cards while the PC is on.
Page 9
Boot up from the SD card ............38 4.1.2 Boot up from the onboard eMMC ..........38 4.1.3 Boot up from SATA DOM ............38 Chapter Advantech Services......39 RISC Design-in Services ................ 40 Contact Information................. 43 Technical Support and Assistance............44 ROM-3420 User Manual...
Introduction ROM-3420 uses the Freescale i.MX6 Dual Core Processor - ARM® Cortex™ A9 architecture as its SoC solution. Main features include: RTX 2.0 Standard, heatsink- less, compact size, total reliability and excellent power management. ROM-3420 platform is suitable for the following applications: ...
On-board DDR3 1 GB Memory 4 GB eMMC for O.S. and 4 MB NOR Flash Flash for Advantech boot loader 2 GPUs. OpenGL ES 2.0 for 3D, BitBlt Graphics Engine for 2D and OpenVG 1.1 Decoder: MPEG-4 ASP, H.264 HP, H.263, MPEG-2 MP, MJPEG BP...
Voltage requirements: 5 ~ 24 V Power Consumption: +5 V Kernel idle Maximum mode ROM-3420CD-MDA1E on Linux 2.85 W 6.25 W Environmental Specifications Operating temperature: 0 ~ 60° C (32~140° F) The operating temperature refers to the environmental temperature for the model.
Chapter H/W Installation This chapter gives mechanical and connector information on the ROM-3420 CPU Computer on Module. Sections include: Connector Information Mechanical Drawing...
ROM-3420 Board Looks Board Connectors The 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 U1101 Flash ROM SW1001 Boot selection CN1201 JTAG connector CN1101 MCU programming port CN1202 Debug port ROM-3420 User Manual...
Page 16
SW1001 (Boot selection) Jumper Mode Jumper Mode 1-ON 1-OFF SPI-ROM (Default) SD (Reserved for recovery) 2-OFF 2-ON CN1101 (MCU programming port) Signal Signal +3.3 V MCU_TXD MCU_RXD MCU_PROGRAM# CN1201 (JTAG connector) Signal Signal +3.3 V JTAG_TRST# JTAG_TMS JTAG_TDO JTAG_TDI JTAG_TCK CN1202 (Debug connector) Signal Signal...
ROM-3420 Board Block Diagram DDR3 256MB x 4pcs SPI NOR 4MB eMMC 4GB SPI5 CS0 SD4 8bit RTX CONN C RTX CONN A 4 lanes 2 chip select/address 26 bit/data 16 bit CSI1 MIPI SYSTEM BUS 1 lane PCIE0 MISC ATHERO POWER GIGA LAN...
All test tools must be verified on the ROM-3420 Evaluation kit, please prepare required test fixtures before verifying each specified I/O. If you have any problems getting the test fixtures, please contact your Advantech contact window for help. 3.1.1 eMMC Test Step1: Erase and check #dd if=/dev/zero of=/dev/mmcblk0 bs=1024 count=1 seek=25118...
1+0 records in 1+0 records out #hexdump ‐C /dev/sdb ‐s 25720832 ‐n 16 01887800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |....| Step 3: Write and check #echo ‐n "0123456789ABCDEF" | dd of=/dev/sdb bs=1024 count=1 seek=25118 0+1 records in 0+1 records out #hexdump ‐C /dev/sdb ‐s 25720832 ‐n 16 01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF| Note! This operation may damage the data stored in USB flash disk. Please make sure there is no critical data in the USB flash disk being used for this test.
#hexdump ‐C /dev/mmcblk1 ‐s 25720832 ‐n 16 01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF| Note! Please make sure parameter “seek” is equal to 25118 as indicated in red in above codes. If you create the file to a wrong sector, that may damage the system. 3.1.5 GPIO Test 3.1.5.1 GPIO Default Setting Linux OS ROM-DB3900 /sys/class/gpio...
You can see independent displays both show Advantech.avi at the same time. If you’d like to set the output audio as HDMI out or speaker out, please add the parameter of plughw: A. Plughw:0 Output the audio through audio jack (AUDIO1) #gst‐launch ...
70: 00 41 53 55 53 20 56 53 32 32 38 0a 20 20 01 f6 .ASUS VS228? ?? 80: 02 03 22 71 4f 01 02 03 11 12 13 04 14 05 0e 0f ??"qO??????????? 90: 1d 1e 1f 10 23 09 17 07 83 01 00 00 65 03 0c 00 ????#?????..e??. a0: 10 00 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00 dc 0c ?.???? ?‐??>?.?? b0: 11 00 00 18 01 1d 00 72 51 d0 1e 20 6e 28 55 00 ?..???.rQ?? n(U. c0: dc 0c 11 00 00 1e 01 1d 00 bc 52 d0 1e 20 b8 28 ???..???.?R?? ?( d0: 55 40 dc 0c 11 00 00 1e 8c 0a d0 90 20 40 31 20 U@???..????? @1 e0: 0c 40 55 00 dc 0c 11 00 00 18 00 00 00 00 00 00 ?@U.???..?..f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b5 ....? If there is nothing connected to the 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 f 0123456789abcdef 00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX...
vcan: Virtual CAN interface driver flexcan netdevice driver flexcan imx6q‐flexcan.0: device registered (reg_base=c09b8000, irq=142) flexcan imx6q‐flexcan.1: 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 #ip link set can0 up type can bitrate 125000 flexcan imx6q‐flexcan.0: writing ctrl=0x0e312005 #ip link set can1 up type can bitrate 125000 flexcan imx6q‐flexcan.1: writing ctrl=0x0e312005 Note! Bitrate is supported from 1 to 1M. Step 3: Send and Receive CAN frames Receive CAN frames: #cantest can0 & Send CAN frames #cantest can1 12345678#123412341234 read 16 bytes 12345678 [6] 12 34 12 34 12 34 3.1.10 Audio Out and MIC In Test...
mal vector, color, and so on is sent 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. #./tutorial7 Step 3: Run tutorial3_es20 for OpenGL ES 2.0 A ball made of a mirroring material and centered at the origin spins about its Y-axis...
Open /etc/rc.d/rc.conf. Modify IPADDR0=”xxx.xx.xx.xxx”. Modify NETMASK0=”xxx.xx.xx.xxx”. #reboot Open /etc/rc.d/rc.local Add # to mark ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up Here is a real case for your reference.The hosts(UBC-200) IP is 172.17.21.97; the target(A desktop computer) IP is 172.17.20.192: #ifconfig eth0 172.17.21.97 up #ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:04:9F:01:30:E0 inet addr:172.17.21.97 Bcast:172.17.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1...
Then you can hear the music from speaker/head-sets. 3.1.16 Photo Demo Test Execute the following commands to run the Photo demo application on ROM-3420. #cd /tools #./fbv Advantech.jpg Then you can see the photo demo on the default display screen. ROM-3420 User Manual...
ROM-3420 source code package (BSP) contains cross compiler, Linux source code, Uboot source code, root file system and some scripts used in OS development. Some of above components are developed by Advantech and the others are devel- oped by open source community. ROM-3420 source code package is composed of six main folders: “cross_compiler”, “document”, “image”, “package”, “scripts”, and...
Page 32
→ just for sample test. – tools 3.2.1.5 scripts Some scripts provided by Advantech will help you configure system or build the images more quickly. Please check them as follows: → A script to setup the development environment quickly. – setenv.sh →...
$sudo su (Change to “root” authority) Input user password #cd Desktop/ #tar xvf 3420LBVxxxx.tar.bz2 (Unzip file) Advantech offer a script to help setup the development environment quickly. You can refer to the following steps to setup your environment: Open "Terminal" on Ubuntu 10.04 LTS. $sudo su (Change to “root” authority)
3.3.1 Installing required packages Open a terminal console and perform following command: $ sudo apt‐get install \ bison build‐essential \ ccache \ dpkg \ flex \ gcc g++ gettext \ intltool \ libarchive‐zip‐perl libdbus‐glib‐1‐dev libfreetype6‐dev \ libgtk2.0‐dev liblzo2‐2 liblzo2‐dev \ libncurses5‐dev liborbit2‐dev libtool libx11‐dev libxml2‐dev \ m4 \ patch \ rpm \ tcl \ uboot‐mkimage uuid uuid‐dev \ zlib1g zlib1g‐dev 3.3.2 setenv.sh This script is used to configure the development environment quickly. It will configure the folder paths for your system, and you can also add/modify the setenv.sh by your- self if you have added/changed the folders and paths.
Then you can see u-boot_crc.bin and u-boot_crc.bin.crc are being built and located in ../image. 3.4.2 Build Linux Kernel Image Advantech offer you a script to build the “uImage” quickly. You can build a uImage by following these steps: Open "Terminal" on Ubuntu 10.04 LTS. $sudo su (Change to “root” authority) Input user password.
Source Code Modification This section will guide you how to use the Linux source code. You will see some examples of using BSP source code in this section. 3.5.1 Add a Driver to Kernel by menuconfig You can add a driver to the kernel by menuconfig. Here is an example to guide you how to add a RTC driver (Seiko Instruments S-35390A) to Linux kernel.
Select “Device Drivers”→”Real Time Clock”, you will see an option “Seiko Instruments S-35390A” on the list. Choose this option then exit and save your configuration. Figure 3.2 Selecting Seiko Instruments S-35390A Change directory to “source/linux-3.0.35/arch/arm/mach-mx6”, edit the “board- mx6q_ROM-3420.h” and “board-mx6q_advantech.c”. Please add below codes to source/linux-3.0.35/arch/arm/mach-mx6/board- mx6q_ROM-3420.h: static struct i2c_board_info mxc_i2c6_board_info[] __initdata = {...
3.5.2 Change ROM-3420 Boot Logo By default, ROM-3420 shows a boot logo when booting up. You can replace the logo to whatever your want by following the steps below: Install “netpbm” # sudo apt‐get install netpbm Prepare your boot logo. For example: bootlogo.png (Under folder Desktop/boot- logo) Note! This picture should be in PNG format and less than 224 colors.
3.7.2 Boot up from the onboard eMMC 3.7.2.1 Transfer whole system to onboard eMMC Boot up from SD card (refer to Chapter 3.6.1) Login as root and perform following commands: $ cd /mk_inand $ ./mkinand‐linux.sh /dev/mmcblk0 3.7.2.2 Set the DIP switch Open one debug console Turn off ROM-3420 Set Dip switch to 1-ON/2-OFF/3-OFF Turn on ROM-3420...
Edit the helloworld.c with the following source code: #include <stdio.h> void main() printf("Hello World!\n"); Save the file and exit. #$CC ‐o helloworld helloworld.c (To compile helloworld.c) Then you can see “helloworld” in current directory. Insert the Linux system SD card to your development computer. #cp helloworld /media/rootfs/tool (/media/rootfs is the mounted point of your Linux system SD card) Remove this SD card and insert it to ROM-DB3900, then open debug console.
gpio_direction_input(SABRESD_GPIO8); gpio_direction_output(SABRESD_GPIO9, 0); 3.8.4 RS232 Initial Code The RS232 initial code as below. It shows you how to initial COM port. 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 environment in u-boot as below: setenv ...
Page 43
is 806 horizontal lines. The DCLK frequency is 60 MHz. Therefore, we can get 10 (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 high). struct fb_videomode { const char *name; (optional) u32 refresh; (optional)
The transfer rate supported When a single port is active, the pixel clock rate is up to 264 MHz When both LVDS ports are active, you have to follow below condition: Each pixel clock rate may be up to 220 MHz** The sum of pixel clock rates is up to 240 MHz Note! In Single Display mode, the pixel clock of HDMI is up to 264 MHz, each...
Boot up from the SD card, onboard eMMC or SATA DOM 4.1.1 Boot up from the SD card 4.1.1.1 Create a bootable SD card Open one terminal console and change directory to BSP scripts folder Perform following command: (assume SD card's device name is /dev/sdf) sudo ./mksd‐linux.sh /dev/sdf Remove SD card from PC/NB 4.1.1.2...
Chapter Advantech Services This chapter introduces Advantech design in serviceability, technical support and warranty policy for ROM-3420 evaluation kit.
Easy Development Advantech has support firmware, root file-system, BSP or other develop tools for cus- tomers. It helps customers to easy develop their carrier board and differentiate their embedded products and applications.
Page 50
Advantech has been involved in the industrial computer industry for many years and found that customers usually have the following questions when implementing modu- lar designs.
Page 51
RISC COM. Design stage When a product moves into the design stage, Advantech will supply a design guide of the carrier board for reference. The carrier board design guide provides pin defini- tions of the COM connector with limitations and recommendations for carrier board design, so customers can have a clear guideline to follow during their carrier board development.
RISC platforms usually have less support for ready-made drivers on the carrier board, therefore the customer has to learn from trial and error and finally get the best solution with the least effort. Advantech’s team has years of experience in customer support and HW/SW development knowledge. Consequently, we can support customers with professional advice and information as well as shortening development time and enabling more effective product integration.
Technical Support and Assistance For more information about this and other Advantech products, please visit our web- site at: http://www.advantech.com/ http://www.advantech.com/ePlatform/ For technical support and service, please visit our support website at: <http://support.advantech.com.tw/support/> Visit the Advantech web site at www.advantech.com/support where you can find the latest information about the product.
Page 56
Our company network supports you worldwide with offices in Germany, Austria, Switzerland, Great Britain and the USA. For more information please contact: FORTEC Elektronik AG FORTEC Elektronik AG Hauptniederlassung Büro West Lechwiesenstr. 9 Hohenstaufenring 55 86899 Landsberg am Lech 50674 Köln Telefon: +49 (0) 8191 91172-0 Telefon:...