MicroArm MINI2440 User Manual

MicroArm MINI2440 User Manual

Development board
Table of Contents

Advertisement

Quick Links

High Performance Low Cost Embedded Systems
MINI2440 User's Manual
2009-03-03
copyright@2007-2009
nd
Copy right reserved © MicroArm Systems, Inc. 1612 2
Ave. SW PMB#108, Cullman, AL 35055
- 1 -
www.microarmsystems.com
Email:
service@microarmsystems.com
Phone: 1-888-417-9266
Website :

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MINI2440 and is the answer not in the manual?

Questions and answers

Summary of Contents for MicroArm MINI2440

  • Page 1 High Performance Low Cost Embedded Systems MINI2440 User’s Manual 2009-03-03 copyright@2007-2009 Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 1 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 2  hire, lease, rental or loan Requests for permission to reproduce material from this manual should be addressed to Micro Arm Systems, Inc. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 2 - www.microarmsystems.com...
  • Page 3: Table Of Contents

    Chapter 1 Introduction............................... 7 1.1 About this Manual............................7 1.2 Benefits................................ 7 1.3 Product Overview ............................7 1.3.1 What a MINI2440 Development Board Looks Like................. 7 Chapter 2 Getting Started ............................12 2.1 System Setup and Configurations......................12 2.1.1 Boot Options........................... 12 2.1.2 Connecting Peripherals ........................
  • Page 4 3.1.29 Setting up Auto Run Programs ..................... 83 3.1.30 System Shutdown ......................... 85 3.1.31 Watchdog ............................86 3.2 Operating MINI2440 Linux via Super Terminal ..................87 3.2.1 Mounting a USB Drive/Portable Hard Disk ................... 88 3.2.2 Mounting a SD Card ........................90 3.2.3 Mounting a CMOS Camera ......................
  • Page 5 LCD Interface ..............................237 EEPROM ............................... 239 Network Interface ............................240 Audio Interface .............................. 241 JTAG Interface............................... 242 GPIO................................243 Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 5 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 6 High Performance Low Cost Embedded Systems CMOS Camera Interface ..........................244 System Bus ..............................245 Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 6 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 7: Chapter 1 Introduction

    High Performance Low Cost Embedded Systems Chapter 1 Introduction 1.1 About this Manual This manual is intended to provide the user with an overview of the MINI2440 board, its benefits, features, specifications, and set up procedures. 1.2 Benefits The MINI2440 Development Board is based on the Samsung S3C2440 microprocessor. Its PCB is 4-layer boarded, equipped with professional equal length wiring which ensures signal integrity.
  • Page 8: Flash Memory

    On board 64M Nand Flash On board 2M Nor Flash with preinstalled BIOS  LCD - Four-wire touch screen interface Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 8 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 9  Extended Interfaces 34 pin 2.0mm GPIO port 40 pin 2.0mm system bus interface 1.3.4 OS Support The MINI2440 development board currently supports Linux 2.6.29 and WinCE.NET 5.0. 1.3.4.1 Linux Features  Kernel Version - Linux 2.6.29  File Systems...
  • Page 10 Language setting tool (English and Chinese) Handwriting tool (for touch pen testing) MMC/SD card and flash drive auto mounting and unmounting Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 10 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 11: Additional Resources

    1.3.5 Additional Resources Please refer to Appendix A for the resources included in the shipped CD and Appendix B for the device schematics. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 11 - www.microarmsystems.com...
  • Page 12: Chapter 2 Getting Started

     Connect the MINI2440 board to a PC with a USB cable. 2.1.3 Setting up Super Terminal To connect the MINI2440 board to a host PC via a serial cable, you should use a simulated terminal. There are many tools available. A most widely used one is the MS-Windows’ super terminal.
  • Page 13 A popup window will require you to name this connection. In this example we typed “ttyS0”. Windows does not accept names like “COM1” that have already been used by the system. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 13 - www.microarmsystems.com...
  • Page 14 After naming this connection another window will require you to select a serial port that will be used to connect the MINI2440 board. Here we selected COM1: Lastly, also the most important step is to set up the port properties. Note: you must select “No” in the data flow control field otherwise you will only be able to see outputs.
  • Page 15: Power Up

    Nor Flash it will enter the BIOS and in the meantime the green LED1 on the board will be flashing. The startup interface is as below: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 15 - www.microarmsystems.com...
  • Page 16: Installing Usb Driver

    Note: the driver installed here can only work for a USB connection in the BIOS mode. It should work in conjunction with the dnw.exe executable. After the system enters Linux or WinCE, the Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 16 - www.microarmsystems.com...
  • Page 17 Open the shipped CD, double click on “windows 平台工具\usb 下载驱动\ FriendlyARM USB Download Driver Setup_20090421.exe” to start installing. The following window will show up: Click on (“Next”)the middle button. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 17 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 18 High Performance Low Cost Embedded Systems A warning message will pop up Click on the (“continue anyway”) the left button to finish the installation. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 18 - www.microarmsystems.com...
  • Page 19 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 the S2 switch to the “Nor Flash” side. Turn on the S1 switch, if this is the first time you connect, Windows XP will prompt that a new USB device is found.
  • Page 20 (2) On the window shown below, check the first option and click on the “Next” button On the following popup window, click on the left button (“Continue anyway”). So far, our installation is done. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 20 - www.microarmsystems.com...
  • Page 21 Open the shipped CD, click on the dnw.exe, if you can see “USB:OK”, this means the installation is a success. In the device manager, you will see the installed USB driver information: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 21 - www.microarmsystems.com...
  • Page 22: Entering Main Menu

    2.2.3 Entering Main Menu Note: the following programs that are downloaded via USB need to run together with the DNW application. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 22 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 23 Nand Flash. The on board Nand Flash is 64Mbytes. Its address space is 0-0x4000000. You can format one partition or the whole Nand Flash. The partition table is as follows: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 23 - www.microarmsystems.com...
  • Page 24 Item[r]: Restore Nand Flash from a host via USB. Item[q]: Return to the vivi shell In the vivi shell, typing “menu” can return to the main menu. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 24 - www.microarmsystems.com...
  • Page 25: Sub Menus

    Type “v” to browse the current partition table, which is stored in the Nand Flash. If the Nand Flash has no data, it will show the default BIOS partition table. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 25 - www.microarmsystems.com...
  • Page 26 Type “d”, it will prompt you to enter the partition’s name you want to delete, e.g. “vivi” if you want to delete the vivi partition Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 26 - www.microarmsystems.com...
  • Page 27 Type “w” to save the current configuration. For instance, if you just deleted the vivi partition without saving it, next time when you browse the partition, it will still exist. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 27 - www.microarmsystems.com...
  • Page 28 Type “a”, it will prompt you to enter some basic information (such as name, offset, size and so on) of the partition you want to add. You can just follow its default options. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 28 - www.microarmsystems.com...
  • Page 29: Setting Linux Booting Parameters

    2.2.5 Setting Linux Booting Parameters Item [s] allows users to configure how Linux should be booted. Type [s] to enter its interface: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 29 - www.microarmsystems.com...
  • Page 30 High Performance Low Cost Embedded Systems (1) browsing current configuration Type “v” to browse the current configuration: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 30 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266...
  • Page 31 867, you can change this value to boot your kernel. Firstly you need to type the parameter name “mach_type”, then type the value “867”, and finally, type “w” to save your change. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 31 - www.microarmsystems.com...
  • Page 32 Type “s”, then the name of the parameter “linux_cmd_line”, enter and then type the new value. Because the parameter string has spaces, it should be quoted: “noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC1,115200” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 32 - www.microarmsystems.com...
  • Page 33: Board Device Testing

    Type “q” to return to the BIOS main menu. 2.3 Board Device Testing This section basically tells how to test some external devices without entering the operating system. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 33 - www.microarmsystems.com...
  • Page 34: Downloading Testing Utilities

    (2) Ensure the USB driver is installed, if so you will see [USB: OK] in the title bar of the DNW otherwise it will show [USB: x] Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 34 - www.microarmsystems.com...
  • Page 35 (4) Select item [d] in the BIOS menu, you will see the following screenshot. (5) Click on “USB Port” -> “Transmit” on the DNW interface, select “2440test.bin,” and “open” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 35 - www.microarmsystems.com...
  • Page 36 High Performance Low Cost Embedded Systems to begin download. (6) When download is done, it will auto run, you will see the following screenshot Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 36 - www.microarmsystems.com...
  • Page 37 #define LCD_TYPE_A70 2; 7 inch true color #define LCD_TYPE_VGA1024x768 3; VGA module, resolution: 1024x768 @70Hz #define LCD_TYPE LCD_TYPE_N35 If you use the default value, you will see: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 37 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 38 If the default setting is 7 inch LCD, you will see the following screenshot: If the default setting is VGA, you will see the following screenshot: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 38 - www.microarmsystems.com...
  • Page 39: Device Testing

    High Performance Low Cost Embedded Systems 2.3.2 Device Testing After installing the test utility, you can perform the MINI2440 device testing. (1) Testing PWM In the main menu, type “1”, enter and you will hear the sound of the PWM buzzer Copy right reserved ©...
  • Page 40 In the main menu, select “2”, enter and you will see the clock is changing which means the CPU’s RTC works normally (note: the time the clock shows is not the current time, it is initialized by the test utility) Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 40 - www.microarmsystems.com...
  • Page 41 W1 or W2 (these two adjustable resistors are connected to AIN0 and AIN1) and will see the AD value is changing accordingly. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 41 - www.microarmsystems.com...
  • Page 42 In the main menu, select “4” and enter to test user keys. Press key K1 – K6, you will see corresponding key press messages come out from the serial port. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 42 - www.microarmsystems.com...
  • Page 43 (5) Testing touch screen If your package has a LCD, you can connect it to your MINI2440 for testing. In the main menu, select “5” and enter to test. Using a touch pen to click on the touch screen, you will see coordinator messages come out from the serial port.
  • Page 44 Follow the prompt to press any key you will see LCD show different screens towards the last one and return to the main menu. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 44 - www.microarmsystems.com...
  • Page 45 In the main menu, select “7” and enter to test. The test utility will read from and write to I2C bus chip AT24C08. The test will write 0x - 0xFF to the chip and read them from it. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 45 - www.microarmsystems.com...
  • Page 46 After this test is done, it will automatically return to the main menu. (8) Testing audio output Connect a sound box to the green audio output port on the MINI2440 board, select “8” in the main menu and enter, you will hear the Windows XP startup music.
  • Page 47 Insert your SD card into the SD socket, select “9” in the main menu and enter to test. The test utility will read from and write to the card, and you will see the following information. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 47 - www.microarmsystems.com...
  • Page 48 “10” in the main menu and enter to test. Note: 如if you use a 7 inch screen or VGA, the LCD display may be different. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 48 - www.microarmsystems.com...
  • Page 49 High Performance Low Cost Embedded Systems With a 3.5 inch screen, you will see this: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 49 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 50: Chapter 3 Running Linux

    1. After you follow the steps to install the Qtopia system and reboot the system, you will see the screenshot below. Follow the prompts on the screen to click on them and then click on the “+” signals. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 50 - www.microarmsystems.com...
  • Page 51: Main Interface

    2. After entering the system, go to “Start” -> “Settings” -> “Configurations” -> “Recalibrate”. Click on the “+” signal. 3.1.2 Main Interface After entering the Qtopia system you will see the following screenshot: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 51 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 52 In addition, click on the “start” icon on the left bottom of the screen, you will see five sub-menus too, they are the same as the five ones on the top. Those five sub-interfaces are as follows: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 52 - www.microarmsystems.com...
  • Page 53: Playing Mp3

    Note: the Audio list lists all the audio files in the “Documents” sub-interface. Note: you can also click on a file in the “Documents” sub-interface to play it. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 53 - www.microarmsystems.com...
  • Page 54: Playing Video

    Note: the Video list lists all the video files in the “Documents” sub-interface. Note: you can also click on a file in the “Documents” sub-interface to play it. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 54 - www.microarmsystems.com...
  • Page 55: Browsing Pictures

    Rotating Images In the toolbar, click on the clockwise button you can rotate the image by 90 degrees Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 55 - www.microarmsystems.com...
  • Page 56 Zooming In/Out Images: In the edit mode, click on the magnifier icon, you will be able to zoom in or out an image. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 56 - www.microarmsystems.com...
  • Page 57: Auto Mounting Sd And Usb Drives

    FriendlyARM. Now it can only recognize the first partition of a MMC/SD card whose file format should be VFAT/FAT32/FAT16. If you card cannot be recognized, please check whether the file system is VFAT/FAT32/FAT16. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 57 - www.microarmsystems.com...
  • Page 58: Calculator

    In the sub-interface “Application Programs”, click on the calculator icon you will see a calculator. You can choose its type by selecting different options (Simple, Fraction, Scientific, Conversion and so on) from the pull-down list. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 58 - www.microarmsystems.com...
  • Page 59: Command Line

    On system startup, you can point the terminal to a graphic display device (such as LCD, CRT) and the input to the keyboard. This will create another input output system without using a PC. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 59 - www.microarmsystems.com...
  • Page 60: File Browser

    “option” menu. 3.1.9 File Browser In the “FriendlyARM” group click on the file browser icon: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 60 - www.microarmsystems.com...
  • Page 61: Configuring Network

    But its interface is too complicated and may not work sometimes. We didn’t make any change to this utility however created another one shown above. The one Qtopia has is as follows: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 61 - www.microarmsystems.com...
  • Page 62: Testing Ping

    After you setup your DNS, your system will be able to recognize both character domain names and IP addresses. By default, ping will try four times. But if you check the “ping forever” option, it will ping forever. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 62 - www.microarmsystems.com...
  • Page 63: Browser

    Note: the web browser this system uses is Konqueror/Embedded” which is an open source browser. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 63 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 64: Testing Led

    Click on the “Stop led-player” button, its title will change to “Start led-player”, all the LEDs on the board will be turned off, and all the buttons in the “LED Control” frame will be enabled. Clicking on Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 64 - www.microarmsystems.com...
  • Page 65: Testing Eeprom

    From top to bottom there are a “Write Data” button, Write area, “Read Data” button and read area. Click on the soft keyboard icon in the task bar, write some characters in the write area, click on the Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 65 - www.microarmsystems.com...
  • Page 66: Pwm Buzzer

    Clicking on the “+” or “-” button will change its frequency and sound as well. Clicking on the “Stop” button stops the buzzer. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 66 - www.microarmsystems.com...
  • Page 67: Serial Port Assistant

    2 and 3”, which implies you can use a USB hub to extend your serial ports. In the “FriendlyARM” subgroup, click on the “Serial Port Assistant” icon to start the interface below: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 67 - www.microarmsystems.com...
  • Page 68 “Send” button and it will send data to the connected serial port device. The screenshot below shows what a Windows super terminal receives (Note: the settings for this super terminal should be 115200 8N1) Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 68 - www.microarmsystems.com...
  • Page 69 Comm Port: you can choose “/dev/ttySAC0,1,2” or the USB to Serial “/dev/ttyUSB0,1,2,3” Speed: bits per second Data: data bits, 8 or 7, usually 8. Hex: input and output data in Hex format Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 69 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 70: Audio Recording

    Click on the “REC” button to start recording. When you speak to the microphone on the board, you will see audio waves shown on the screen. Click on the “STOP” button to stop recording. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 70 - www.microarmsystems.com...
  • Page 71: Using Usb Camera

    Plug your camera to the USB host port on the board, click on the “USB Camera” in the “FriendlyARM” subgroup you will see a dynamic preview interface. Click on the “Snap” button you Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 71 - www.microarmsystems.com...
  • Page 72: Using Cmos Camera

    This utility can only work with the CMOS camera CAM130. Before power on, please connect your camera to the “CAMERA” interface on the board, and then click on the “CMOS Camera” icon in the “FriendlyARM” subgroup. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 72 - www.microarmsystems.com...
  • Page 73: Testing Lcd

    The LCD test utility is to test whether a LCD has dead pixels. We can only allow at most 3 dead pixels for our systems. In the “FriendlyARM” subgroup, click on the “LCD Testing” icon: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 73 - www.microarmsystems.com...
  • Page 74: Backlight Control

    3.1.21 Backlight Control In the “FriendlyARM” subgroup, click on the “backlight testing” icon: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 74 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 75: A/D Conversion

    W1. How do they share a common converter? The following screenshots will show you how: Click on the “ADC Testing” icon in the “FriendlyARM” subgroup: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 75 - www.microarmsystems.com...
  • Page 76: Testing User Buttons

    Note: the user buttons don’t have special functions, they are just for testing low level drivers. Click on the “Buttons” icon in the “FriendlyARM” subgroup: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 76 - www.microarmsystems.com...
  • Page 77: Testing Touch Pen

    This can be done via the “penpad” utility. Click on the “penpad” icon in the “FriendlyARM” subgroup: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 77 - www.microarmsystems.com...
  • Page 78 999. The following screenshot shows that our writing was smooth which meant our pen was accurate. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 78 - www.microarmsystems.com...
  • Page 79: Barcode Scanning

    Qtopia 2.2.0 has a language setting utility which is different from the one in Qtopia 1.7.0. It only supports English. Therefore we developed a new utility located in the “FriendlyARM” subgroup. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 79 - www.microarmsystems.com...
  • Page 80 Clicking on “Yes” Qtopia will reboot; clicking on “No” it will return. (Note: the Chinese and Japanese versions only translate program names). Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 80 - www.microarmsystems.com...
  • Page 81: Setting Up Time Zone, Date, Time And Alarm Clock

    Select “Clock” from the menu, click on “Stop Watch” to open a stopwatch utility Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 81 - www.microarmsystems.com...
  • Page 82: Rotating Screen

    3.1.28 Rotating Screen Click on the “rotation” icon in the “settings” subgroup to enter its interface. You can rotate the screen in four directions. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 82 - www.microarmsystems.com...
  • Page 83: Setting Up Auto Run Programs

    By setting “auto run” you can set Qtopia to run its own or your programs after it boots up. It is very similar to what you see in Windows “Programs -> Startup”. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 83 - www.microarmsystems.com...
  • Page 84 To disable auto run for a program, just click on “Clean” and “Close”, a message box will pop up, click on “Yes” the auto run for that program will be disabled. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 84 - www.microarmsystems.com...
  • Page 85: System Shutdown

    What is left on the screen is the left data in RAM and it is not an active graphic interface. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 85 - www.microarmsystems.com...
  • Page 86: Watchdog

    The “Watchdog” is a very basic utility in embedded systems. The S3C2440 chip already has a watchdog. The latest Linux kernel has drivers for it. Click on the “Watchdog” icon in the “FriendlyARM” subgroup Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 86 - www.microarmsystems.com...
  • Page 87: Operating Mini2440 Linux Via Super Terminal

    PC and start a super terminal. The following screenshot is what you might see after you set up your super terminal and connection with your board. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 87 - www.microarmsystems.com...
  • Page 88: Mounting A Usb Drive/Portable Hard Disk

    After inserting a USB drive, the system will automatically create a “/udisk” directory and mount the drive on it, you will see the following messages: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 88 - www.microarmsystems.com...
  • Page 89 The USB drive has a device name “/dev/udisk”. Entering the “/udisk” directory, you will be able to browse its contents. Note: if your drive cannot be detected, please check whether it is FAT32/VFAT. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 89 - www.microarmsystems.com...
  • Page 90: Mounting A Sd Card

    Similar to USB drive mounting, a SD card will be automatically detected and mounted. After inserting a SD card, you will see the following messages: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 90 - www.microarmsystems.com...
  • Page 91 High Performance Low Cost Embedded Systems The system will create a “/sdcard” directory and mount the SD card on it. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 91 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 92: Mounting A Cmos Camera

    Connect a CAM130 camera to your board’s CAMERA interface, power on your board and login the system. Type the “camtest” command you will see the following screenshot: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 92 - www.microarmsystems.com...
  • Page 93: File Transfers To And From A Pc Via A Serial Port

    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 port, you can transfer files to and from a host PC by using command “rz”or “sz” as follows: (1) Transfering files by using “sz”...
  • Page 94 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. Open a super terminal, click on the mouse’s right button, select “Send file”, set up the file being sent and the protocol the transfer will use.
  • Page 95 After the transfer is done, the current directory will get this file. You can verify it by using “md5sum” to check whether this file is the same as the original one. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 95 - www.microarmsystems.com...
  • Page 96: Chapter 4 Running Wince

    Linux or Windows by default has a FTP command line program. Using the FTP service can remotely login a host, transfer files to and from it. The MINI2440 system has a default FTP command line program and starts this service on system startup. To test this service, you can login the sytem via a command line window from a host PC and transfer files to and from it.
  • Page 97: Configuring Web Server

    If the HTTP service is set to auto-run in WinCE, it will be started on startup. This service is what is commonly called “web server”. Connect the MINI2440 board which runs WinCE to a host PC, type the board’s IP address in IE’s address bar, if you see a preset home page as the example shown below, it indicates the web server has been started.
  • Page 98: Testing Hardware In Wince

    USB device has been created. Please refer to the screen shot below: Double click on the USB drive icon, you will be able to browse its contents, read and write files. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 98 - www.microarmsystems.com...
  • Page 99: Mounting A Sd Card

    Note: Please use the “\windows platform tools\CE ActiveSync USB driver” to install a USB driver. After successfully installing the driver and the ActiveSync application, connect the MINI2440 board to a host PC, if everything goes smoothly, you will see the screen shot below: Copy right reserved ©...
  • Page 100: Testing Serial Ports

    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. To test ports 2 and 3, you need to utilize the shipped extended serial port board. After booting the system, click running the “SComAssistant” icon on the desk like the screen shots shown below: Click on the “Configure”...
  • Page 101 High Performance Low Cost Embedded Systems In your MINI2440, run the “SComAssistant” application, click on the “receive” button (it will be changed to “Stop”), type characters on the opened PC terminal, and you will see those characters simultaneously. Please see the screen shot below: Please follow the same procedure to set up COM3.
  • Page 102: Chapter 5 Setting Up Linux Development Environment

    BIOS. After reboot the system, it will prompt the user to the following interface, just press “enter”. Step2:The system will check the installation disk. It can be ignored, just press “Skip” to the next step. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 102 - www.microarmsystems.com...
  • Page 103 Step3:it enters the graphic interface, click on the “Next” button. Step4:set the installation language. In this example, we chose the simplified English. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 103 - www.microarmsystems.com...
  • Page 104 High Performance Low Cost Embedded Systems Step5:set the keyboard, in this example, we chose the U.S. key board. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 104 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266...
  • Page 105 High Performance Low Cost Embedded Systems Step 6:configure the network. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 105 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 106 In our example, we didn’t set it as “DHCP”, we used a static IP instead, and typed the IP and subnet mask as follows. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 106 - www.microarmsystems.com...
  • Page 107 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 © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 107 - www.microarmsystems.com...
  • Page 108 High Performance Low Cost Embedded Systems Step 7:set the time zone. We chose “Asia/Shanghai”. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 108 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 109 Step 8:set up the administrator’s password, i.e. the root’s password. “root” is the super user. It should be at least 6 characters Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 109 - www.microarmsystems.com...
  • Page 110 High Performance Low Cost Embedded Systems Step 9:disk partition. We followed the default option. Before do this, please back up disk data. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 110 - www.microarmsystems.com...
  • Page 111 Click on “Next”, it will warn the user that all the data will be deleted. Usually we would do this installation in VMWARE, so we chose “Write changes to disk” and disk format would begin. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 111 - www.microarmsystems.com...
  • Page 112 High Performance Low Cost Embedded Systems Here is the format process: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 112 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 113 High Performance Low Cost Embedded Systems Step 11:select the installation type, in this example, we chose “customize” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 113 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266...
  • Page 114 High Performance Low Cost Embedded Systems Step 12:configure the “server” item as follows: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 114 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 115 High Performance Low Cost Embedded Systems Step 13:begin installation Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 115 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 116 High Performance Low Cost Embedded Systems Step14: installation complete. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 116 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 117 High Performance Low Cost Embedded Systems Step15: after installation completed, click on the reboot button on the page shown in step 14 Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 117 - www.microarmsystems.com...
  • Page 118 High Performance Low Cost Embedded Systems Step16: skip this license page and go “forward” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 118 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 119 High Performance Low Cost Embedded Systems Step17: create new users. We ignored user creation and went to the next step. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 119 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 120 High Performance Low Cost Embedded Systems Press “continue” to go on. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 120 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 121 High Performance Low Cost Embedded Systems Step18: setup date and time. We ignored this and went to the next step. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 121 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 122 High Performance Low Cost Embedded Systems Step19: confirm hardware information. We just clicked on “Finish”. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 122 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 123 High Performance Low Cost Embedded Systems On the popup window shown below, just click on the red marked button. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 123 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 124 High Performance Low Cost Embedded Systems Step 20: on the login page, login as “root” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 124 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 125 High Performance Low Cost Embedded Systems Input the password we just created for “root” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 125 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 126 High Performance Low Cost Embedded Systems When login as “root”, the following popup window will show up, just click on “Continue” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 126 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 127 High Performance Low Cost Embedded Systems Below is the interface the user will see after a successful login. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 127 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266...
  • Page 128: Basic Configurations And Applications

    5.2.1 Adding a New User Account To create a new user (not root) account, here are the steps: Step 1: go to “Users and Groups” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 128 - www.microarmsystems.com...
  • Page 129 High Performance Low Cost Embedded Systems Step 2: open the “Users Manager” window Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 129 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 130 High Performance Low Cost Embedded Systems Step 3: click on the “Add User” button, type the user name and password Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 130 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 131 Click on “OK”, you will see that a new “plg” user has been created, and a “plg” directory has been created in the “/home” directory too. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 131 - www.microarmsystems.com...
  • Page 132: Accessing Windows Files

    To access shared files in Windows, please following the steps below: Step 1: set a shared directory in Windows. Here we set a “share_f9” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 132 - www.microarmsystems.com...
  • Page 133 High Performance Low Cost Embedded Systems Step 2: set Fedora9 Open the window below: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 133 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 134 High Performance Low Cost Embedded Systems Select “Windows share” in the “service type” field Input the shared file’s name and its windows machine IP Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 134 - www.microarmsystems.com...
  • Page 135 Click on “connect”, the following window will show up: Go ahead and “connect” again, you will see the shared files you just set in your windows system. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 135 - www.microarmsystems.com...
  • Page 136 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 key. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 136 - www.microarmsystems.com...
  • Page 137: Setting Up Cross Compile Environment

    5.3 Setting up Cross Compile Environment A main step to build a development environment in the MINI2440 Linux system is to set up a cross compile environment. The following steps will introduce how to build a compile environment that can compile arm-linux kernels, drivers and applications.
  • Page 138 Type “arm-linux-gcc –v”, if the messages depicted in the screen shot below appear, it indicates the compile environment has been set up successfully. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 138 - www.microarmsystems.com...
  • Page 139 Logout and login system again, the configurations will be effective, in the command line, type “arm-linux-gcc -v”, you will see the following messages if it is a successful install. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 139 - www.microarmsystems.com...
  • Page 140: Uncompressing Source Code And Installing Application Utilities

    5.4.1 Uncompressing Source Code Firstly, create a work directory: /opt/FriendlyARM/mini2440 After execute command “mkdir –p /opt/FriendlyARM/mini2440”, all the source code in the following steps will be uncompressed in this work directory. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave.
  • Page 141 #mkdir /tmp/linux Copy all the files in the linux directory in the shipped CD to “/tmp/linux” (2) Uncompress the Linux kernel source code In the work directory /opt/FriendlyARM/mini2440, run the commands below: #cd /opt/FriendlyARM/mini2440 #tar xvzf /tmp/linux/linux-2.6.29-mini2440-20090331.tgz A linux-2.6.29 directory will be created, it includes a complete copy of linux kernel source code.
  • Page 142: Creating Target File System

    A busybox-1.13.3 directory will be created, and its source code will extracted into this directory. Note: for the sake of users, we have made a default configuration file: fa.config. (5) Uncompress Linux sample programs In the work directory /opt/FriendlyARM/mini2440, run the commands below: #cd /opt/FriendlyARM/mini2440 #tar xvzf /tmp/linux/examples.tgz An examples directory will be created, all the source code will be extracted into this directory.
  • Page 143 After executing the above commands, LogoMaker will be installed in the /usr/sbin directory. It only has one file. After installing it, type “logomake” in a command line window, you will see the following screenshot. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 143 - www.microarmsystems.com...
  • Page 144: Configuring Nfs Service

    /opt/FriendlyARM/MINI2440/root_qtopia *(rw,sync,no_root_squash) “/opt/FriendlyARM/mini2440/root_qtopia” is a NFS shared directory, it can be mounted as the root file system through NFS; * means all clients can mount to this directory.
  • Page 145 # mount -t nfs localhost: /opt/FriendlyARM/mini2440/root_qtopia /mnt/ If no err messags come up, the user can then browse the contents of the “/mnt” directory and verify if the contents are the same as the “/opt/FriendlyARM/mini2440/root_qtopia” directory. Stop the service by commanding: #/etc/init.d/nfs stop...
  • Page 146: Booting System Via Nfs

    The first item, in this example “192.168.1.70” is the target’s temporary IP (please make sure this IP doesn’t conflict with other IPs within the same network); The second item, in this example “192.168.1.111” is the host’s IP, Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 146 - www.microarmsystems.com...
  • Page 147 Then type “boot” and press “enter” to boot the system via NFS. Type “boot” and enter, system will be rebooted through NFS. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 147 - www.microarmsystems.com...
  • Page 148 High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 148 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 149: Chapter 6 Setting Up Wince Development Environment

    An installation CD of PB5 should have this component. Double click on the icon to start the installation: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 149 - www.microarmsystems.com...
  • Page 150 (2)Locate the “Microsoft Windows CE 5.0.msi.exe” icon in the installation CD and double click on it to start installing PB5: (3)On the installation wizard window, click on the “Next” button: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 150 - www.microarmsystems.com...
  • Page 151 (4) On the “License Agreement” window, check “I accept the terms in the license agreement” and go to “Next”: (5)Input the user information and serial number, go to “Next”: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 151 - www.microarmsystems.com...
  • Page 152 (6)Select “custom” and go to “Next” (7)Select the destination folder, (in this example, we chose the default one) and go to “Next” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 152 - www.microarmsystems.com...
  • Page 153 “Shared Source for Windows CE 5.0” option as well. Go to “Next”: (9) On the license agreement window, select “I accept the terms in the license agreement” and go to “Next”: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 153 - www.microarmsystems.com...
  • Page 154 (10) On the pop up window shown below, click on the “Next” button: (11)Enter the installation interface. This process may take a while Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 154 - www.microarmsystems.com...
  • Page 155 (13)The next step is to install the PB5 patches. They are in the “WindowsCE 5.0\PB5 Patches 2007” directory of the installation CD. Double click on the icon to start installing: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 155 - www.microarmsystems.com...
  • Page 156 (14) On the instllation wizard, click on the “Next” button: (15) On the license agreement window, select “I accept the terms in the license agreement” and go to “Next”: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 156 - www.microarmsystems.com...
  • Page 157 (16) On the public source code change agreement, select “I accept” and go to “Next”: (17) On the custom setup window, follow the default settings, go to “Next”: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 157 - www.microarmsystems.com...
  • Page 158 High Performance Low Cost Embedded Systems (18) On the window shown below, click on the “Next” button: (19) Start the installation process. It may take a while: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 158 - www.microarmsystems.com...
  • Page 159 (20)If the following pop up window shows up in the process, just click on the “OK” button to advance: (21) Finish installation Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 159 - www.microarmsystems.com...
  • Page 160: Installing Bsp

    Please follow the instructions below: Step1:Copy the whole “/WinCE5.0/smdk2440” directory in the CD to “C:\WINCE500\PLATFORM” and uncheck its readonly property Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 160 - www.microarmsystems.com...
  • Page 161 High Performance Low Cost Embedded Systems Step2:Start “Platform Builder 5.0”, go to “File” -> “Manage CatalogFeatures” Click on the “Import” button to import the “platform\smdk2440\smdk2440.cec” file. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 161 - www.microarmsystems.com...
  • Page 162: Compiling Kernel

    Step3:Expand the “Catalog” tree and its subtree “BSPs”, select the “Samsung SMDK2440:ARMV4M” option to complete the installation. 6.1.3 Compiling Kernel (1) Create a “C:\WINCE420\PBWorkspaces\mini2440” directory if it doesn’t exist. Copy the “WindowsCE 5.0\mini2440.pbxml” file into the “C:\WINCE420\PBWorkspaces\mini2440” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave.
  • Page 163 (2) Start the PB program and click on “File” -> “Open Workspace…” and select the “mini2440.pbxml” file The screen shot below is the PB’s interface: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 163 - www.microarmsystems.com...
  • Page 164 (3) Select “Build OS” -> “Sysgen” to compile, or the user can click on the “ ” icon to compile. This process takes a while. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 164 - www.microarmsystems.com...
  • Page 165 “nk.bin”is a release version and the “nk.nb0” is an executable version that can be run in RAM. The “nk.bin” more often used than other. Both located “C:\WINCE500\PBWorkspaces\mini2440\RelDir\smdk2440_ARMV4I_Release” directory. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 165 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 166: Exporting Sdk

    Here are the detailed steps for exporting an SDK file: (1) Firstly, open a project and go to “Platform” -> “SDK” -> “New SDK…” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 166 - www.microarmsystems.com...
  • Page 167 (2) On the “Export SDK Wizard” window, click on the “Next” button (3) On the “Prodect Properties” window, fill in the fields with required information, go to “Next” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 167 - www.microarmsystems.com...
  • Page 168 (4) On the “Development Language” window, check the languages the user wants the system to support, go to “Next” (5) Finish the setup process, click on the “Finish” button Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 168 - www.microarmsystems.com...
  • Page 169 Click on the “CPU” tab and the following window will come up: (7) Click on the “Edit” button, the window shown below will appear, check the “Samsung smdk2440: ARMV4I_Release” option: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 169 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 170 (8) Click on the “OK” button to return to the PB5 main menu then select “Platform” -> “SDK” -> “Build SDK…” (9) On the compile wizard window, start compiling an SDK file: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 170 - www.microarmsystems.com...
  • Page 171 (10) The compiling process takes several minutes, after it is done, click on the “Done” button: (11) An SDK file will be generated in the directory shown in the following screen shot. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 171 - www.microarmsystems.com...
  • Page 172: Installing Embedded Visual C

    (1) An EVC package is located in the “Embedded Visual C++\” directory. Double click on the “setup.exe” program to start the installation process Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 172 - www.microarmsystems.com...
  • Page 173 (2) On the installation wizard window, click on the “Next” button (3) On the license agreement window, select “I accept the agreement” and then go to “Next” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 173 - www.microarmsystems.com...
  • Page 174 (4) Input the serial number and the user information, and go to “Next” (5) Select components. Follow the default setting and go to “Next” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 174 - www.microarmsystems.com...
  • Page 175 (6) Choose the destination folder. Follow the default setting and go to “Next” (7) On the pop up window shown below, select “Yes” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 175 - www.microarmsystems.com...
  • Page 176 (10) On the pop up window shown below, click on the “Continue” button (11) Click on “OK” on the window shown below Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 176 - www.microarmsystems.com...
  • Page 177 (12) Select required components and the destination folder. Follow the default setting and go to “Next” (13) Start the installation process Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 177 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 178: Installing Evc Patches And Exported Sdk

    EVC SP4 patch. It is located in the “\Embedded VisualC++\SP\evc4sp4\DISK1” directory. This section details the steps to install the patch files and then an exported SDK file. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 178 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 179 (1) Double click on the SP4’s “setup” icon, on the wizard, click on “Next” (2) On the license agreement window, choose “I accept” and go to “Next” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 179 - www.microarmsystems.com...
  • Page 180 High Performance Low Cost Embedded Systems (3) Ready to install SP4, go to “Next” (4) Start the installation process Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 180 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 181 SDK file by himself or use the one in the installation CD (located in the “WindowsCE5.0\SDK”, named “QQ2440_SDK.msi.exe”). Double click on the exported file and a wizard window will come up. Click on the “Next” button. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 181 - www.microarmsystems.com...
  • Page 182 High Performance Low Cost Embedded Systems (7) On the window shown below, click on “Close” (8) On the license agreement window, select “Accpet” and go to “Next” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 182 - www.microarmsystems.com...
  • Page 183 (9) On the “Customer Information” window, type corresponding information and go to “Next” (10) On the setup window, type the user information and click on the “Complete” button Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 183 - www.microarmsystems.com...
  • Page 184 (11) On the destination folder window, follow the default setting, go to “Next” (12) On the ready to install dialog, click on “Install” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 184 - www.microarmsystems.com...
  • Page 185 High Performance Low Cost Embedded Systems (13) Start the installation process (14) After the installation is done, click on “Finish” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 185 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 186 Now, the user can go to “Start” -> “Programs” -> “Microsoft eMbedded Visual C++ 4.0” -> “eMbedded Visual C++ 4.0”, and open the EVC main window Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 186 - www.microarmsystems.com...
  • Page 187: Configuring Wince Kernel

    (2) On the project setup window, type “my2440”, go to “Next” (3) check the preferred BDP, (here we chose “2440”) and go to “Next” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 187 - www.microarmsystems.com...
  • Page 188 (5) On the application configuration window, the user should check the “Standard SDK for Windows CE” box and then go to “Next” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 188 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 189 (6) On the network configuration window, follow the default setting and go to “Next” (7) On the window shown below, directly go to “Next” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 189 - www.microarmsystems.com...
  • Page 190 (9) Go back to the PB5 main window, a new project has been created, the following steps show how to configure the compilation options Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 190 - www.microarmsystems.com...
  • Page 191 High Performance Low Cost Embedded Systems (10) Go to “Platform” -> “Setting…” to open a project configuration window Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 191 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266...
  • Page 192 (11) On the setup window, click on the “Locale” tab to set up the kernel language, here we chose the simplified Chinese. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 192 - www.microarmsystems.com...
  • Page 193 (12) Click on the “Build Options” tab, uncheck the “Enable CE Target Control Support” and the “Enable KITL”, keep the other options as what they are and click on “OK” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 193 - www.microarmsystems.com...
  • Page 194 -> “Windows CE device” -> “Core OS Services” -> “USB Host Support” -> “USB Human Input Device(HID) Class Driver”, right click on “Add to OS Design” to check “USB HID Keyboard and Mouse” shown as below Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 194 - www.microarmsystems.com...
  • Page 195 High Performance Low Cost Embedded Systems (14) Go through the same procedure to enable the support for USB storage devices Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 195 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 196 (16) Add support for registry storage, go to “Core OS” -> “File Systems and Data Store” -> “Registry Storage (Choose I)” -> “Hive-based Registry” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 196 - www.microarmsystems.com...
  • Page 197 (17) Change the default IP. Open the “platform.reg” file and locate the items red depicted in the screen shot below. The user can change the default IP, gateway and DNS settings. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 197 - www.microarmsystems.com...
  • Page 198 Copy file “C:\WINCE500\Platform\SMDK2440\Files” directory, and name it “bliss.bmp” Open the “platform.bib” file, add “bliss.bmp” in the “FILES” section Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 198 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 199 (19) Save the changes. Go to “File” -> “Save” to save the changes. Go to “Build OS” -> “Sysgen” or click on the icon to compile the kernel: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 199 - www.microarmsystems.com...
  • Page 200 High Performance Low Cost Embedded Systems For more details on how to configure a customized kernel, the user can search the internet for more information. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 200 - www.microarmsystems.com...
  • Page 201: Chapter 7 System Backup And Reinstallation

    The backup procedure will not hurt any flash data. Before backup, please check whether the system can run normally. (1) Connect the MINI2440 board to a host PC via a serial cable. Open a super terminal, power up the board and enter the BIOS main menu (2) Select item [u] to start system backup.
  • Page 202 On the pop up window shown below, pick up a destination folder and name a file that will store the data. In this example, we saved the data in a “backup.bin” file Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 202 - www.microarmsystems.com...
  • Page 203 High Performance Low Cost Embedded Systems The backup process begins: After it is done, the DNW window will show the information below Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 203 - www.microarmsystems.com...
  • Page 204 In this example, the generated file was 66M bytes. It contained all the information of Nand Flash, for more details about Nand Flash, please refer to its data file. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 204 - www.microarmsystems.com...
  • Page 205: System Restore

    Nand Flash! The following steps show how to restore a system with a backup file (1) Connect the MINI2440 board to a host PC via a serial cable, power up the board and enter the BIOS main menu: (2) Select item [r] to start the procedure Copy right reserved ©...
  • Page 206 “USB:OK”, it indicates the USB connection is a success. Go to “USB Port” -> “Transmit/Restore” Select a backup file and click on “Open” Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 206 - www.microarmsystems.com...
  • Page 207 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. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 207 - www.microarmsystems.com...
  • Page 208: Installing Linux

    7.2.1 Partition Note: partitioning will delete all the data in Nand Flash (1) Connect the MINI2440 board to a host PC, open a super terminal, power up the board and enter the BIOS main menu (2) Select item [x] to start partitioning the Nand Flash Note: in this process, some Nand Flash might report bad data sections but this doesn’t matter.
  • Page 209: Installing Bootloader

    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 USB cable. If the DNW’s title bar shows “USB:OK”, it indicates that the USB connection is a success. Select item [v] to start downloading a supervivi Copy right reserved ©...
  • Page 210 (3) Once the download is finished, BIOS will automatically write this supervivi to Nand Flash’s corresponding section and return to the main menu Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 210 - www.microarmsystems.com...
  • Page 211: Installing Linux Kernel

    – for 7-inch true color touch screen,800x480 zImage_VGA1024x768 – for VGA , 1024x768 For other cases please refer to the “readme.txt” file in the “images/linux/” directory Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 211 - www.microarmsystems.com...
  • Page 212: Installing Root File System

    (2) Go to “USB Port” -> “Transmit/Restore”, select a file system image file and start to download. In this example, we chose the root_default.img file (it is in the “images/linux” directory) Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 212 - www.microarmsystems.com...
  • Page 213 (3) After the download is done, BIOS will automatically write it in Nand Flash’s corresponding section and return to the main menu: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 213 - www.microarmsystems.com...
  • Page 214: Installing Wince

    Note: partitioning will delete all the data in Nand Flash (1) Connect the board to a host PC, open a super terminal, power on the board and enter the main menu Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 214 - www.microarmsystems.com...
  • Page 215 (2) Select item [x] to start partitioning Nand Flash Note: in this process, some Nand Flash might report bad data sections but this doesn’t matter. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 215 - www.microarmsystems.com...
  • Page 216: Installing Bootloader

     Supervivi is maintained and developed by Friendly Arm, it is not open source  NBOOT is open source The following steps show how to download and write a supervivi to the MINI2440 board (1) Start the DNW application, connect the board to a host PC via a USB cable. If the DNW’s title bar shows “USB:OK”...
  • Page 217: Installing Eboot

    (1) In the BIOS main menu, select item [e] to start downloading an Eboot (2) Go to “USB Port” -> “Transmit/Restore”, select the Eboot_2440.nb0 file. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 217 - www.microarmsystems.com...
  • Page 218: Installing Wince Kernel

    7.3.4 Installing WinCE Kernel (1) In the BIOS main menu, select item [w] to stard downloading a WinCE kernel Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 218 - www.microarmsystems.com...
  • Page 219 After the download is done, BIOS will automatically call Eboot’s write function starting to format Nand Flash and write a WinCE kerne into it. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 219 - www.microarmsystems.com...
  • Page 220 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 © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 220 - www.microarmsystems.com...
  • Page 221 High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 221 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 222: Appendix A: Resources In Shipped Cd

    (11) Source code of embedded graphic interface Qtopia-2.2.0 and embedded internet browser (12) Development board schematic (Protel99SE format/PDF format) (13) User’s manual (PDF format) Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 222 - www.microarmsystems.com...
  • Page 223: Appendix B: Schematics And Device Details

    High Performance Low Cost Embedded Systems Appendix B: Schematics and Device Details Board Schematic Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 223 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 224: Address Space

    - When the system boots from the Nor Flash (not the Nand Flash boot mode), the Nor Flash which is connected to nGCS0 will be mapped to nGCS0’s address space. SDRAM address space: 0x30000000 ~ 0x34000000 Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 224 - www.microarmsystems.com...
  • Page 225: Sdram

    High Performance Low Cost Embedded Systems SDRAM The mini2440 has two 32M bytes (64M bytes in total) SDRAMs (HY57V561620FTP), commonly known as memory. They are deployed in parallel to form a 32-bit data bus which speeds up data transmission. To work this way, both use nGCS6. According to section 5-2 of the CPU manual this configuration implies their physical addresses start at 0x30000000.
  • Page 226: Flash

    High Performance Low Cost Embedded Systems FLASH The mini2440 is equipped with two types of Flash: one Nor Flash of type SST39VF1601, 2M bytes memory, and one Nand Flash of type K9F1208, 64M bytes memory. The S3C2440 supports system boot from either Flash. You can boot systems from either the Nor or the Nand flash by toggling the S2 switch.
  • Page 227: Power System

    High Performance Low Cost Embedded Systems Power System The mini2440’s power system is simple. It should be connected to an external 5V power supply, and utilizes a voltage step-down chip to generate three kinds of voltages: 3.3V, 1.8V and 1.25V.
  • Page 228 High Performance Low Cost Embedded Systems You can connect the mini2440 to other power supplies too. The mini2440 has a power inlet CON8, which is a white 2.0mm single row connector. 5V is applied to both ends and ground to the middle.
  • Page 229 High Performance Low Cost Embedded Systems The diagram is presented below: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 229 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 230: Reset System

    High Performance Low Cost Embedded Systems Reset System The mini2440 utilizes a microprocessor supervisory circuit MAX811 to reset its CPU: Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 230 - www.microarmsystems.com Email: service@microarmsystems.com...
  • Page 231: User Led

    High Performance Low Cost Embedded Systems User LED A LED is commonly used as a status indicator. The mini2440 has 4 user programmable LEDs which are directly connected to GPIO. The LEDs will be on at a low level voltage. Detailed...
  • Page 232: User Test Keys

    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 triggered at a low level voltage. They can also be multiplexed to GPIO and other function interfaces. To multiplex them users can extend them through CON12.
  • Page 233: A/D Input Test

    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 (please refer to the GPIO introduction). AIN0 is connected to the adjustable resistor W1, the schematic is shown below: Copy right reserved ©...
  • Page 234: Pwm Buzzer

    The on-board SPEAKER is controlled by PWM, the diagram is shown below. GPB0 can be set to PWM output via software control. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 234 - www.microarmsystems.com...
  • Page 235: Serial Port

    Among them UART0 is RS232 level converted, corresponds to COM0 and can communicate with a PC. CON1, CON2 and CON3’s positions are presented below Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 235 - www.microarmsystems.com...
  • Page 236: Usb Interface

    USB Interface The mini2440 has two USB ports: USB Host and USB Slave. The USB Host is the same as a USB port in a PC and can be directly connected to and works with a USB camera, USB keyboard, USB mouse, USB drive and other USB devices.
  • Page 237: Lcd Interface

    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 needs: control signals (line scan, clock, enable / disable) and complete RGB signals (RGB output is 8 :...
  • Page 238 High Performance Low Cost Embedded Systems Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 238 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 239: Eeprom

    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 for testing I2C bus. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 239 - www.microarmsystems.com...
  • Page 240: Network Interface

    Notes: all our mini2440 boards have the same MAC address, which can be set via software. For Linux users, please refer to section 3.1.1 of this user’s manual. For WinCE users, please refer to the BSP’s DM9000 driver and registry file (platform.reg).
  • Page 241: Audio Interface

    The S3C2440 has an I2S bus interface, it can be connected to an external 8/16 bit stereo CODEC. The mini2440 uses the I2S based UDA1341 chip to implement audio decode/encode system. This chip’s registers’ setting and initialization are controlled by the L3-bus. Here we adopted SAMSUNG’s design by using CPU’s GPB2, GPB3 and GPB4 to simulate the L3-Bus’s standard...
  • Page 242: Jtag Interface

    20Pin or 10Pin. As long as a JTAG interface has those signal lines, it will be a standard JTAG interface. The mini2440 has a 10Pin JTAG interface which has complete standard JTAG signals.
  • Page 243: Gpio

    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 GPIO interface, i.e. CON4. In fact, CON4 has not only quite a few GPIO pins but also some CPU pins such as AD0-AIN3, CLKOUT and so on.
  • Page 244 CAMDATA4 GPJ4 CAMDATA3 GPJ3 CAMDATA2 GPJ2 CAMDATA1 GPJ1 CAMDATA0 GPJ0 VDD33V 3.3V Power VDD_CAM VDD_ Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 244 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...
  • Page 245: System Bus

    (such as chip select, read/write, reset and so on). CON5 can provide 5V output. In fact very few users would extend interfaces through system bus. Below is the detailed information about CON5’s pins. Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 245 - www.microarmsystems.com...
  • Page 246 Data Line 12 DATA13 Data Line 13 LDATA14 Data Line 14 DATA15 Data Line 15 Copy right reserved © MicroArm Systems, Inc. 1612 2 Ave. SW PMB#108, Cullman, AL 35055 - 246 - www.microarmsystems.com Email: service@microarmsystems.com Phone: 1-888-417-9266 Website :...

Table of Contents