Transcript
Embest SBC2440-I Single Board User Manual V1.0
Shenzhen Embest Info&Tech Co.,LTD. All rights reserved. Tel: +86-755-25635626/25631365
Fax: +86-755-25616057
Room 509, Luohu Science&Technology Building, #85 Taining Road, Shenzhen, Guangdong, China E-mail:
[email protected] http://www.embedinfo.com -1-
Contents CHAPTER I GUIDE TO THE MANUAL ............................................................................................................... 4 1.1 How to use the manual ........................................................................................................................... 4 CHAPTER II DEVELOPMENT KIT FEATURES AND RESOURCE OF SBC2440-I SUITE .......................................... 4 2.1 Content of suite....................................................................................................................................... 4 2.2 SBC2440-I Module Description Diagram.............................................................................................. 5 2.3 Measurements of SBC2440-I single board ............................................................................................. 6 2. 4 Features of software and hardware ....................................................................................................... 6 2.5 CD Introduction ..................................................................................................................................... 8 2.6 System requirements ............................................................................................................................... 8 CHAPTER III QUICK START PROCEDURE ........................................................................................................... 9 CHAPTER IV HARDWARE SYSTEM OF SBC2440-I .......................................................................................... 12 4.1 Introduction to SBC2440-I interface .................................................................................................... 12 4.2 Boot selection:J3 .................................................................................................................................. 12 4.3 Clock Source Selection at Boot-Up:J4/J5 ............................................................................................ 13 4.4 LAN: RJ45 ............................................................................................................................................ 13 4.5 Serial port 0:COM1 ............................................................................................................................. 14 4.4 Serial port0-2: COM0-2....................................................................................................................... 15 4.5 Extend two full function serial ports A and B....................................................................................... 15 4.6 USB PORT............................................................................................................................................ 16 4.7 Power socket and power switch: CN1 and S600.................................................................................. 16 4.8 IDE interface ........................................................................................................................................ 16 4.9 Audio interface ..................................................................................................................................... 16 4.9 User buttons ......................................................................................................................................... 16 4.10 User LEDS.......................................................................................................................................... 16 4. 11 LCD interface .................................................................................................................................... 17 4. 11 JTAG debug interface ........................................................................................................................ 18 4. 12 Universal IO port: CON-GPIO ......................................................................................................... 19 4.13 Camera Interface :CON4 ................................................................................................................... 19 4. 14 Audio input and output ...................................................................................................................... 20 APPENDIX ....................................................................................................................................................... 21 TECHNICAL SUPPORT ...................................................................................................................................... 21
-2-
SBC2440-I User Guide (Please read the instructions of the User Guide thoroughly first before operations, and be aware not to damage system bootloader)
Preface SBC2440-I is an ARM9-based embedded computer platform designed and manufactured by Embest Info & Tech Co., LTD. Based on SAMSUNG’s ARM processor S3C2440X. S3C2440X uses ARM920T kernel, with whole-performance MMU. It is suitable for movable handheld device, characterized by high performance, low power consumption, diverse ports and compact size. SBC2440-I is designed to meet various features of this chip. SBC2440-I design satisfies features of S3C2440X embedded chip, integrates the features of latest PDAs/handheld devices, so it serves as an embedded computer platform suitable for both single board computers and development board. Entire board occupies an area of 134mmx93.5mm only. As the first choice of software, we employed the free embedded operating system arm-Linux in the open source code, based on this platform and its development toolkit, we compiled and transplanted colorful softwares for your use and reference, e.g. Mp3 player in console mode, Web server ,Ftp and its server, Telnet and its server etc. The binary executable programs and its source code of these softwares are included in the supplied CD, and have been pre-installed in SBC2440-I, user can use it immediately after start-up. In addition, SBC2440-I can also run Windows CE4.2.net. Windows CE system including Word reader, Excel reader, Power Point reader, photo browser, Pdf reader, Word editor, IE, media player, and some games, etc. Finally, welcome to use SBC2440-I, and present your valuable comments.
-3-
Chapter I
Guide to the Manual
1.1 How to use the manual The content of this manual is listed as below: Chapter I Teaches you how to use this manual Chapter II Introcude SBC2440-I kit resource and features Chapter III Teaches you how to install and use SBC2440-I. Chapter IV Introduce the hardware of SBC2440-I.
Chapter II Development Kit Features and Resource of SBC2440-I Suite This chapter describes all parts of SBC2440-I single board computers suite, and PC’s system requirements for using this suite.
2.1 Content of suite SBC2440-I suite consists of the following parts: One SBC2440-I single board computer (pre-installed Linux) One CD One DB9 standard serial port cable One RJ-45 crystal head P2P cross net cable One USB cable One JTAG cable One 12V/2A special switch power supply
-4-
2.2 SBC2440-I Module Description Diagram Below are the interface of SBC2440-I:
Table 2-1: instructions of SBC2440-I interface: SN
Description
1
Reset Button
2
LAN_10M/100M Internet interface(DM9000)
3
LAN_10M Internet Interface (CS8900)
4
COM0,Serial Port0 (RS232)
5
USB1-2 USB Host, two Host
6
USB Device, Use this port install and update system
7
CN1+12V DC socket (Inside positive outside negative)
8
BL,power DC 12V socket,connect with “7”,output DC 12V
9
CON1,COM0-2 (TTL voltage level)
10
Jumper J1-J2,selection of USB Host2/Slave
11
CON3,Power interface (DC 5V ,DC 12V)
12
RTC back-up battery
13
S1,Power Switch
14
MIC , Audio Input
15
PHONE , Audio Output
16
JTAG , 10 pin JTAG Interface
17
LED1-4 User Leds -5-
18
LCD Interface
19
CON2 , 16 channel GPIO
20
CON6 , Extend two full function serial port
21
Camera interface
22
SD/MMC card
23
IDE44 pin standard IDE Interface
2.3 Measurements of SBC2440-I single board
2. 4 Features of software and hardware The software included with the SBC2440-I kit are Embedded Linux 2.6.13/WINCE.net 4.2 BSP/software. ARM Embedded Linux BSP as Table 2-2: Table 2-2 Embedded Linux BSP: Designation
Function
Description
BIOS (vivi)
Bootloader
Start up system
Xmodem
Support Xmodem transmit protocol
Update Flash
Support update Flash
Set Kernel Parameter
Support kernel parameter setting
Set Partition
Support partition setting
Boot
Start up system
Xmodem
Support Xmodem transmit protocol
Sbc_vivi (Do not supply source code)
-6-
Kernel
USB
Support downloading image with USB
Yaffs
support yaffs file system
Eboot
Update wince image
Update Flash
Support update Flash
Set Kernel Parameter
Support kernel parameter setting
Set Partition
Support partition setting
Linux kernel 2.6.13 ROM/CRAM/EXT2/FAT32/NF S/YAFFS file system
Drivers
System Interrupt & Timer Driver Serial device driver
Three serial port
Block memory device driver Flash memory device driver
Nand Flash driver
10Base-T external Ethernet device driver
CS8900
10M/100M externeal Ethernet device driver
DM9000
RTC (Real Time Clock) Driver USB Host driver
usb mouse,usb keyboard,U-disk
USB Slave LEDS Buttons
User buttons
Many Country Language Support LCD Frame Buffer
Frame Buffer
Touch pannel MMC/SD card UDA1341 Network protocol and network application
TCP/IP
TCP/Ip protocal
File transfer(FTP client /server) Remote login
More information provided can be found at “SBC2440-I_LinuxGuide.pdf” in CDROM.
-7-
WinCE.net 4.2 BSP includes: Table 2-3 WinCE.net 4.2 BSP Designation
Function
Description
Bootloader
Sbc_vivi
Supplied by embest,updated image with USB
Eboot
Ethernet bootloader for wince
Serial device driver
Serial part 0
Flash memory device driver
Nand Flash driver
10Base-T CS8900 Ethernet device driver
CS8900
USB Host
Support usb keyboard and usb mouse
Driver
USB device Buttons
User buttons
RTC LED Driver EINT Driver LCD
Support 240x320, 640x480
Audio driver SD/MMC More information provided can be found at “SBC2440-I_WinceGuide.pdf” in CDROM
2.5 CD Introduction The supplied CD of SBC2440-I comprises of these directories: - Document. This directory includes schimatic, datasheet, and userguide - Image. This directory includes Linux Demo image and Wince Demo image - Linux.This directory includes Linux BSP - Wince. This directory includes Wince BSP - Tools. This directory is the utility tool for this board - Products. This directory introduce Embest products
2.6 System requirements If SBC2440-I is used for development, it must be connected with PC via serial port, JTAG cable and net port, below are the recommended configurations of PC used in the development: Pentium 2.0G(or above) or compatible PC Install WindowsXP/2003/Redhat 9.0 operating system 256M memory 40GB HD One CD-ROM One serial port One parallel port One net port One USB PORT -8-
Caution: it is recommended to use mainboard of Intel chip set, otherwise error may occur in Jtag connection.
Chapter III Quick Start Procedure This chapter describes the quick start procedure. Connection diagram of SBC2440-I single board shows as Figure 3-1
Figure 3-1 Connection diagram of SBC2440-I single board 1. Place the SBC2440-I on a static free surface. 2. Connect the PC and SBC2440-I single board with serial cable. 3. Launch Hyper Terminal, configure with the following parameters: 115200 bit per second,8 data bits, no parity,1 stop bit ,no flow control. 4. Connect the LCD display panel to the SBC2440-I single board. 5. Power on the SBC2440-I single board with 12V DC. Turn on the power switch. After a few seconds, the board will automatically start-up Linux OS. Linux debug information will be displayed on the Hyper Terminal. The following figure shows what this should look like.
-9-
Figure 3-2 Linux Startup interface
If the board preload the Wince OS, the LCD display panel will display wince user interface, shown as Figure 3-3
Figure 3-3 Wince user interface WindowsCE startup information output information
- 10 -
Figure 3-4 pre-installed WindowsCE serial port (115200, 8N1) startup information
- 11 -
Chapter IV Hardware system of SBC2440-I
4.1 Introduction to SBC2440-I interface For details of jumper configuration, see the figure below:
Figure 4-1 schematic diagram of jumper configuration The proceeding sections will detail the definitions of pins of all interfaces.
4.2 Boot selection:J3 Select booting from nandflash or 16 bit norflash by jumper J3
Figure 4-2 Boot selection jumper J3 Table 4-1 Boot selection jumper J3 definition OM1
OM0
Booting ROM
0
0(J3 closed)
Nand flash
0
1(J3 open)
16 bit Norflash
- 12 -
4.3 Clock Source Selection at Boot-Up:J4/J5
Figure 4-3 Clock Source Selection at Boot-Up jumper J4/J5 Table 4-2 Clock source selection jumper J4/J5 definition
4.4 LAN: RJ45 Figure 4-2 shows SBC2440-I’s net card slot and external net cable/HUB lead out net cable:
Figure 4-4 SBC2440-I network interface Table 4-3 Describes SBC2440-I’s pins of DM9000 network interface Pin
Name
Description
1
TX+
Transmit Data+
2
TX-
Transmit Data-
3
RX+
Receive Data+
4
NC
Not connected
5
NC
Not connected
6
RX-
Receive Data-
7
NC
Not connected - 13 -
8
NC
9
LED0-
10
LED1-
11
LED0+
12
LED0+
Not connected
Table 4-4 Describes SBC2440-I’s pins of CS8900 network interface Pin
Name
Description
1
TD+
Transmit Data+
2
TD-
Transmit Data-
3
Connect with capacitance
4
GND
Not connected
5
GND
Not connected
6
Connect with capacitance
7
RD+
Not connected
8
RD-
Not connected
9
GLEDA
Green LED
10
GLEDK
Green LED
11
YLEDA
Yellow LED
12
YLEDK
Yellow LED
13(A)
GND
GND
14(B)
GND
GND
15(C)
NC
16(D)
NC
4.5 Serial port 0:COM1 Samsung S3C2440X CPU integrated three serial ports, SBC2440-I lead out RS232 serial port0 with DB9 socket.
- 14 -
Figure 4-5 Instructions of pins of SBC2440-I’s serial port0
4.4 Serial port0-2: COM0-2 For user’s convenience in design, three TTL serial ports is directly led out from CPU through 14-pin 2.0mm connector CON1 (see the instructions of CON1). The below table 4-5 are instruction of CON1 of SBC2440-I board (TTL level) Table 4-5: instructions of pins: CON1 Pin
Description
Pin
Description
1
GND
2
GND
3
NC
4
NC
5
TXD2
6
RXD2
7
TXD1
8
RXD1
9
TXD0
10
RXD0
11
nCTS0
12
nRTS0
13
VDD33V
14
VDD33V
Notes: NC means no connections (the same as below)
4.5 Extend two full function serial ports A and B SBC2440-I single board extend two full function serial ports A and B Table 4-6 Extend serial port :CON6 Pin 1
Description RRXDB
Pin
Description
2
RDCDB
3
RDTRB
4
RTXDB
5
RDSRB
6
GND
7
RCTSB
8
RRTSB
9
VDD33V
10
RRIB - 15 -
11
RRXDA
12
RDCDA
13
RDTRA
14
RTXDA
15
RDSRA
16
GND
17
RCTSA
18
RRTSA
19
VDD33V
20
RRIA
4.6 USB PORT Samsung S3C2440X CPU has 2 USB ports, one serves as Host(can configure as slave mode ), the other is Slave. SBC2440-I leads out the two ports, USB-HOST2 share with USB-DEVICE.
4.7 Power socket and power switch: CN1 and S600 SBC2440-I uses +12V DC power supply, it employs power switch S1 to switch on/off power supply system of the board.
4.8 IDE interface SBC2440-I has 2.5”,44-pin standard IDE interface. You can use cable connect with SBC2440-I single board and 2.5” IDE.
4.9 Audio interface As Samsung S3C2440X has I2S audio bus, SBC2440-I uses an I2S interface Philips decoding chip UDA1341, through the chip and corresponding software, user can play mp3 and .wav audio files, double-channel voice can be directly connected to head set or speaker through the headset hole in the rear, audio input port is used for recording.
4.9 User buttons SBC2440-I single board computers has four user buttons K1,K2,k3,K4. Table 4-7 instructions of SBC2440-I key pins User buttos
Description
K1
EINT19
K2
EINT11
K3
EINT2
K4
EINT0
4.10 User LEDS As a development system, SBC2440-I single board computers prepares 4 IO user programmable LED indicators for users. - 16 -
Table 4-8 list of CPU occupancy of user indicators Pin
Name
1
LED1
GPB5
2
LED2
GPB6
3
LED3
GPB7
4
LED4
GPB8
CPU IO reusability
4. 11 LCD interface Samsung S3C2440X supports the following LCDs, SBC2440-I leads out pin signals of all its internal liquid crystal controllers, as shown in Figure 4-4, Table 4-6 describes the definitions of these pins.
Figure 4-6
- 17 -
Table 4-9 Definitions of LCD interface Pin
Description
Pin
Description
1
VDDLCD
2
VDDLCD
3
VD0
4
VD1
5
VD2
6
VD3
7
VD4
8
VD5
9
VD6
10
VD7
11
GND
12
VD8
13
VD9
14
VD10
15
VD11
16
VD12
17
VD13
18
VD14
19
VD15
20
GND
21
VD16
22
VD17
23
VD18
24
VD19
25
VD20
26
VD21
27
VD22
28
VD23
29
GND
30
LCD_PWR
31
I2CSDA
32
I2CSCL
33
VM
34
VFRAME
35
VLINE
36
VCLK
37
TSXM
38
TSXP
39
TSYM
40
TSYP
41
GND
Notes: through J6 jumper user can voltage of power supply for LCD within 3.3V-5V.
4. 11 JTAG debug interface As shown in Figure 4-5, SBC2440-I employs 10-pin JTAG interface of 2.0mm interval. For convenience to connect some emulators of standard 2.54, user need configure a JTAG adapter
- 18 -
Figure 4-7 JTAG adapter converting 2.0 interval into 2.54 interval Table 4-10 Pin definitions of JTAG Pin
Description
Pin
Description
1
VDD33V
2
VDD33V
3
nTRST
4
nRESET
5
TDI
6
TDO
7
TMS
8
GND
9
TCK
10
GND
4. 12 Universal IO port: CON-GPIO SBC2440-I leads out the pins of remaining resources for user to extend applications. Table 4-11 pin definitions of CON2 GPIO interface Pin
Description
Pin
Description
1
VDD5V
2
VDD33V
3
EINT2
4
EINT1
5
EINT4
6
EINT3
7
EINT11
8
EINT5
9
EINT14
10
EINT13
11
EINT19
12
EINT15
13
SPIMOSI
14
SPIMISO
15
nSS_SPI
16
SPICLK
17
I2CSCL
18
I2CSDA
19
GND
20
GND
4.13 Camera Interface :CON4 Table 4-12 pin definitions of CON4 camera interface - 19 -
Pin
Description
Pin
Description
1
GND
2
VDD5V
3
AIN2
4
AIN3
5
AIN0
6
AIN1
7
CAM_PCLK
8
GND
9
CAM_HREF
10
CAM_VSYNC
11
CAMRST
12
CAMCLK
13
CAMDATA1
14
CAMDATA0
15
CAMDATA3
16
CAMDATA2
17
CAMDATA5
18
CAMDATA4
19
CAMDATA7
20
CAMDATA6
4. 14 Audio input and output SBC2440-I has a double-channel headset audio output jack and mono audio input jack. User can directly connect with headset jack.
- 20 -
Appendix Technical Support We offer 6-month free technical support, development board users can get our technical support (source code update, material download, answering questions) by: Visiting our website You can get the latest information of Embest products (including product information and relevant materials) from the website: http://www.embedinfo.com.. Signing in our BBS You can sign-in our BBS to http://www.embedinfo.com/cforum/arm_forum_login.asp, where you can share and exchange information with industrial experts. Email User can send email to
[email protected] to contact our customer service engineers. Tel User can call our help desk hotline at 86-755-25631365. Fax If necessary you can fax your materials to us at 86-755-25616057.
In principle, our technical support only includes: 1. Help you properly compile and run the source code that we provide; 2. Help you properly use our development suite and solve hardware faults. Any problem produced in users’ secondary development is not included in our technical support.
Warranty We offer 3-month free warranty (except LCD) for Embest hardware evaluation board,paid services for any damage later than warranty term and made by artificial damage. The postage incurred in the service within warranty scope is borne by our company, while the postage incurred in the service beyond warranty scope and overseas postage are at users' expenses.
- 21 -