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 ......................
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 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...
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 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 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 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 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.
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.
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.
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.
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.
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 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.
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.
/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...
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.
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.
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”...
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.
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.
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.
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...
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.
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.
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 :...
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).
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...
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.
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.
Need help?
Do you have a question about the MINI2440 and is the answer not in the manual?
Questions and answers