Atmark Techno Armadillo-440 Startup Manual

Lcd model development set
Hide thumbs Also See for Armadillo-440:
Table of Contents

Advertisement

Quick Links

Armadillo-440 LCD Model Development
Set
Startup Guide
A4400-D00Z
Version 1.1.5
2012/02/29
Atmark Techno, Inc.
Armadillo Site

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Armadillo-440 and is the answer not in the manual?

Questions and answers

Summary of Contents for Atmark Techno Armadillo-440

  • Page 1 Armadillo-440 LCD Model Development Startup Guide A4400-D00Z Version 1.1.5 2012/02/29 Atmark Techno, Inc. Armadillo Site...
  • Page 2 Armadillo-440 LCD Model Development Set Startup Guide Atmark Techno, Inc. 060-0035 AFT Bldg., N5E2, Chuo-ku, Sapporo TEL 011-207-6550 FAX 011-207-6570 Copyright © 2010-2012 Atmark Techno, Inc. Version 1.1.5 2012/02/29...
  • Page 3: Table Of Contents

    Armadillo-440 LCD Model Development Set Startup Guide Startup Guide Table of Contents 1. Preface ..............................8 1.1. Document and Related Files Versions ....................8 1.2. Who Should Read This Document ....................8 1.3. Document Structure ........................8 1.4. Typographical Conventions ......................9 1.4.1.
  • Page 4 Armadillo-440 LCD Model Development Set Startup Guide Startup Guide 6.4.5. NTP Client ........................33 6.4.6. SMTP Client ........................33 6.4.7. at-cgi ..........................34 6.5. Using Bonjour ........................... 48 6.5.1. Installing Bonjour ......................49 6.5.2. Operational Check ......................50 6.5.3. Bonjour Hostnames ......................51 7.
  • Page 5 Armadillo-440 LCD Model Development Set Startup Guide Startup Guide List of Figures 3.1. Layout Diagram ..........................16 3.2. Connection Diagram ........................... 17 3.3. microSD Insertion Diagram ........................18 4.1. Boot Log ............................19 4.2. Shutdown Method ..........................23 5.1. Function Tests - Menu ......................... 24 5.2.
  • Page 6 Armadillo-440 LCD Model Development Set Startup Guide Startup Guide 10.1. Turning LED5 On ..........................59 10.2. Turning LED5 Off ..........................59 10.3. Displaying LED5 State ........................59 10.4. Specifying timer as Trigger for LED3 ....................60 10.5. Displaying LED3 Timer ........................60 10.6.
  • Page 7 Armadillo-440 LCD Model Development Set Startup Guide Startup Guide List of Tables 1.1. Fonts ..............................9 1.2. Relationship Between Prompt and Execution Environment ................9 1.3. Abbreviations Used in Command Entry Examples ..................9 3.1. Serial Communication Configuration ..................... 18 4.1.
  • Page 8: Preface

    This document contains precautions for use and explanations on how to use the software functionality available in the default state as at time of purchase. On obtaining the Armadillo-440 LCD Model Development Set, please check the op- eration of all hardware and the use of the default software.
  • Page 9: Typographical Conventions

    Armadillo-440 LCD Model Development Set Startup Guide Preface • Checking hardware operation with the function test application • Configuration • Application usage 1.4. Typographical Conventions 1.4.1. Fonts Fonts are used in the following ways in this document. Table 1.1. Fonts...
  • Page 10: Acknowledgements

    Armadillo-440 LCD Model Development Set Startup Guide Preface This is used for helpful information. 1.5. Acknowledgements The software used on Armadillo is composed from Free Software / Open Source Software. This Free Software / Open Source Software is the result of efforts from developers from all over the world. We would like to take this opportunity to...
  • Page 11: Precautions

    Armadillo-440 LCD Model Development Set Startup Guide Precautions Chapter 2. Precautions 2.1. Safety Precautions In order to use this product safely, please take special note of the following precautions. • Be sure to read all product manuals and related documentation before using this product.
  • Page 12: Handling Precautions

    Areas Easily Damaged The microSD connector and its cover and the connectors of the flat cable from Armadillo-440 and Armadillo-460 to the LCD Expansion Board can be easily damaged. Please be careful not to damage them by handling them with too much force.
  • Page 13: Write Prohibited Regions

    Please note that the other included goods and software are not covered by the warranty. Armadillo-420, Armadillo-440 and Armadillo-460 have cleared Class A when tested with the AC adapter included in the Development Set (UNIFIVE US300520).
  • Page 14: Exporting

    2.8. Trademarks • Armadillo is a registered trademark of Atmark Techno, Inc. All other company names, product names and related trademarks are the property of their respective owners. ™ and ® marks are omitted.
  • Page 15: Before Getting Started

    Armadillo-440 LCD Model Development Set Startup Guide Before Getting Started Chapter 3. Before Getting Started 3.1. Layout Diagram The layout diagram of the Armadillo-440 is shown below. Please make sure to confirm the position of each interface.
  • Page 16: Layout Diagram

    Armadillo-440 LCD Model Development Set Startup Guide Before Getting Started Figure 3.1. Layout Diagram...
  • Page 17: Preparation

    Armadillo-440 LCD Model Development Set Startup Guide Before Getting Started Serial Interfaces 2 and 3 have +3.3V I/O levels. They can be used at RS232C levels by connecting the RS232C level conversion adapter included in the Development Set. When using the RS232C level conversion adapter, please connect pin 1 (the yellow or green wire) to CON9 1 for Serial Interface 2 and to CON9 2 for Serial Interface 3.2.
  • Page 18: Microsd Insertion

    Armadillo-440 LCD Model Development Set Startup Guide Before Getting Started 3.3.1. microSD Insertion CON1 is a hinge type connector. The cover on the connector must be opened in order to insert and remove the card. When opening, the cover should first be unlocked by sliding the upper part of the connector horizontally in the direction shown by the OPEN arrow.
  • Page 19: Startup And Shutdown

    Armadillo-440 LCD Model Development Set Startup Guide Startup and Shutdown Chapter 4. Startup and Shutdown 4.1. Startup Connect the power supply to the Armadillo. The boot log shown below will be displayed in the serial console program. Hermit-At v2.0.0 (armadillo4x0) compiled at 23:03:08, Mar 08 2010 Uncompressing kernel................
  • Page 20 Armadillo-440 LCD Model Development Set Startup Guide Startup and Shutdown usbcore: registered new device driver usb MXC I2C driver MXC I2C driver MC34704 regulator successfully probed mc34704 0-0054: Loaded NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  • Page 21 USB Mass Storage support registered. input: gpio-keys as /devices/platform/gpio-keys.0/input/input0 rtc-s353xxa 2-0030: rtc core: registered rtc-s353xxa as rtc0 rtc-s353xxa: S-353XXA Real Time Clock class driver, (C) 2008 Atmark Techno, Inc.i2c /dev entries driver mxsdhci: MXC Secure Digital Host Controller Interface driver mxsdhci: MXC SDHCI Controller Driver.
  • Page 22: Login

    Armadillo-440 LCD Model Development Set Startup Guide Startup and Shutdown Changing file permissions: done Configure /home/ftp: done Starting syslogd: done Starting klogd: done Starting basic firewall: done Setting hostname: done Configuring network interfaces: udhcpc (v0.9.9-pre) started fec: PHY @ 0x0, ID 0x0007c0f1 -- LAN8720 Sending discover...
  • Page 23: Shutdown Method

    Armadillo-440 LCD Model Development Set Startup Guide Startup and Shutdown [armadillo ~]# halt [armadillo ~]# System is going down for system reboot now. Starting local stop scripts. Exiting Syslogd! Syncing all filesystems: done Unmounting all filesystems: done The system is going down NOW !! Sending SIGTERM to all processes.
  • Page 24: Function Tests

    Armadillo-440 LCD Model. The function test application is automatically displayed on the LCD panel after the Armadillo-440 LCD Model is powered on. Please go through all tests in this chapter after obtaining the Armadillo-440 LCD Model in order confirm that the hardware is operating correctly.
  • Page 25: Buttons

    5.2. Buttons This tests whether or not the state of the buttons can be obtained. Press each button on the Armadillo-440 and the Armadillo-400 Series LCD Expansion Board and check that "Push" is displayed in the correct position on the screen.
  • Page 26: Backlight

    Armadillo-440 LCD Model Development Set Startup Guide Function Tests Figure 5.4. Function Tests - Touch Screen 5.4. Backlight This tests whether or not the brightness of the backlight on the LCD panel can be adjusted. The backlight brightness is adjusted with the slider. Check that moving the slider to the left darkens the backlight and moving it to the right brightens the blacklight.
  • Page 27: Playing Back Sound

    Armadillo-440 LCD Model Development Set Startup Guide Function Tests Figure 5.6. Function Tests - Sound 5.5.1. Playing Back Sound Check that a sound can be heard after pressing the "Play" button in "Audio Test." 5.5.2. Recording Sound Press the "Record" button in "Recording Test" to record sound with the microphone. After recording for approximately five seconds, the "Record"...
  • Page 28: Stopping The Function Test Application From Starting

    Armadillo-440 LCD Model Development Set Startup Guide Function Tests 5.7. Stopping the Function Test Application from Starting After having completed all of the function tests, if you wish to stop the function test application from starting automatically, execute the commands shown in Figure 5.8, “Stopping Automatic Startup”...
  • Page 29: Network

    Armadillo-440 LCD Model Development Set Startup Guide Network Chapter 6. Network This chapter explains the default network configuration and how to change this configuration, and also explains how to use the included network applications. 6.1. Default Network Connection Mechanisms In its default state, the Armadillo is configured to have an IP address assigned to it automatically with either DHCP or Zeroconf so that it can connect to the network.
  • Page 30: Logging In To Change Network Configuration

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.2.2. Logging In to Change Network Configuration Boot-time network configuration can be changed by editing the appropriate file under /etc/config and saving it to the config region. Refer to Chapter 12, Config Region - Configuration File Storage for details on saving to the config region.
  • Page 31: Firewall

    Armadillo-440 LCD Model Development Set Startup Guide Network First, enable the new configuration. This is not required if the settings were saved to the config region and the system rebooted. [armadillo ~]# ifdown -a [armadillo ~]# ifup -a Figure 6.4. Enabling Configuration Use ping to try to communicate with another host on the same network.
  • Page 32: Ftp

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.2. FTP 6.4.2.1. FTP Server File transfers can be performed from another PC via the network. The username shown in Table 6.3, “Username for FTP Login” can be used to login. Table 6.3. Username for FTP Login...
  • Page 33: Web Server

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.4. Web Server A Web server runs on the Armadillo. The Web server's top page will be displayed when the URL of the Armadillo (http:// [Armadillo's IP address]) is accessed from a Web browser.
  • Page 34: At-Cgi

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7. at-cgi It is possible to perform network configuration and firmware management from a Web browser. 6.4.7.1. AT Admin: Admin Screen The top page of at-cgi as shown in Figure 6.13, “AT Admin: Overview” will be displayed in the Web browser upon accessing http://[Armadillo's IP address]/index.cgi.
  • Page 35: At Admin: System Username / Password Authorization

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.2. AT Admin: Authorization Authorization is required upon selecting "System" in AT Admin. A sub-window like that shown in Figure 6.14, “AT Admin: System Username / Password Authorization” will be displayed at this time.
  • Page 36 Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.3. AT Admin: Overview The following explains each part of the Overview screen. Three main groups of information are displayed in the Overview. • Network • Uptime • Firmware 6.4.7.3.1. Network In Network, a summary of the current network configuration is displayed. The following three items are shown.
  • Page 37: At Admin: System - System Overview

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4. AT Admin: System 6.4.7.4.1. AT Admin: System - System Overview Configuration information related to the Armadillo can be checked on the System Overview. Three main groups of information are displayed here.
  • Page 38 Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4.1.1. Network Info Network configuration details are shown in Network Info. IP Address The current IP address is shown here. The meaning of the text displayed after the IP address is as shown below.
  • Page 39: At Admin: System - Network

    Armadillo-440 LCD Model Development Set Startup Guide Network Kernel The version of the Linux kernel is shown here. 6.4.7.4.2. AT Admin: System - Network Changes to various network related configuration options can be carried out on the Network screen. There are two main areas of configuration on the Network screen.
  • Page 40 Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4.2.1. IP Address AUTO IP Select to have an IP address acquired and set automatically. This is selected by default. DHCP is used if a DHCP server is found on the network. If a DHCP server is not found, Zeroconf is used to automatically assign an address.
  • Page 41: At Admin: System - Network Update

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4.2.3. Update After entering the changes, press the "Update" button and a screen similar to the following will be displayed after which the Armadillo will begin to operate with the new network configuration.
  • Page 42: At Admin: System - Password

    Armadillo-440 LCD Model Development Set Startup Guide Network Figure 6.18. AT Admin: System - Password 6.4.7.4.3.1. User and Password Details Username Enter the administrator username. This is set to "admin" by default. Current password Enter the current password for confirmation. This is set to "admin" by default.
  • Page 43: At Admin: System - Firmware

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4.3.2. Updating Username and Password Configuration After entering the changes, press the "Update" button to update the configuration. Just updating the configuration does not save the changes. In order to save the changes so that they remain in effect after the next boot, the configuration must be saved to flash memory.
  • Page 44 Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4.4.1. Applications (Userland) Userland (applications) updates are performed here. Image Selection Box Userland images available on the server are shown here. Select the preferred image. URL Input Box The URL of the userland image file to be downloaded is displayed here. A URL can be entered directly into this box by enabling the "Edit"...
  • Page 45: At Admin: System - Updating Firmware

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4.4.3. Image Updates After pressing "Update userland" or "Update kernel," Figure 6.20, “AT Admin: System - Updating Firmware” will be displayed. Figure 6.20. AT Admin: System - Updating Firmware Do not disconnect the Armadillo's power supply while the firmware is being updated. If the power is disconnected before the update completes, the Armadillo may no longer boot correctly.
  • Page 46: At Admin: System - Save & Load

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4.5. AT Admin: System - Save & Load System configuration can be saved to flash memory, reloaded or initialized, and the system rebooted on the Save & Load screen. Figure 6.21. AT Admin: System - Save & Load...
  • Page 47: At Admin: System - Reload

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4.5.1. Save & Load System Settings System configuration can be saved to flash memory or loaded here. Save current configuration to flash memory (Save) Save configuration such as that set in "Network Settings" and "Password" to flash memory. The saved configuration will remain in effect even after the Armadillo is rebooted.
  • Page 48: Using Bonjour

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.4.7.4.5.2. System Reboot The system can be rebooted here. Reboot the system (Reboot) This reboots the Armadillo. Approximately 10 seconds after Figure 6.23, “AT Admin: System - Reboot” is dis- played, the Armadillo will shutdown and then restart.
  • Page 49: Installing Bonjour

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.5.1. Installing Bonjour 6.5.1.1. Windows Bonjour for Windows must be installed to use Bonjour on Windows. As third-party distribution of this software is not permitted, it is not included in the development set. Please download it from Apple Inc.'s web site.
  • Page 50: Operational Check

    Armadillo-440 LCD Model Development Set Startup Guide Network 6.5.2. Operational Check The following demonstrates how to find an Armadillo using Bonjour in a Windows environment. For other operating systems, please refer to the relevant manuals for that environment. Start Internet Explorer on the Windows PC.
  • Page 51: Bonjour Hostnames

    Armadillo-440 LCD Model Development Set Startup Guide Network Figure 6.26. Web Server Top Page If "http on armadillo440 [00:11:0C:XX:XX:XX]" is not displayed in the Explorer Bar, please refer to Section 13.2, “The Armadillo Cannot Be Found with Bonjour”. If "AT Admin" is not displayed, please correctly configure the PC side network settings by referring to Section 6.1, “Default Network Connection Mechanisms”.
  • Page 52: Storage

    Armadillo-440 LCD Model Development Set Startup Guide Storage Chapter 7. Storage 7.1. Devices Which Can Be Used as Storage The devices shown in Table 7.1, “Storage Devices” can be used as storage on Armadillo-440. Table 7.1. Storage Devices Device Type Disk Device...
  • Page 53: Changing And Formatting Storage Partitions

    Armadillo-440 LCD Model Development Set Startup Guide Storage [armadillo ~]# umount /mnt Figure 7.3. Unmounting Storage 7.3. Changing and Formatting Storage Partitions Normally, purchased microSD cards and USB memory come with one partition which is formatted with a FAT32 file- system.
  • Page 54: Ext3 Filesystem Creation

    Armadillo-440 LCD Model Development Set Startup Guide Storage mmcblk0: p1 p2 Syncing disks. Figure 7.4. Altering Partitions with the fdisk Command The mkfs.vfat command is used to format a storage device with a FAT32 filesystem, while the mke2fs command is used for EXT2 and EXT3 filesystems.
  • Page 55: Sound

    Chapter 8. Sound The Armadillo-440 LCD Model incorporates an audio codec and can both record and play sound. For the specifica- tions of the audio driver, refer to "Audio" in the "Armadillo-400 Series Software Manual." This chapter explains how to record and play sound.
  • Page 56: Recording

    Armadillo-440 LCD Model Development Set Startup Guide Sound Display help. [armadillo ~]# aplay -M -twav sample.wav Figure 8.1. Playing Back Sound 8.1.2. Recording The arecord command is used to record sound with ALSA. The arecord options are the same as those for aplay.
  • Page 57: Input Devices

    Chapter 9. Input Devices This chapter explains how to receive events from input devices. On the Armadillo-440 LCD Model, the touch screen and buttons are supported as input devices. For the specifications of the touch screen and button drivers, refer to the "Touch Screen"...
  • Page 58: Swmgr Example

    Armadillo-440 LCD Model Development Set Startup Guide Input Devices Table 9.2. Buttons Supported By swmgr Buttons Description LCD_SW1 LCD_SW2 LCD_SW3 Specify the number of times to wait for an event in place of LOOP. Specify 0 for an unlimited number of times.
  • Page 59: Other Devices

    Armadillo-440 LCD Model Development Set Startup Guide Other Devices Chapter 10. Other Devices 10.1. LED The Armadillo-400 Series LEDs are supported as LED class devices. The LEDs can be controlled with the files under the LED class directories. For the LED class directories and corresponding LEDs, refer to Table 10.1, “LEDs and LED Class Directories”.
  • Page 60: Gpio

    Armadillo-440 LCD Model Development Set Startup Guide Other Devices Table 10.2. trigger Configuration Configuration Description none No trigger is set. mmc0 LED acts as microSD card access lamp. timer Blink on and off at certain intervals. After setting this trigger, delay_on and delay_off files appear under the LED class directory which can be used to set the on and off times in millisecond increments.
  • Page 61: Changing I/O Direction

    Figure 10.7. Configuring CON9_2 Input Level 10.3. RTC As the Armadillo-440 LCD Model incorporates a calendar clock (Real Time Clock), the date and time will continue to be displayed correctly even after turning the power off and on. To set time information to the RTC, first set the system clock. After that, then set the hardware clock (RTC) to match the system clock.
  • Page 62: Setting System Clock With Ntp Client

    Armadillo-440 LCD Model Development Set Startup Guide Other Devices [armadillo ~]#date Displays the current system clock [armadillo ~]#date 012304562000.00 [armadillo ~]#date Check that the system clock was set correctly 10.3.2. Setting System Clock with NTP Client The system clock can be set using the NTP client. For more information, refer to Section 6.4.5, “NTP Client”.
  • Page 63: Boot Modes And Bootloader Functions

    JP1 can be used to select between the on-board flash memory boot mode and the UART boot mode on Armadillo-440. In the on-board flash memory boot mode, the bootloader stored in the bootloader region of flash memory is booted. The UART boot mode is used for system restore when, for example, the bootloader stored in flash memory has been dam- aged.
  • Page 64: Console Configuration

    Armadillo-440 LCD Model Development Set Startup Guide Boot Modes and Bootloader Functions Hermit-AT moves to batch mode when communicating with the Hermit-AT down- loader. This is because the Hermit-AT downloader sends a tilde in order to establish the communication. When moving from interactive mode to batch mode and when an entered command succeeds in batch mode the following is displayed.
  • Page 65: Specifying Image File To Boot

    11.2.2. Specifying Image File to Boot On the Armadillo-440, in addition to on-board flash memory it is also possible to boot an image file from storage or a tftp server. For more information, refer to "Kernel and Userland Placement" in the "Armadillo-400 Series Software Manual."...
  • Page 66: Config Region - Configuration File Storage

    Armadillo-440 LCD Model Development Set Startup Guide Config Region - Configuration File Storage Chapter 12. Config Region - Configuration File Storage The config region is a flash memory region used to save files in order to maintain data even after hardware resets. The flatfsd command is used to write data to and read data from the config region.
  • Page 67: Config Region Initialization

    Armadillo-440 LCD Model Development Set Startup Guide Config Region - Configuration File Storage [armadillo ~]# flatfsd -w Figure 12.3. Config Region Initialization...
  • Page 68: Troubleshooting

    Armadillo-440 LCD Model Development Set Startup Guide Troubleshooting Chapter 13. Troubleshooting 13.1. The Armadillo Will Not Boot • Please check that the green LED turns on after connecting power. If it does not turn on, please check that the power supply is properly connected.
  • Page 69 Armadillo-440 LCD Model Development Set Startup Guide Startup Guide Revision History Revision Date Description 1.0.0 2010/03/12 • Initial Release 1.1.0 04/28/2010 • Made correction to message after halt in Figure 4.2, “Shutdown Method” • Added Section 5.6, “RTC (Real-Time Clock)”...
  • Page 70 Armadillo-440 LCD Model Development Set Startup Guide Version 1.1.5 2012/02/29 Atmark Techno, Inc. 060-0035 AFT Bldg., N5E2, Chuo-ku, Sapporo TEL 011-207-6550 FAX 011-207-6570...

This manual is also suitable for:

Armadillo-460

Table of Contents