TQ2440 Development Platform Manual

Similar documents
FriendlyARM. Mini2440.

Users Manual for MINI2440

Embest SOC8200 Single Board Computer

Introduction to the TenByTen6410

SBC8140 Single Board Computer

MYD-IMX28X Development Board

DTK2410 Specification

AT-501 Cortex-A5 System On Module Product Brief

M-606 Linux ARM9 Single Board Computer User Guide

EMBEDDED HARDWARE. Core Board. ARM7 Development board. ARM7 Evaluation Board. Page 1 of 5

IJREAT International Journal of Research in Engineering & Advanced Technology, Volume 1, Issue 5, Oct-Nov, 2013 ISSN:

MYD-IMX28X Development Board

MYD-SAM9X5 Development Board

DevKit7000 Evaluation Kit

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

MYD-SAMA5D3X Development Board

LPC1788 Mio Board. The functional details of the board are as follows-

OK335xS Users Manual Part I - Introduction

DevKit8000 Evaluation Kit

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003


Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

DevKit8500D Evaluation Kit

MYD-C437X-PRU Development Board

Lab 1. OMAP5912 Starter Kit (OSK5912)

Installation Guide for MV320 (Windows CE 5.0)

AT91SAM9G45-EVK WinCE User Manual

Quick Start Guide for i.mx28 EVK. i.mx28 EVK Multimedia and connectivity

PXA270 EPIC Computer with Power Over Ethernet & Six Serial Protocols SBC4670

OK335x Products Guide. Contents

LS9200 User Guide LinkSprite Technologies, Inc.

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

Human Machine Interface Platform

M-508 Quick Installation Guide. Screw: Φ 3 mm

This product is RoHS compliant PKA1GxxxRx-00R

MBC-SAM9G25 Core Board Overview

Product Technical Brief S3C2416 May 2008

Cirrus Logic Announces New ARM9-Based Embedded Processor Family Press Presentation February 2004

This product is RoHS compliant PK65VxxxRx-00R

EM210 Linux User Manual

This product is RoHS compliant PK70WxxxRx-00R

PCM-4153-A2 PC/104+ SBC w/amd LX800, VGA, LCD, Dual LAN, USB 2.0, On-board Flash and Memory Startup Manual

LPC1788 Mio Board. User Manual. Revision 1.0 1

This product is RoHS compliant PK80SxxxRx-00R

MYD-JA5D2X Development Board

Linux. For BCT RE2G2. User Guide. Document Reference: BCTRE2G2 Linux User Guide. Document Issue: Associated SDK release: 1.

Matrix 500 Quick Installation Guide

MYD-SAM9X5 Dev Board

Compute Node Design for DAQ and Trigger Subsystem in Giessen. Justus Liebig University in Giessen

pcduino V3B XC4350 User Manual

Celeron EPIC Computer with GUI and Dual Ethernet SBC4685

CORRIGENDUM ISSUED FOR NATIONAL COMPETITIVE BIDDING UNDER TEQIP PHASE-II

3.3 WinCE System Installation

Version History. V1.0 Original Version 1 / 13

Concept of Fan Regulator using MINI-2440

Matrix-605 WinCE ARM9 Industry Box Computer User Guide

EPIC board ensures reliability in the toughest environment

ipanel CONTROL TECHNOLOGY CORPORATION ipanel Installation Guide and Specifications ipanel Installation Guide

Overview. 3//5/ Preliminary Product Brief

EMAC SoM Presentation

ACR880 GPRS Portable Smart Card Terminal

Get Started SUPPORT WARRANTY. Visit the i.mx community at

Advanced Embedded Systems

PV8900-CORE Full Function TCC8900/TCC8901/TCC8902 CPU Module Specification

i.mx 6UltraLite Evaluation Kit Quick Start Guide s datasheet has been downloaded from at this pag

ID 730L: Getting Started with Multimedia Programming on Linux on SH7724

AT91SAM9G45 EVK Board

Teratronik elektronische systeme gmbh. V4½-CPU Technical Data. Date:

EX-9686U/A-L(A9) Hardware User Manual

LS6410 S3C6410 ARM11 Development Board

S3C6410 WinCE 6.0 Development manual

MYD-Y6ULX Development Board

Intel Galileo gen 2 Board

BPI-D1 User Manual. SinoVoip Co.,Limited

MYC-C437X CPU Module

iw-rainbow-g3 / G3V FAQs:

TOUCH CONTROLLER CUWIN

SABRE for Automotive Infotainment Quick Start Guide. Smart Application Blueprint for Rapid Engineering Based on the i.mx 6 Series

SABRE Board for Smart Devices

WinCE for LPC3250. BUMMS China Nov PDF created with pdffactory Pro trial version

Developing a Camera Application with i.mx RT Series

W90N745 BSP Quick Start Guide

Group 15 Arian Caraballo, CpE Daniela Zicavo, CpE Felipe Bernal, CpE Isabel Virag, CpE

First Steps. esom/sk5 esom/3517 Embedded Linux Starter Kit

MYD-C7Z010/20 Development Board

LinkSprite Technologies,.Inc. pcduino V2

Overview. 1/13/ Preliminary Product Brief

LPC2148 DEV BOARD. User Manual.

Topaz Release Notes. Table Contents. For the Windows Embedded CE 6.0 R3 Image and BSP. CE 6.0 R3 Release 822 Wednesday, 27 March 2013

SABRE Board for Smart Devices

QY-9263K Development Board Hardware Manual

Contents. 1 Introduction Features Product Specifications Hardware Specification Software Specification...

Product overview. Technology in Quality. ColdFire Module ARM Moduls System Integration Kit s Complete Systems

SBC1788 Single Board Computer

XE 900: Fastest EPIC board now available with Windows XPe

Zatara Series ARM ASSP High-Performance 32-bit Solution for Secure Transactions

Jade IdeaBoxx. Product Manual

For the Windows Embedded CE 6.0 R3 and Windows Embedded Compact 7 Image and BSP

Quick Start Guide for the Turbo upsd DK3300-ELCD Development Kit- RIDE

RZ Embedded Microprocessors

Transcription:

TQ2440 Development Platform Manual 0

Directory Directory... 1 Chapter 1 Introduction... 7 11Appearance of TQ2440 development platform... 7 12Hardware resource of TQ2440... 7 13Software introduction of TQ2440 platform... 10 14Introduction of TQ2440 appendix CD-ROM... 10 Chapter 2 Hardware and Software Environment of Platform... 14 21Hardware structure... 14 211Hardware resources allocation... 14 212Instruction of jumper... 15 213Instruction of TQ2440 development platform interface... 17 22TQ2440 schematics... 18 221power-supply circuit... 18 222System reset circuit... 19 223System clock circuit... 19 224JTAG interface circuit... 20 225Serial port circuit... 20 226key-press circuit... 20 227Buzzer PWM driver circuit... 21 228IIC circuit... 21 229SD card interface circuit... 21 2210Real-time clock standby battery power circuit... 22 2211USB interface circuit... 22 2212IIS audio data interface circuit... 23 2213ADC circuit... 24 2214Ethernet interface circuit... 24 2215System bus interface... 25 2216Camera interface... 26 2217LCD/STN interface circuit... 26 2218Instruction of Core Board interface... 27 23Software characteristics... 28 231Linux characteristics... 28 232WinCE characteristics... 29 233U-Boot characteristics... 30 24Windows environment configuration... 30 241Hyper-terminal configuration... 30 242DNW software configuration... 34 243GIVEIO driver intallation... 35 244USB download-driver installation... 44 25Linux environment configuration... 52 251Build cross-compile environment... 52 252Network File Service ( NFS ) configuration... 55 1

253PC Linux FTP service configuration... 59 254PC Linux Telnet service configuration... 60 26WinCE environment configuration... 61 Chapter 3 Platform Utilization... 68 31Introduction of wire connection on platform and PC... 68 32Burning u-boot by SJF2440... 68 321Executing SJF2440 with batch-processing files... 69 322Running SJF2440... 69 323Burning u-boot to Nor Flash... 71 324Burning u-boot to Nand Flash... 72 33Burning u-boot with H-Jtag... 75 331H-JTAG installation... 75 332H-JTAG configuration... 75 333H-Flasher configuration... 78 34u-boot application... 85 341Function introduction... 85 342burning u-boot... 85 343Configuration and estimation of u-boot start-up state... 85 344Introduction of u-boot utilization... 86 3Burning system... 137 351Burning Linux OS... 137 352Burning WinCE OS... 137 353Burning TQ2440-Test_xxxx.bin file... 137 36Linux experiment... 138 361Experiment of program termination... 138 362Experiment of program auto-run configuration... 138 363Experiment of setting and saving system real-time clock... 139 364Experiment of USB mobile storage device test... 139 365Experiment of SD card test... 140 366 Experiment of mounting NFS... 141 367Experiment of USB camera capturing screen test... 142 368Experiment of sound card test... 144 369Experiment of files transmission with PC via serial port... 145 3610Experiment of screen capture... 150 3611Experiment of user LED test... 151 3612Experiment of user keyboard test... 154 3613Experiment of log in BBS in telnet... 155 3614Experiment of remote login platform by telnet... 156 3615Experiment of FTP remote file transmission... 157 3616Experiment of Web server test... 159 3617Experiment of USB camera remote control... 160 3618Experiment of user LED remote control... 162 37WinCE experiment... 163 2

371Experiment of USB mobile storage device test... 163 372Experiment of SD card test... 164 373Experiment of Flash power failure protection... 165 374Experiment of player utilization... 166 375Experiment of 100M network card test... 169 376Experiment of telnet remote log-in... 171 377Experiment of FTP remote file transmission... 172 378Experiment of Web server test... 174 379Experiment of touch-screen correction... 174 3710Experiment of USB camera test... 178 3711Experiment of image rotation in LCD... 181 3712Experiment of 3 serial ports test... 182 3713Experiment of recording test... 185 3714Experiment of surfing by IE explorer... 188 3715Experiment of USB synchronization by ActiveSync... 190 3716Experiment of WinCE self-carried game test... 190 3717Experiment of Zuma game test... 191 38 Experiment of non-os testing Demo... 193 381Experiment of PWM function test... 194 382Experiment of real-time clock test... 195 383Experiment of ADC conversion test... 195 384Experiment of external interrupt test... 196 385Experiment of touch-screen test... 196 386Experiment of LCD test... 197 387Experiment of IIC interface test... 197 388Experiment of audio output test... 198 389Experiment of audio input test... 199 3810Experiment of SD card test... 199 3811Experiment of camera test... 200 Chapter 4 Linux Development Manual... 202 41 Compiling bootloader... 202 42 Compiling Linux-26 kernel... 205 421Use configuration file of EmbedSky to compile Linux kernel... 205 422Customizing Linux kernel... 210 43 Making root file system... 240 431Components of root file system... 240 432BusyBox compiling... 240 433Building root file system... 245 434Making Yaffs root file system image... 246 4.4 Compiling u-boot... 247 4.4.1 Decompressing u-boot... 247 4.4.2 Configuring u-boot... 247 3.4.3 Compiling u-boot... 248 3

Chapter 5 WinCE development manual... 250 51Installing BSP of TQ2440... 250 52Compiling the example projects in CD-ROM... 253 53Customizing user project files... 257 54Export SDK... 271 541Configure SDK... 271 542Compiling SDK... 275 543Finishing the compiling... 277 55Communicating with PC synchronously by using ActiveSync... 277 551Installing ActiveSync... 277 552Installing synchronizing communication USB driver... 281 553Utilize ActiveSync synchronizing software... 285 554Transferring file with ActiveSync... 288 56Capturing screen with ActiveSync and Platform Builder connection... 290 561Configuring platform... 290 562Configuring PC... 290 57Check the platform register information based on connection between ActiveSync and Platform Builder... 298 Chapter 6 Qt/Embeded graphics development... 302 61Simulating Qt/Embeded in PC... 303 611Configuring the running evironment... 303 512Installation and compiling... 303 513Enable the created library... 304 514Simulating Qtopia in PC... 304 62Programming... 307 621Hello routine... 307 622Configuring environment parameters... 308 623Making desktop starter file... 308 624Making the icon... 308 625Copying Hello.desktop... 309 626Running hello solely... 309 627Running hello in Qtopia... 310 63Transplanting Web explorer... 311 64Building development environment based on ARM... 317 641Installing development environment... 317 642Make running script... 317 643Compiling hello for ARM... 318 644Installing hello... 319 645Running hello solely on the platform... 319 646Running hello in Qtopia on the platform... 320 647Make desktop starter file... 320 648Make file system containing Qtopia... 320 Chapter 7 Experiment of driver development... 328 4

71Application development in Linux... 328 711Hello EmbedSky experiment... 329 712Experiment of calling math function... 332 713Experiment of thread programming... 333 714Experiment of UDP network programming... 334 715Experiment of controlling LED... 338 716Experiment of user button controlling... 339 72Example of driver development in Linux... 341 721Hello EmbedSky experiment... 342 722Experiment of LED driver... 345 723Experiment of user keyboard driver... 348 73Experiment of Non-OS application... 353 7.3.1 Configuring the experiment environment... 353 732Experiment of test... 357 733Burning TQ2440-Test.bin file... 366 Chapter 8 Transplantation of Web server... 367 81Transplanting boa software... 367 811Building compiling environment... 367 812Configuring the compiling condition... 367 813Compiling and optimizing... 367 82Transplanting cgic library... 368 821Building compile environment... 368 822Configuring compile condition... 368 823Compiling and optimizing... 369 83Configuring Web server... 369 831Configuring boa... 369 84Testing... 372 841Static web page test... 372 842CGI script test... 372 85Solving the error... 373 851Error 1... 373 86Some source codes... 373 861cgictest.cpp source code... 373 862Source code of home page... 378 87Environment variable... 380 871The environment variable relevant to the server... 380 872The environment variable relevant to the customer... 380 873The environment variable relevant to the request... 380 Chapter 9 Embeded database transplantation (SQLite )... 382 91Introduction of SQLite database... 382 92Transplanting SQLite database... 383 921Get SQLite source code... 383 922Transplanting SQLite... 383 5

923Using SQLite... 385 93Testing SQLite database... 385 6

Chapter 1 Introduction 1 1 Appearance of TQ2440 development platform 1 2 Hardware resource of TQ2440 TQ2440 development platform is composed of a Core Board and Mother Board, to make secondary development easier, The CD-ROM contains reference PCB files. 7

TQ2440 Core Board specifications CPU Samsung S3C2440AL 400MHz highest frequency: 533MHz SDRAM On-board 64MB SDRAM 32bit data bus SDRAM clock frequency as high as 100MHz Flash ROM On-board 256MB Nand Flash nonvolatile On-board 2MB Nor Flash 1.25V main power supply fully solving the CUP heating problem A power indicator light 3.3V Core Board power supply TQ2440 Mother Board specification 8

Provide 3.3V power supply, load current up to 1.5A, excellent power supply can avoid issues resulting from power instability LCD interface On-board LCD interface contains a 4-line resistance type touch-screen interface which can connect to a 4-line resistance type touch-screen directly. Supporting STN LCD of monochrome, 4-level gray, 16-level gray, 256-level gray and 4096-level color, sized from 3.5 inch to 12.1 inch, resolution up to 1024h768 pixels. Supporting TFT LCD of monochrome, 4-level gray, 16-level gray, 256-level gray and 64K-level color and true color, sized from 3.5 inch to 12.1 inch, resolution up to 1024h768 pixels. Standard TQ2440 suite contains TFT true color TFT LCD of 256K-level color, 3.5 inch dimension and 240h320 pixels resolution. And a touch-screen. A 100M Ethernet RJ-45 interface. 3 serial port interfaces. COM1 is a DB9 interface with voltage converted by RS3232 ( Including interface of CMOS voltage level ). The UART interface on-board is namely the extended interface of serial port with CMOS voltage level. A USB type Host A interface ( supporting USB1.1 protocol ). A USB type Slave B interface ( supporting USB1.1 protocol ). A SD memory card interface, supporting DMA transmission mode. 1-way stereo audio output interface, 1-way audio input interface. A 2.0mm, 10-Pin Jtag interface, which can be used for software simulation and step debugging and 9

download u-boot. 4 User Buttons. 4 on-board user LED lights. On-board AD test unit On-board PWM function test unit ( buzzer ). On-board EEPROM test unit. A 20-Pin, 130 megapixels CMOS camera interface. A 40-Pin GPIO extended interface. A 40-Pin bus extended interface. On-board real-time clock battery. Power switch and indicator light Specification size 78mmh37mm ( Core Board ) 128mmh105mm ( Mother Board ) 1 3 Software introduction of TQ2440 platform Operating system provided Window CE 5.0 Linux-2.6.13 ucos-ii Bootloader provided u-boot-1.1.6 ( supporting TFTP transmission and burning yaffs file system ) Test program provided Non-OS test program Schematics provided Schematics of Core Board ( PDF format ). Schematics and PCB diagram of Mother Board ( original diagram for board manufacturing ). 1 4 Introduction of TQ2440 appendix CD-ROM Images directory The directory contains compiled image files, including uboot image, non-os test program image, linux image and WinCE image ( under the directory WinCE ) 10