MicroArm MINI2440 User Manual

Browse online or download User Manual for Motherboards MicroArm MINI2440. MicroArm MINI2440 User`s manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 246
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - MINI2440 User’s Manual

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 1 -

Page 2 - COPYRIGHT STATEMENT

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 10 -

Page 3 - Table of Contents

High Performance Low Cost Embedded Systems 4.2.4 Testing Serial Ports Note: The MINI2440 system goes with a standard driver for three serial ports. T

Page 4

High Performance Low Cost Embedded Systems In your MINI2440, run the “SComAssistant” application, click on the “receive” button (it will be chan

Page 5

High Performance Low Cost Embedded Systems Chapter 5 Setting up Linux Development Environment 5.1 Setting up Fedora 9.0 Development Environment 5.1.1

Page 6

High Performance Low Cost Embedded Systems Step3:it enters the graphic interface, click on the “Next” button. Step4:set the installation language. I

Page 7 - Chapter 1 Introduction

High Performance Low Cost Embedded Systems Step5:set the keyboard, in this example, we chose the U.S. key board. Copy right reserved © MicroArm S

Page 8

High Performance Low Cost Embedded Systems Step 6:configure the network. Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108,

Page 9 - 1.3.4 OS Support

High Performance Low Cost Embedded Systems In our example, we didn’t set it as “DHCP”, we used a static IP instead, and typed the IP and subnet mas

Page 10

High Performance Low Cost Embedded Systems Click on the OK button and go on to set the machine name, gateway and DNS. Copy right reserved © Micro

Page 11 - 1.3.4.2 WinCE Features

High Performance Low Cost Embedded Systems Step 7:set the time zone. We chose “Asia/Shanghai”. Copy right reserved © MicroArm Systems, Inc. 1612

Page 12 - Chapter 2 Getting Started

High Performance Low Cost Embedded Systems Step 8:set up the administrator’s password, i.e. the root’s password. “root” is the super user. It should

Page 13

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 11 -

Page 14

High Performance Low Cost Embedded Systems Step 9:disk partition. We followed the default option. Before do this, please back up disk data. Copy ri

Page 15 - 2.2.1 Entering BIOS

High Performance Low Cost Embedded Systems Click on “Next”, it will warn the user that all the data will be deleted. Usually we would do this install

Page 16 - 2.2.2 Installing USB Driver

High Performance Low Cost Embedded Systems Here is the format process: Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cul

Page 17

High Performance Low Cost Embedded Systems Step 11:select the installation type, in this example, we chose “customize” Copy right reserved © Mic

Page 18

High Performance Low Cost Embedded Systems Step 12:configure the “server” item as follows: Copy right reserved © MicroArm Systems, Inc. 1612 2nd

Page 19

High Performance Low Cost Embedded Systems Step 13:begin installation Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cul

Page 20

High Performance Low Cost Embedded Systems Step14: installation complete. Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108,

Page 21

High Performance Low Cost Embedded Systems Step15: after installation completed, click on the reboot button on the page shown in step 14 Copy right

Page 22 - 2.2.3 Entering Main Menu

High Performance Low Cost Embedded Systems Step16: skip this license page and go “forward” Copy right reserved © MicroArm Systems, Inc. 1612 2nd

Page 23

High Performance Low Cost Embedded Systems Step17: create new users. We ignored user creation and went to the next step. Copy right reserved © M

Page 24

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 12 -

Page 25 - 2.2.4 Sub Menus

High Performance Low Cost Embedded Systems Press “continue” to go on. Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cul

Page 26

High Performance Low Cost Embedded Systems Step18: setup date and time. We ignored this and went to the next step. Copy right reserved © MicroAr

Page 27

High Performance Low Cost Embedded Systems Step19: confirm hardware information. We just clicked on “Finish”. Copy right reserved © MicroArm Sys

Page 28 - (4) adding partitions

High Performance Low Cost Embedded Systems On the popup window shown below, just click on the red marked button. Copy right reserved © MicroArm S

Page 29

High Performance Low Cost Embedded Systems Step 20: on the login page, login as “root” Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave

Page 30

High Performance Low Cost Embedded Systems Input the password we just created for “root” Copy right reserved © MicroArm Systems, Inc. 1612 2nd Av

Page 31

High Performance Low Cost Embedded Systems When login as “root”, the following popup window will show up, just click on “Continue” Copy right reser

Page 32

High Performance Low Cost Embedded Systems Below is the interface the user will see after a successful login. Copy right reserved © MicroArm Sys

Page 33 - 2.3 Board Device Testing

High Performance Low Cost Embedded Systems 5.2 Basic Configurations and Applications 5.2.1 Adding a New User Account To create a new user (not root)

Page 34

High Performance Low Cost Embedded Systems Step 2: open the “Users Manager” window Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. S

Page 35

High Performance Low Cost Embedded Systems Click on “Hyper Terminal” and a Window will pop up as below. Click on the “No” button Click on the “Cancel

Page 36

High Performance Low Cost Embedded Systems Step 3: click on the “Add User” button, type the user name and password Copy right reserved © MicroA

Page 37

High Performance Low Cost Embedded Systems Click on “OK”, you will see that a new “plg” user has been created, and a “plg” directory has been cr

Page 38

High Performance Low Cost Embedded Systems 5.2.2 Accessing Windows Files You can easily access shared files in Windows from either a virtual machine

Page 39 - 2.3.2 Device Testing

High Performance Low Cost Embedded Systems Step 2: set Fedora9 Open the window below: Copy right reserved © MicroArm Systems, Inc. 1612 2n

Page 40

High Performance Low Cost Embedded Systems Select “Windows share” in the “service type” field Input the shared file’s name and its windows mach

Page 41

High Performance Low Cost Embedded Systems Click on “connect”, the following window will show up: Go ahead and “connect” again, you will see

Page 42

High Performance Low Cost Embedded Systems If you want to access this directory from the command line utility, you can do it by hitting the TAB ke

Page 43

High Performance Low Cost Embedded Systems To disconnect the shared directory, right click on the shared directory and following the operations in

Page 44

High Performance Low Cost Embedded Systems . Step 2: run the command below to add the compiler’s path to system variables: #gedit /root/.bashrc This

Page 45

High Performance Low Cost Embedded Systems To configure a 2.95.3 compiler append line “export PATH=$PATH:/usr/loca/arm/2.95.3/bin” in the “/root/.bas

Page 46

High Performance Low Cost Embedded Systems After naming this connection another window will require you to select a serial port that will be used to

Page 47

High Performance Low Cost Embedded Systems 5.4 Uncompressing Source Code and Installing Application Utilities This section will introduce how t

Page 48

High Performance Low Cost Embedded Systems (1) Get Linux source code ready In Fedora9, create a temporary director “/tmp/linux” by running the fo

Page 49

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 142

Page 50 - Chapter 3 Running Linux

High Performance Low Cost Embedded Systems #cd /opt/FriendlyARM/mini2440 #tar xvzf /tmp/linux/mkyaffs2image.tgz –C / Note: C is a capital letter,

Page 51 - 3.1.2 Main Interface

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 144

Page 52

High Performance Low Cost Embedded Systems Select (*) Disabled, and click on the “OK” button to disable the firewall permanently. Now you can start t

Page 53 - 3.1.3 Playing MP3

High Performance Low Cost Embedded Systems 5.5.3 Booting System via NFS After setting up and running the NFS service, the user can set the NFS as th

Page 54 - 3.1.4 Playing Video

High Performance Low Cost Embedded Systems The third item, in this example “192.168.1.111” is the target board’s gateway IP, The fourth item, in this

Page 55 - 3.1.5 Browsing Pictures

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35

Page 56

High Performance Low Cost Embedded Systems Chapter 6 Setting up WinCE Development Environment 6.1 Setting up WinCE 5.0 Development Environment 6.1.1 I

Page 57

High Performance Low Cost Embedded Systems 2.2 Power Up 2.2.1 Entering BIOS The board is shipped with a preinstalled SUPERVIVI in Nor Flash. When the

Page 58 - 3.1.7 Calculator

High Performance Low Cost Embedded Systems (2)Locate the “Microsoft Windows CE 5.0.msi.exe” icon in the installation CD and double click on it to sta

Page 59 - 3.1.8 Command Line

High Performance Low Cost Embedded Systems (4) On the “License Agreement” window, check “I accept the terms in the license agreement” and go to “Next

Page 60 - 3.1.9 File Browser

High Performance Low Cost Embedded Systems (6)Select “custom” and go to “Next” (7)Select the destination folder, (in this example, we chose the defa

Page 61 - 3.1.10 Configuring Network

High Performance Low Cost Embedded Systems (8)Select the system platform. Please select the “ARMV4I” option, it would be better to check the “Shared

Page 62 - 3.1.11 Testing Ping

High Performance Low Cost Embedded Systems (10) On the pop up window shown below, click on the “Next” button: (11)Enter the installation interface.

Page 63 - 3.1.12 Browser

High Performance Low Cost Embedded Systems (12)Finish installation (13)The next step is to install the PB5 patches. They are in the “WindowsCE 5.0\P

Page 64 - 3.1.13 Testing LED

High Performance Low Cost Embedded Systems (14) On the instllation wizard, click on the “Next” button: (15) On the license agreement window, select

Page 65 - 3.1.14 Testing EEPROM

High Performance Low Cost Embedded Systems (16) On the public source code change agreement, select “I accept” and go to “Next”: (17) On the custom s

Page 66 - 3.1.15 PWM Buzzer

High Performance Low Cost Embedded Systems (18) On the window shown below, click on the “Next” button: (19) Start the installation process. It may t

Page 67 - 3.1.16 Serial Port Assistant

High Performance Low Cost Embedded Systems (20)If the following pop up window shows up in the process, just click on the “OK” button to advance: (21

Page 68

High Performance Low Cost Embedded Systems SUPERVIVI is developed and maintained by Friendly Arm, it is based on vivi. It starts with a function

Page 69

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 160

Page 70 - 3.1.17 Audio Recording

High Performance Low Cost Embedded Systems Step2:Start “Platform Builder 5.0”, go to “File” -> “Manage CatalogFeatures” Click on the “Import” but

Page 71 - 3.1.18 Using USB Camera

High Performance Low Cost Embedded Systems Step3:Expand the “Catalog” tree and its subtree “BSPs”, select the “Samsung SMDK2440:ARMV4M” option to com

Page 72 - 3.1.19 Using CMOS Camera

High Performance Low Cost Embedded Systems directory and ucheck its readonly property. (2) Start the PB program and click on “File” -> “Open Works

Page 73 - 3.1.20 Testing LCD

High Performance Low Cost Embedded Systems (3) Select “Build OS” -> “Sysgen” to compile, or the user can click on the “ ” icon to compile. This pr

Page 74 - 3.1.21 Backlight Control

High Performance Low Cost Embedded Systems (4) After the compilation is done, an “nk.bin” and an “nk.nb0” files will be generated. The “nk.bin”is a r

Page 75 - 3.1.22 A/D Conversion

High Performance Low Cost Embedded Systems In the compiling process, there could be various warnings, usually they don’t cause trouble and can be ign

Page 76 - 3.1.23 Testing User Buttons

High Performance Low Cost Embedded Systems (2) On the “Export SDK Wizard” window, click on the “Next” button (3) On the “Prodect Properties” window,

Page 77 - 3.1.24 Testing Touch Pen

High Performance Low Cost Embedded Systems (4) On the “Development Language” window, check the languages the user wants the system to support, go to

Page 78

High Performance Low Cost Embedded Systems (6) Go to “Platform” -> “SDK” -> “Configure SDK…” and a setup window will pop up. The user can set u

Page 79 - 3.1.26 Language Setting

High Performance Low Cost Embedded Systems driver will no longer be used. Installing this USB driver doesn’t need to connect to a board. It is just fo

Page 80

High Performance Low Cost Embedded Systems (8) Click on the “OK” button to return to the PB5 main menu then select “Platform” -> “SDK” -> “Buil

Page 81

High Performance Low Cost Embedded Systems (10) The compiling process takes several minutes, after it is done, click on the “Done” button: (11) An S

Page 82 - 3.1.28 Rotating Screen

High Performance Low Cost Embedded Systems 6.1.5 Installing Embedded Visual C++ In order to develop API based WinCE applications, the user may need

Page 83

High Performance Low Cost Embedded Systems (2) On the installation wizard window, click on the “Next” button (3) On the license agreement window, se

Page 84

High Performance Low Cost Embedded Systems (4) Input the serial number and the user information, and go to “Next” (5) Select components. Follow the

Page 85 - 3.1.30 System Shutdown

High Performance Low Cost Embedded Systems (6) Choose the destination folder. Follow the default setting and go to “Next” (7) On the pop up window s

Page 86 - 3.1.31 Watchdog

High Performance Low Cost Embedded Systems (8) Start installing the EVC manager, the following window will pop up, wait till it is done. (9) After t

Page 87

High Performance Low Cost Embedded Systems (12) Select required components and the destination folder. Follow the default setting and go to “Next” (

Page 88

High Performance Low Cost Embedded Systems (14) After the installation is done, click on the “OK” button Note: if the user now clicks on “Start” -&g

Page 89 - FAT32/VFAT

High Performance Low Cost Embedded Systems (1) Double click on the SP4’s “setup” icon, on the wizard, click on “Next” (2) On the license agreement w

Page 90 - 3.2.2 Mounting a SD Card

High Performance Low Cost Embedded Systems A warning message will pop up Click on the (“continue anyway”) the left button to finish the inst

Page 91

High Performance Low Cost Embedded Systems (3) Ready to install SP4, go to “Next” (4) Start the installation process Copy right reserved © Micro

Page 92 - 3.2.3 Mounting a CMOS Camera

High Performance Low Cost Embedded Systems (5) Done with the installation (6) It is time to install the SDK file that was exported in the last sect

Page 93

High Performance Low Cost Embedded Systems (7) On the window shown below, click on “Close” (8) On the license agreement window, select “Accpet” and

Page 94

High Performance Low Cost Embedded Systems (9) On the “Customer Information” window, type corresponding information and go to “Next” (10) On the set

Page 95

High Performance Low Cost Embedded Systems (11) On the destination folder window, follow the default setting, go to “Next” (12) On the ready to inst

Page 96 - Chapter 4 Running WinCE

High Performance Low Cost Embedded Systems (13) Start the installation process (14) After the installation is done, click on “Finish” Copy right re

Page 97 - 4.1.3 Configuring Web Server

High Performance Low Cost Embedded Systems Now, the user can go to “Start” -> “Programs” -> “Microsoft eMbedded Visual C++ 4.0” -> “eMbedded

Page 98 - 4.2.1 Mounting a USB Drive

High Performance Low Cost Embedded Systems 6.1.7 Configuring WinCE Kernel This section will introduce a procedure to configure a WinCE kernel (1) Star

Page 99 - 4.2.2 Mounting a SD Card

High Performance Low Cost Embedded Systems (4) On the design template window, choose a user preferred template (in this example, we chose “Mobile Han

Page 100 - 4.2.4 Testing Serial Ports

High Performance Low Cost Embedded Systems (6) On the network configuration window, follow the default setting and go to “Next” (7) On the window sh

Page 101

High Performance Low Cost Embedded Systems Now let’s test the USB connection: Connect the MINI2440 board to a host PC via a USB cable. Toggle t

Page 102 - Environment

High Performance Low Cost Embedded Systems (8) On the window shown below, click on “Finish” (9) Go back to the PB5 main window, a new project has be

Page 103

High Performance Low Cost Embedded Systems (10) Go to “Platform” -> “Setting…” to open a project configuration window Copy right reserved © M

Page 104

High Performance Low Cost Embedded Systems (11) On the setup window, click on the “Locale” tab to set up the kernel language, here we chose the simpl

Page 105

High Performance Low Cost Embedded Systems (12) Click on the “Build Options” tab, uncheck the “Enable CE Target Control Support” and the “Enable KITL

Page 106

High Performance Low Cost Embedded Systems (13) Add support for a USB mouse and keyboard, expand the “Catalog” tree, the “Core OS” subtree -> “Win

Page 107

High Performance Low Cost Embedded Systems (14) Go through the same procedure to enable the support for USB storage devices Copy right reserved ©

Page 108

High Performance Low Cost Embedded Systems (15) Add support for file systems. Go to “Core OS” -> “File Systems and Data Store” -> “File System

Page 109

High Performance Low Cost Embedded Systems (17) Change the default IP. Open the “platform.reg” file and locate the items red depicted in the screen s

Page 110

High Performance Low Cost Embedded Systems (18) Change the background. Copy a bmp file to the “C:\WINCE500\Platform\SMDK2440\Files” directory, and na

Page 111

High Performance Low Cost Embedded Systems (19) Save the changes. Go to “File” -> “Save” to save the changes. Go to “Build OS” -> “Sysgen” or c

Page 112 - Here is the format process:

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 2 -

Page 113

High Performance Low Cost Embedded Systems (2) On the window shown below, check the first option and click on the “Next” button On the following

Page 114

High Performance Low Cost Embedded Systems For more details on how to configure a customized kernel, the user can search the internet for more infor

Page 115 - Step 13:begin installation

High Performance Low Cost Embedded Systems Chapter 7 System Backup and Reinstallation 7.1 System Backup and Reinstall 7.1.1 System Backup Note: this s

Page 116

High Performance Low Cost Embedded Systems (3) Start the DNW application. Connect the board to the PC via a USB cable. If the DNW’s title bar shows “

Page 117

High Performance Low Cost Embedded Systems The backup process begins: After it is done, the DNW window will show the information below Copy right r

Page 118

High Performance Low Cost Embedded Systems In this example, the generated file was 66M bytes. It contained all the information of Nand Flash, for mor

Page 119

High Performance Low Cost Embedded Systems 7.1.2 System Restore Note: this section assumes the system has already been installed a USB driver and boot

Page 120 - Press “continue” to go on

High Performance Low Cost Embedded Systems (3) Start the DNW application, connect the board to the host PC via a USB cable. If the DNW’s title bar sh

Page 121

High Performance Low Cost Embedded Systems After the process is done, switch the boot mode to the Nand Flash side, and reset or power on the board.

Page 122

High Performance Low Cost Embedded Systems 7.2 Installing Linux 7.2.1 Partition Note: partitioning will delete all the data in Nand Flash (1) Connect

Page 123

High Performance Low Cost Embedded Systems 7.2.2 Installing Bootloader (1) Start the DNW application, connect the MINI2440 board to a host PC via a

Page 124

High Performance Low Cost Embedded Systems Open the shipped CD, click on the dnw.exe, if you can see “USB:OK”, this means the installation is a

Page 125

High Performance Low Cost Embedded Systems (2) Go to “USB Port” -> “Transmit/Restore”, select a supervivi (it is in the “images/linux/” directory)

Page 126

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 211

Page 127

High Performance Low Cost Embedded Systems (3) Once the download is finished, BIOS will automatically write the kernel in Nand Flash’s corresponding s

Page 128

High Performance Low Cost Embedded Systems In the shipped CD: root_default.img - default image file, based on the arm-linux-gcc-3.4.1 library root_m

Page 129

High Performance Low Cost Embedded Systems Note: the process takes at least 2 to 3 minutes, the bigger the file is, the longer it takes After the do

Page 130

High Performance Low Cost Embedded Systems (2) Select item [x] to start partitioning Nand Flash Note: in this process, some Nand Flash might report b

Page 131

High Performance Low Cost Embedded Systems 7.3.2 Installing Bootloader The MINI2440 system has two bootloaders for WinCE: supervivi and nboot.bin, the

Page 132

(3) After the download is done, BIOS will automatically write to Nand Flash’s corresponding section and return to the main menu 7.3.3 Installing Ebo

Page 133

High Performance Low Cost Embedded Systems (3) After the download is done, BIOS will automatically write this eboot to Nand Flash’s corresponding sec

Page 134

High Performance Low Cost Embedded Systems (2) Go to “USB Port” -> “Transmit/Restore”, select a kernel image file, in this example we chose an NK.b

Page 135

High Performance Low Cost Embedded Systems 2.2.3 Entering Main Menu Note: the following programs that are downloaded via USB need to run together w

Page 136

High Performance Low Cost Embedded Systems (3) After the kernel has been burned to Nand Flash, WINCE will auto run as below Copy right reserved ©

Page 137

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, A

Page 138

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 222

Page 139

High Performance Low Cost Embedded Systems Appendix B: Schematics and Device Details Board Schematic Copy right reserved © Micro

Page 140

High Performance Low Cost Embedded Systems Address Space The left drawing is the memory allocation diagram when the system is set to the Nor F

Page 141

High Performance Low Cost Embedded Systems SDRAM The mini2440 has two 32M bytes (64M bytes in total) SDRAMs (HY57V561620FTP), commonly known as m

Page 142

High Performance Low Cost Embedded Systems FLASH The mini2440 is equipped with two types of Flash: one Nor Flash of type SST39VF1601, 2M bytes me

Page 143

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 227

Page 144 - 5.4 Configuring NFS Service

High Performance Low Cost Embedded Systems You can connect the mini2440 to other power supplies too. The mini2440 has a power inlet CON8, which

Page 145

High Performance Low Cost Embedded Systems The diagram is presented below: Copy right reserved © MicroArm Systems, Inc

Page 146 - 5.5.3 Booting System via NFS

High Performance Low Cost Embedded Systems Item[x]: Partition Nand Flash with a default setting, it is the same as executing command: bon part 0 320

Page 147

High Performance Low Cost Embedded Systems Reset System The mini2440 utilizes a microprocessor supervisory circuit MAX811 to reset its CPU:

Page 148

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 231

Page 149

High Performance Low Cost Embedded Systems User Test Keys The mini2440 has 6 test keys. They all are CPU interrupt input signals and will be trig

Page 150

High Performance Low Cost Embedded Systems A/D Input Test The mini2440 has 4 A/D conversion channels. They reside on the CON4-GPIO interface (pleas

Page 151

High Performance Low Cost Embedded Systems PWM Buzzer The on-board SPEAKER is controlled by PWM, the diagram is shown below. GPB0 can be set to PWM

Page 152

High Performance Low Cost Embedded Systems Serial Port The S3C2440 has three serial ports: UART0, 1 and 2. UART0 can be used in conjunction with UA

Page 153

High Performance Low Cost Embedded Systems USB Interface The mini2440 has two USB ports: USB Host and USB Slave. The USB Host is the same as a USB

Page 154

High Performance Low Cost Embedded Systems LCD Interface The mini2440’s LCD interface is a 41-pin 0.5mm white connector. It has what a common LCD

Page 155

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman

Page 156

High Performance Low Cost Embedded Systems EEPROM The mini2440 has a EEPROM AT24C08 connected to CPU’s I2C. It has 256 bytes memory and is mainly f

Page 157

High Performance Low Cost Embedded Systems Partition Table Type “f”, you will be prompted to type a starting address and a end address, this table pre

Page 158

High Performance Low Cost Embedded Systems Network Interface The mini2440 incorporates the DM9000 chip and can communicate with 10/100M networks.

Page 159

High Performance Low Cost Embedded Systems Audio Interface The S3C2440 has an I2S bus interface, it can be connected to an external 8/16 bit st

Page 160 - 6.1.2 Installing BSP

High Performance Low Cost Embedded Systems JTAG Interface When a development board just comes off from production lines, it is just a bare board

Page 161

High Performance Low Cost Embedded Systems GPIO GPIO is the abbreviated form of General Purpose Input Output. The mini2440 has a 34 Pin 2.0mm GPI

Page 162 - 6.1.3 Compiling Kernel

High Performance Low Cost Embedded Systems 31 GPB0 TOUT0/GPB0 32 GPB1 TOUT1/GPB1 33 CLKOUT0 9 UT1 H10 CLKOUT0/GPH 34 CLKO CLKOUT1/GP CMOS Camera

Page 163

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 245

Page 164

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 246

Page 165

High Performance Low Cost Embedded Systems 2.2.4 Sub Menus This section will briefly introduces some submenu functions Type “p” to enter the

Page 166 - 6.1.4 Exporting SDK

High Performance Low Cost Embedded Systems (2) deleting partitions Type “d”, it will prompt you to enter the partition’s name you want to delete

Page 167

High Performance Low Cost Embedded Systems (3) saving configurations Type “w” to save the current configuration. For instance, if you just delete

Page 168

High Performance Low Cost Embedded Systems (4) adding partitions Type “a”, it will prompt you to enter some basic information (such as name, offse

Page 169

High Performance Low Cost Embedded Systems (5) resetting partition table Type “r” to import the BIOS partition table and the current table will b

Page 170

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 3 -

Page 171

High Performance Low Cost Embedded Systems (1) browsing current configuration Type “v” to browse the current configuration: Copy right reserved

Page 172

High Performance Low Cost Embedded Systems (2) setting parameters Type “s” to set parameters. There are two basic parameters (we don’t recommend

Page 173

High Performance Low Cost Embedded Systems Linux_cmd_line is another very important parameter, for example, to change the kernel boot informatio

Page 174

High Performance Low Cost Embedded Systems Now when the system reboots, the booting and login messages will be output at serial port 1 and vivi’s

Page 175

High Performance Low Cost Embedded Systems Those devices include PWM buzzer, RTC real time clock, AD conversion, user test keys, touch screen, LCD, In

Page 176

High Performance Low Cost Embedded Systems (3) Click on the “Configuration” menu, set the download address to “0x30000000”. (4) Select item [d]

Page 177

High Performance Low Cost Embedded Systems to begin download. (6) When download is done, it will auto run, you will see the following screenshot Co

Page 178

High Performance Low Cost Embedded Systems Meanwhile, the LCD will show the following picture. Note: when compiling the 2440test, you can set th

Page 179

High Performance Low Cost Embedded Systems If the default setting is 7 inch LCD, you will see the following screenshot: If the default setti

Page 180

High Performance Low Cost Embedded Systems 2.3.2 Device Testing After installing the test utility, you can perform the MINI2440 device testing. (

Page 181

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 4 -

Page 182

High Performance Low Cost Embedded Systems Press the “-” key, the buzzer’s frequency will decrease, press the “+” key; the frequency will increase;

Page 183

High Performance Low Cost Embedded Systems Press the “ESC” key you will exit the test and return to the main menu. (3) Testing AD conversion I

Page 184

High Performance Low Cost Embedded Systems Press the “ESC” key you will exit the test and return to the main menu. (4) Testing user keys In th

Page 185

High Performance Low Cost Embedded Systems Press the “ESC” key you will exit the test and return to the main menu. (5) Testing touch screen If

Page 186

High Performance Low Cost Embedded Systems Press the “ESC” key you will exit the test and return to the main menu. (6) Testing LCD or VGA Bef

Page 187

High Performance Low Cost Embedded Systems (7) Testing I2C In the main menu, select “7” and enter to test. The test utility will read from and wri

Page 188

High Performance Low Cost Embedded Systems After this test is done, it will automatically return to the main menu. (8) Testing audio output C

Page 189

High Performance Low Cost Embedded Systems Press the “+” or the “-” button to turn up or down the volume. Press the “ESC” key you will exit the tes

Page 190

High Performance Low Cost Embedded Systems These messages show that SD card access is successful. After the test is done it will automatically ret

Page 191

High Performance Low Cost Embedded Systems With a 3.5 inch screen, you will see this: Copy right reserved © MicroArm Systems, Inc. 1612 2nd

Page 192

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 5 -

Page 193

High Performance Low Cost Embedded Systems Chapter 3 Running Linux 3.1 Software Applications and Configurations in Linux Qtopia Note: Qtopia 2.2.0 i

Page 194

High Performance Low Cost Embedded Systems 2. After entering the system, go to “Start” -> “Settings” -> “Configurations” -> “Recalibrate

Page 195

High Performance Low Cost Embedded Systems On top of the interface, you will see five icons, which represent five types of programs/files. Single

Page 196

High Performance Low Cost Embedded Systems Among those programs, the ones in the “FriendlyAFriendlyARM. They are only for testing. All the other

Page 197

High Performance Low Cost Embedded Systems 3.1.4 Playing Video In the “Application Programs” sub-interface, single click on the “video” icon,

Page 198

High Performance Low Cost Embedded Systems 3.1.5 Browsing Pictures In the sub-interface, single click on the “image” icon to open the image browse

Page 199

High Performance Low Cost Embedded Systems Cutting Images: In the edit mode, click on the “scissors” button, the image will be shaded. Select

Page 200

High Performance Low Cost Embedded Systems Note: the picture browser lists all the files in the “Documents” sub-interface. Note: you can al

Page 201 - 7.1.1 System Backup

High Performance Low Cost Embedded Systems Go to “Application Programs” -> “System Info” -> “Storage”, you will be able to see more details

Page 202

High Performance Low Cost Embedded Systems 3.1.8 Command Line The “terminal” is a commonly used interface in Linux. Users can command the s

Page 203 - The backup process begins:

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 6 -

Page 204

High Performance Low Cost Embedded Systems When a graphic display interface is connected and a GUI is incorporated, a GUI based “command window” wil

Page 205 - 7.1.2 System Restore

High Performance Low Cost Embedded Systems You can browse the directories and files in the system via this browser. Note: Qtopia-2.2.0 doesn’t h

Page 206

High Performance Low Cost Embedded Systems 3.1.11 Testing Ping Please connect your board to a network, set up the network parameters such as g

Page 207

High Performance Low Cost Embedded Systems Note: To ping an internet domain name, you need to set up your gateway and DNS correctly and make sure yo

Page 208 - 7.2.1 Partition

High Performance Low Cost Embedded Systems 3.1.13 Testing LED In the “FriendlyARM” subgroup, click on the “LED” icon: On the popup windo

Page 209 - 7.2.2 Installing Bootloader

High Performance Low Cost Embedded Systems the “All On” button will turn on all the LEDs, and clicking on the “All Off” will turn off all the LEDs. Ch

Page 210

High Performance Low Cost Embedded Systems “Write Data” button, the button will change to a process bar indicating the writing process; click on the “

Page 211

High Performance Low Cost Embedded Systems 3.1.16 Serial Port Assistant Note: before start this program please connect the serial port your want t

Page 212

High Performance Low Cost Embedded Systems The title bar of the utility shows the default setting is “ttySAC1 115200 8N1 [C]”, and it implies

Page 213

High Performance Low Cost Embedded Systems Click on “Disconnect” to disconnect the connection. Click on “Setting…” to enter the parameter settin

Page 214 - 7.3.1 Partition

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 7 -

Page 215

High Performance Low Cost Embedded Systems 3.1.17 Audio Recording In the “FriendlyARM” subgroup, click on the “recorder” icon: Click on

Page 216 - 7.3.2 Installing Bootloader

High Performance Low Cost Embedded Systems Click on the “PLAY” button to play what you recorded and you can see what you recorded has been save

Page 217 - 7.3.3 Installing Eboot

High Performance Low Cost Embedded Systems will take a picture which will be saved in the “Documents”. This utility has provides functions to adjust b

Page 218

High Performance Low Cost Embedded Systems Click on the “Snap” button you will be able to take a picture which will be saved in the “Documents” s

Page 219

High Performance Low Cost Embedded Systems This utility has two test modes: auto and manual. Auto-loop loops automatically. By executing in th

Page 220

High Performance Low Cost Embedded Systems Follow the prompt, click on the blue area, you will close the backlight. Note:you just close the backl

Page 221

High Performance Low Cost Embedded Systems Turning the W1 adjustable resistor, you will see the conversion changes. It has 10 digit precision, th

Page 222

High Performance Low Cost Embedded Systems Press down any buttons on the board, the corresponding button icons will change to blue, release them,

Page 223 - Board Schematic

High Performance Low Cost Embedded Systems The “penpad” utility is an easy to use program developed by FriendlyARM. Start it, a yellow drawing ar

Page 224 - Address Space

High Performance Low Cost Embedded Systems 3.1.25 Barcode Scanning Our system supports USB barcode scanners which are actually a HID device very s

Page 225

High Performance Low Cost Embedded Systems 1.3.2 MINI2440 Hardware Features  CPU - Samsung S3C2440A,400MHz,maximum 533Mhz  SDRAM - On board 64M

Page 226

High Performance Low Cost Embedded Systems It now supports three languages: English, Chinese and Japanese. When you select “English”, then click

Page 227 - Power System

High Performance Low Cost Embedded Systems 3.1.27 Setting up Time Zone, Date, Time and Alarm Clock When you get our system, the date and time usu

Page 228

High Performance Low Cost Embedded Systems Besides you can set the alarm clock. When it is triggered, you will hear a beeping sound which lasts

Page 229

High Performance Low Cost Embedded Systems Select the direction you want, click on “OK” you will see the screen rotate. Note: sometimes you need

Page 230 - Reset System

High Performance Low Cost Embedded Systems Click on the “Auto Start Program” icon in the “FriendlyARM” subgroup. Those program listed are ava

Page 231 - User LED

High Performance Low Cost Embedded Systems 3.1.30 System Shutdown In the “Setting” subgroup, click on the “shutdown” icon you will see four opti

Page 232 - User Test Keys

High Performance Low Cost Embedded Systems There is a “brightness and power” icon in the “setting” subgroup. Since our system doesn’t have a p

Page 233 - A/D Input Test

High Performance Low Cost Embedded Systems Note: before take any action, please read the notes in the red area: once start, no way out, feed the dog

Page 234 - PWM Buzzer

High Performance Low Cost Embedded Systems 3.2.1 Mounting a USB Drive/Portable Hard Disk After inserting a USB drive, the system will automaticall

Page 235 - Serial Port

High Performance Low Cost Embedded Systems The USB drive has a device name “/dev/udisk”. Entering the “/udisk” directory, you will be able to bro

Page 236 - USB Interface

High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2nd Ave. SW PMB#108, Cullman, AL 35055 - 9 -

Page 237 - LCD Interface

High Performance Low Cost Embedded Systems 3.2.2 Mounting a SD Card Similar to USB drive mounting, a SD card will be automatically detected and mo

Page 238

High Performance Low Cost Embedded Systems The system will create a “/sdcard” directory and mount the SD card on it. Copy right reserved © Mi

Page 239

High Performance Low Cost Embedded Systems 3.2.3 Mounting a CMOS Camera Connect a CAM130 camera to your board’s CAMERA interface, power on your

Page 240 - Network Interface

High Performance Low Cost Embedded Systems 3.2.4 File Transfers to and from a PC via a Serial Port After login into the MINI2440 system via a serial

Page 241 - Audio Interface

High Performance Low Cost Embedded Systems (2) Transfering files by using “rz” In your MINI2440 system, type “rz” to receive files from a host PC. O

Page 242 - JTAG Interface

High Performance Low Cost Embedded Systems After the transfer is done, the current directory will get this file. You can verify it by using “md5sum”

Page 243

High Performance Low Cost Embedded Systems Chapter 4 Running WinCE 4.1 Software Applications and Configurations in WinCE 4.1.1 Playing MP3 After start

Page 244 - CMOS Camera Interface

High Performance Low Cost Embedded Systems 4.1.3 Configuring Web Server If the HTTP service is set to auto-run in WinCE, it will be started on start

Page 245 - System Bus

High Performance Low Cost Embedded Systems 4.2 Testing Hardware in WinCE 4.2.1 Mounting a USB Drive Using a USB drive in WinCE is similar to Linux. Af

Page 246

High Performance Low Cost Embedded Systems 4.2.2 Mounting a SD Card Plug a SD card in the SD interface of the board you will be able to see a SD devic

Comments to this Manuals

No comments