Advantech ROM-3310 User Manual
Advantech ROM-3310 User Manual

Advantech ROM-3310 User Manual

Risc base rtx 2.0 module-ti cortex a8 am3352 1ghz

Advertisement

Quick Links

User Manual
ROM-3310
RISC base RTX 2.0 module-TI
Cortex A8 AM3352 1Ghz
https://manual-hub.com/

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ROM-3310 and is the answer not in the manual?

Questions and answers

Summary of Contents for Advantech ROM-3310

  • Page 1 User Manual ROM-3310 RISC base RTX 2.0 module-TI Cortex A8 AM3352 1Ghz https://manual-hub.com/...
  • Page 2: Product Warranty (2 Years)

    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.
  • Page 3: Declaration Of Conformity

    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-3310 User Manual...
  • Page 4: Packing List

    Part No. Description ROM-DB3900-SW00E Development carrier board for RTX Rev.A1 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" from http://com.advantech.com/ ROM-3310 User Manual https://manual-hub.com/...
  • Page 5: Ordering Information

    ROM-3310WS-MCA1E Part No. TI Cortex A8 AM3352 1GHz TI Cortex A8 AM3352 1GHz 512MB 512MB Memory NAND Flash Nor Flash 24bit TTL Giga LAN GPIO UART Optional Heat sink 0 ~60°C -40 ~85°C Operation Temp.   ROM-3310 User Manual https://manual-hub.com/...
  • Page 6 ROM-3310 User Manual https://manual-hub.com/...
  • Page 7: Table Of Contents

    Test....................10 USB Test....................11 SD Test ....................11 SPI Nor Flash Test ..........13 GPIO Test ....................14 Table 3.1: ROM-3310 GPIO Default Setting ......14 VGA Test....................15 I2C Test....................15 CAN Test....................17 3.10 I2S Test....................17 3.11...
  • Page 8 Obtaining an RMA Number............51 5.5.2 Returning the Product for Repair ..........51 5.5.3 Service Charges ................. 52 5.5.4 Repair Report ................53 5.5.5 Custody of Products Submitted for Repair ......... 53 5.5.6 Shipping Back to Customer ............53 ROM-3310 User Manual viii https://manual-hub.com/...
  • Page 9: Chapter 1 General Introduction

    Chapter General Introduction This chapter gives background information on the ROM-3310. Sections include:  Introduction  Specification https://manual-hub.com/...
  • Page 10: Introduction

    Introduction ROM-3310 adopts TI Cortex A8 AM3352 1Ghz architecture as its SOC solution. The main features of this platform are followed by RTX 2.0 standard, with a heat-sink- less, compact, reliable & great power management. Therefore, ROM-3310 platform is suitable for following applications: ...
  • Page 11: Mechanical Specifications

    The operating temperature refers to the environmental temperature for the model. 1.5.2 Operating Humidity Operating humidity: 0% ~ 90% relative humidity, non-condensing 1.5.3 Storage temperature Storage temperature: -40~85° C 1.5.4 Storage Humidity Relative humidity: 95% @ 60°C ROM-3310 User Manual https://manual-hub.com/...
  • Page 12 ROM-3310 User Manual https://manual-hub.com/...
  • Page 13: Chapter 2 H/W Installation

    Chapter H/W Installation This chapter gives mechanical and connector information on the ROM-3310 CPU Computer on Module. Sections include:  Connector Information  Mechanical Drawing https://manual-hub.com/...
  • Page 14: Board Connector

    MCU programming port CN1201 JTAG connector CN1202 Debug port Table 2.2: SW10 (Boot selection) Jumper Mode Jumper Mode 1-ON SPI-ROM 1-OFF 2-OFF 2-ON Table 2.3: CN1803 (MCU programming port) Signal Signal JTAG VCC SBWTDIO SBWTCK SBWTCK ROM-3310 User Manual https://manual-hub.com/...
  • Page 15 +3.3V COM0_TX COM0_RX SW2 (Boot select) Location on carrier board ROM-DB3900 ROM-3310 default boot from module e.MMC flash so please set carrier board SW2 110, The detail please refer to rom-db3900 manual. BOOT_SEL2# BOOT_SEL1# BOOT_SELOW Boot Source Carrier SATA Float...
  • Page 16: Rom-3310 Board Block Diagram

    ROM-3310 Board Block Diagram Below is the block diagram of ROM-3310. Figure 2.1 ROM-3310 Block Diagram ROM-3310 Board Looks ROM-3310 User Manual https://manual-hub.com/...
  • Page 17: Chapter 3 Software Functionality

    Chapter Software Functionality This chapter details the software programs on the ROM-3310 plat- form. https://manual-hub.com/...
  • Page 18: Test Tools

    Test Tools All test tools must be verified on ROM-3310 Evaluation kit, please prepare required test fixtures before verifying each specified I/O. If you have any problem to get the test fixture, please contact your Advantech contact window for help.
  • Page 19: Usb Test

    USB Test Insert USB flash disk then assure it is in ROM-3310 device list. 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/sdb -s 25720832 -n 16 01887800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |....|...
  • Page 20 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. ROM-3310 User Manual https://manual-hub.com/...
  • Page 21: Spi Nor Flash Test

    ################## --------------SPI mtdblock0 Write 0 PASS !!! ================================================================ ================================================================ ###################-----------> SPI Test all mtdblock0 PASS !!! ================================================================ ================================================ ############ Finish SPI all blocks Test PASS !!! ================================================ Note! ROM3310CS-MCA1E default support 5 x UART & 1 x SPI. ROM-3310 User Manual https://manual-hub.com/...
  • Page 22: Gpio Test

    GPIO Test Table 3.1: ROM-3310 GPIO Default Setting ROM-DB3900 Linux OS /sys/class/gpio ROM-DB3900 GPIO CHIP GPIO0 gpio200 GPIO(3) GPIO1 gpio201 GPIO(4) GPIO2 gpio202 GPIO(5) GPIO3 gpio203 GPIO(6) GPIO4 gpio204 GPIO(7) GPIO5 gpio205 GPIO(8) GPIO6 gpio206 GPIO(9) GPIO7 gpio207 GPIO(10) GPIO8...
  • Page 23: Vga Test

    Testing through gst-launch (for default single display) #cd /unit_tests/. #./AutoRun_lvds.sh Then you can see the video demo on the default display screen. I2C Test There is one I2C buses in ROM-3310. #ls /sys/class/i2c-dev i2c-1 #i2cdetect -l i2c-1 OMAP I2C adapter adapter Please try below command to know if there is any device connected to i2c bus 1.
  • Page 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ....f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ....ROM-3310 User Manual https://manual-hub.com/...
  • Page 25: Can Test

    I2S Test MIC IN command as following: (44100 is the sample rate) #amixer sset 'Right PGA Mixer Mic3R' on #arecord -t wav -c 1 -r 44100 -d 5 2.wav Audio out command as following: #aplay /unit_tests/Advantech.wav ROM-3310 User Manual https://manual-hub.com/...
  • Page 26: Lan Test

    TX bytes:234899 (229.3 KiB) If you would like to config IP manually, please use below command: #ifconfig eth0 xxx.xxx.xxx.xxx up Here is a real case for your reference. The hosts(ROM-3310) IP is 192.168.0.10; the target (A desktop computer) IP is 192.168.0.12 #/etc/init.d/netplugd stop #ifconfig eth0 down #ifconfig eth0 192.168.0.10...
  • Page 27: Rs232 /Rs422/Rs485 Test

    3.12 RS232 /RS422/RS485 Test As you can see below, there are 5 UART supported by ROM-3310. /dev/ttyO0 is reserved for ROM-3310 debug port (ROM-3310 CN1202), the rest UART ports could be applied by user. Test RSB232 #cd /unit_tests/ #./AutoRun_uart232 =====test rs232!=====...
  • Page 28: Watchdog Timer Test

    +-----------------------------------+ Close uart /dev/ttyO1 OK ..Close uart /dev/ttyO4 OK ..Note! UART1 Jump RSB485 mode, you can refer the detail jump information from ROM-DB3900 what a develop board of Advantech. 3.13 Watchdog Timer Test Executing ‘AutoRun_WTD ‘ #cd /unit_tests #./AutoRun_WTD 15...
  • Page 29: Rgb Test

    3.14 RGB Test Execute the following commands to run the Photo demo application on ROM-3310. /unit_tests/ #./AutoRun_RGB test framebuffer! Please enter the test result (y:Pass , n:Fail) +---------------------------+ | [Frame Buffer] Test Pass! | +---------------------------+ Then you can see the White, Red, Blue, Green, Black, color on the default display screen.
  • Page 30: Package Content

    Ubuntu 12.04 LTS installed to your host PC before start ROM-3310 evaluation/development. 3.15 Package Content We would offer you two different kinds of Linux package for ROM-3310. One is pre- built system image for system recovery another is source code package (BSP). 3.15.1 Pre-built System Image You are able to find the pre-built image 3310LIVxxxx_yyyy-mm-dd.tar.gz from ROM-...
  • Page 31 This folder contains scripts for configure system and compile scripts images automatically. source This folder contains source code owned by Advantech. 3.15.2.1 cross_compiler You can use the cross compiler toolchain to compile the uImage and related applica- tions. (gcc version is 4.7.3 20130226) 3.15.2.2...
  • Page 32 → just for sample test tools – 3.15.2.5 scripts Some scripts provided by Advantech will help you configure system or build the images more quickly. Please check them as follows: – setenv.sh → A script to setup the developing environment quickly.
  • Page 33: Set Up Build Environment

    All instructions in this guide are based on Ubuntu 12.04 LTS developing environment. Please install the Ubuntu 12.04 LTS at your PC/NB in advance. When you obtain the ROM-3310 Linux source code package, please refer to follow- ing instructions to extract to your developing environment: Copy "335XLBVxxxx_yyyy-mm-dd.bin"...
  • Page 34: Build Instructions

    This section will guide you how to build the u-boot & Linux kernel. 3.15.4.1 Build u-boot Image Advantech has written a script to build the u-boot quickly. You can build u-boot image by follow below steps: Open "Terminal" on Ubuntu 12.04 LTS..
  • Page 35: Source Code Modification

    Input user password. Change directory to BSP's scripts folder #. setenv.sh (To configure the developing environment automatically) #./cfg_kernel.sh menuconfig Then you will see a GUI screen (Linux Kernel Configuration) as below: Figure 3.1 Linux Kernel Configuration ROM-3310 User Manual https://manual-hub.com/...
  • Page 36 Select “Device Drivers” → ”Real Time Clock”, you will see an option “Seiko Instru- ments 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.2.0-psp04.06.00.11/arch/arm/mach-omap2”, edit the “board-rom3310.h” and “board-advantech.c”. Please add below codes to source/linux-3.2.0-psp04.06.00.11/arch/arm/mach-omap2/board-rom331.h: static...
  • Page 37: Create A Linux System Boot Media

    #cd ./3310LIVxxxx_yyyy-mm-dd/scripts #./mksd-linux.sh /dev/sdb Type “y” (Start to copy files, wait until it shows [Done]) Then insert the Linux system SD card to ROM-3310, it will boot up with Linux envi- ronment. Boot from Onboard Flash If you’ve already had a Linux system SD card, you can refer following steps to copy the content to onboard flash and then boot from onboard flash.
  • Page 38: Debug Message

    3.15.7 Debug Message ROM-3310 can connect to a host PC (Linux or Windows) by using console cable and debug port adapter. In order to communicate with host PC, serial communication pro- gram such as HyperTerminal, Putty is must require. Below is the detail instruction of how to set up serial console, a “HyperTerminal”...
  • Page 39 /* Horizontal Sync Pulse Width */ vfp; /* Vertical front porch */ vbp; /* Vertical back porch */ vsw; Vertical Sync Pulse Width */ unsigned intpxl_clk;/* Pixel clock */ unsigned charinvert_pxl_clk;/* Invert Pixel clock */ ROM-3310 User Manual https://manual-hub.com/...
  • Page 40 /tftpboot. You need execute “chmod 777 /tftpboot” on ROM-3310 to let the tftp server work. Then, user can tftp to ROM-3310 by tftp client in host PC. Use command to get and put file like this:...
  • Page 41 Server The ftp server on ROM-3310 is vsftpd and you should manually start it using flowing command. root@am335x-adv:/ # /etc/init.d/vsftpd start While, the stoping command is: root@am335x-adv:/ # /etc/init.d/vsftpd stop Note! After start the ftp server. You had to manually add user ftp:...
  • Page 42 You can get an IP address via DHCP, also you can configure a static IP address for ROM-3310. Click on the "Network Cfg" icon on the screen. Then Advantech NIC Configuration utility will be started. You can do some configuration of NIC.
  • Page 43 3.15.8.4 Date/Time Configuration You can use the tool we provide to modify the system time. Click on the "Time Settings" icon on the screen. Then Advantech Date/Time Settings utility will be started. Figure 3.5 Date/Time Settings After the time is adjusted, please click “OK” button, and the date will be saved. Mean- while, the RTC time will be synchronized to the time you just set.
  • Page 44 Matrix comes as a 6x4 matrix of icons or as a 4x3 matrix depending on the display resolution. The launcher for Matrix is just a simple QT application that displays a Webkit base browser that points to the URL http://localhost:80. Figure 3.7 Matrix ROM-3310 User Manual https://manual-hub.com/...
  • Page 45 /etc/init.d/matrix-gui-2.0 start If you want the Matrix to start with the system by default, please run the following command on ROM-3310: root@am335x-adv:# cp /etc/init.d/matrix-gui-2.0 /etc/rc5.d/ S97matrix-gui-2.0 When you want to cancel the default startup, just remove the S97matrix-gui-2.0 file.
  • Page 46 It is intended for use on embedded Linux devices and is used in this capacity in the OpenEmbedded and OpenWrt projects. Advantech Embedded Linux for ROM-3310 has built-in OPKG package manager, with this tool you can install most of the required software online, and manage them, such as uninstall, upgrades and so on.
  • Page 47: Development Guide And Reference

    /media/rootfs/tool Note! /media/rootfs is the mounted point of your Linux system SD card Remove this SD card and insert it to ROM-3310, then open serial con- sole. On ROM-3310 platform, type #root (Login) On ROM-3310 platform, type #cd /tool On ROM-3310 platform, type #./helloworld...
  • Page 48 Development of GUI Programs with QT Library With the development kit, you can develop a qt-based GUI program. Follow these steps, you can quickly convert your QT Project to a GUI application for ROM-3310: On your host PC, set up QT Build Environment.
  • Page 49 = WDIOS_ENABLECARD; ioctl( fd, WDIOC_SETOPTIONS, & i_en); Get the current timeout value: /*get the current timeout value the driver used*/ int timeout = 0; ioctl (fd, WDIOC_GETTIMEOUT, &timeout); Please refer to <BSP_PATH>/source/demo/watchdog folder to get more information. ROM-3310 User Manual https://manual-hub.com/...
  • Page 50 GPIO Programming ROM-3310 has 8 gpios. Please refer to <BSP_PATH>/source/demo/gpio Usage: root@am335x-adv:# ./gpio 200 out 1 Note! “200” means gpio0, and so 200-209 corresponds to gpio0-gpio9 “out” means output. “1” is the value set to the corresponding gpio port. Can Programming Please refer to <BSP_PATH>/source/demo/can_test.
  • Page 51: System Recovery

    Chapter System Recovery This chapter introduces how to recover Linux operating system if it is damaged accidentally. https://manual-hub.com/...
  • Page 52: System Recovery

    Insert one SD card to your developing computer. Check the SD card location, like /dev/sdb. Please wait until dump disk is done. On ROM-3310 platform, type #cd /mk_inand. On ROM-3310 platform, type #./mkinand-linux.sh /dev/mmcblk1. On ROM-3310 platform, type “y “.
  • Page 53: Advantech Services

    Chapter Advantech Services This chapter introduces Advan- tech design in serviceability, tech- nical support and warranty policy for ROM-5420 evaluation kit https://manual-hub.com/...
  • Page 54: Risc Design-In Services

    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 55 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 56 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.
  • Page 57: Contact Information

    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. Conse- quently, we can support customers with professional advice and information as well as shortening development time and enabling more effective product integration.
  • Page 58: Technical Support And Assistance

    (Dead-on-Arrival). The DOA Cross-Shipment excludes any shipping damage, cus- tomized and/or build-to-order products. For those products which are not DOA, the return fee to an authorized ADVANTECH repair facility will be at the customers' expense. The shipping fee for reconstructive products from ADVANTECH back to customers' sites will be at ADVANTECH's expense.
  • Page 59: Exclusions From Warranty

    "Problem D escription". Vague entries such as "does not work" and "failure" are not acceptable. If you are uncertain about the cause of the problem, please contact ADVANTECH's Application Engineers (AE). They may be able to find a solution that does not require sending the product for repair.
  • Page 60: Service Charges

    Product updates and tests upon the request of customers who are without war- ranty. If a product has been repaired by ADVANTECH, and within three months after such a repair the product requires another repair for the same problem, ADVANTECH will do this repair free of charge.
  • Page 61: Repair Report

    5.5.5 Custody of Products Submitted for Repair ADVANTECH will retain custody of a product submitted for repair for one month while it is waiting for return of a signed P/I or payment (A/R). If the customer fails to respond within such period, ADVANTECH will close the case automatically. ADVAN- TECH will take reasonable measures to stay in proper contact with the customer dur- ing this one month period.
  • Page 62 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 the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd. 2015 https://manual-hub.com/...

This manual is also suitable for:

Rom-3310cs-mca1eRom-3310ws-mca1e

Table of Contents