chapter 1 · 2008-03-04 · 1.2.1 introduction the core component of embedded system is varied...

125
Professor Trong Professor Trong - - Yen Lee Yen Lee e e - - mail: mail: [email protected] [email protected] http:// http:// www.ntut.edu.tw/~tylee www.ntut.edu.tw/~tylee NTUT/EN NTUT/EN Chapter 1 Chapter 1 Introduction to the System Prototype and Introduction to the System Prototype and Hardware/Software Architectures Hardware/Software Architectures

Upload: others

Post on 01-Apr-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

Professor TrongProfessor Trong--Yen LeeYen Leeee--mail mail tyleentutedutwtyleentutedutw

httphttpwwwntutedutw~tyleewwwntutedutw~tyleeNTUTENNTUTEN

Chapter 1 Chapter 1 Introduction to the System Prototype and Introduction to the System Prototype and

HardwareSoftware ArchitecturesHardwareSoftware Architectures

P-2125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

OutlineOutline11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-3125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

11 System on a Chip11 System on a Chip11 System on a Chip11 System on a Chip12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-4125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

11 System on a Chip11 System on a Chip111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC TrendTrend113 Conclusion113 Conclusion

P-5125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC TrendTrend113 Conclusion113 Conclusion

P-6125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem-On-a-Chip (SoC)

Hundreds of millions of transistors are integrated on a chipTo build a system on a chipDesign reuseDeep submicron technologies

System LSISound of CenturySociety of Culture

P-7125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem

A collection of all kinds of components andor subsystems that are appropriately interconnected to perform the specified functions for end users

A SoC design is a ldquoproduct creation processrdquoStarts at identifying the end-user needsEnds at delivering a product with enough functional satisfaction to overcome the payment from the end-user

P-8125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC

DSPCORE

RISCCORE

RAM

ROM

Peripheral

AnalogRFMixed Signal

Custom Logic(AISCFPGA)

P-9125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC AdvantagesAdvantagesCost

Low costCompactness

Portable hand-heldIncrease Performance

QualityLow Power ConsumptionDesign reusable

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 2: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-2125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

OutlineOutline11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-3125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

11 System on a Chip11 System on a Chip11 System on a Chip11 System on a Chip12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-4125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

11 System on a Chip11 System on a Chip111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC TrendTrend113 Conclusion113 Conclusion

P-5125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC TrendTrend113 Conclusion113 Conclusion

P-6125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem-On-a-Chip (SoC)

Hundreds of millions of transistors are integrated on a chipTo build a system on a chipDesign reuseDeep submicron technologies

System LSISound of CenturySociety of Culture

P-7125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem

A collection of all kinds of components andor subsystems that are appropriately interconnected to perform the specified functions for end users

A SoC design is a ldquoproduct creation processrdquoStarts at identifying the end-user needsEnds at delivering a product with enough functional satisfaction to overcome the payment from the end-user

P-8125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC

DSPCORE

RISCCORE

RAM

ROM

Peripheral

AnalogRFMixed Signal

Custom Logic(AISCFPGA)

P-9125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC AdvantagesAdvantagesCost

Low costCompactness

Portable hand-heldIncrease Performance

QualityLow Power ConsumptionDesign reusable

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 3: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-3125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

11 System on a Chip11 System on a Chip11 System on a Chip11 System on a Chip12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-4125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

11 System on a Chip11 System on a Chip111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC TrendTrend113 Conclusion113 Conclusion

P-5125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC TrendTrend113 Conclusion113 Conclusion

P-6125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem-On-a-Chip (SoC)

Hundreds of millions of transistors are integrated on a chipTo build a system on a chipDesign reuseDeep submicron technologies

System LSISound of CenturySociety of Culture

P-7125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem

A collection of all kinds of components andor subsystems that are appropriately interconnected to perform the specified functions for end users

A SoC design is a ldquoproduct creation processrdquoStarts at identifying the end-user needsEnds at delivering a product with enough functional satisfaction to overcome the payment from the end-user

P-8125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC

DSPCORE

RISCCORE

RAM

ROM

Peripheral

AnalogRFMixed Signal

Custom Logic(AISCFPGA)

P-9125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC AdvantagesAdvantagesCost

Low costCompactness

Portable hand-heldIncrease Performance

QualityLow Power ConsumptionDesign reusable

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 4: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-4125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

11 System on a Chip11 System on a Chip111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC TrendTrend113 Conclusion113 Conclusion

P-5125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC TrendTrend113 Conclusion113 Conclusion

P-6125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem-On-a-Chip (SoC)

Hundreds of millions of transistors are integrated on a chipTo build a system on a chipDesign reuseDeep submicron technologies

System LSISound of CenturySociety of Culture

P-7125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem

A collection of all kinds of components andor subsystems that are appropriately interconnected to perform the specified functions for end users

A SoC design is a ldquoproduct creation processrdquoStarts at identifying the end-user needsEnds at delivering a product with enough functional satisfaction to overcome the payment from the end-user

P-8125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC

DSPCORE

RISCCORE

RAM

ROM

Peripheral

AnalogRFMixed Signal

Custom Logic(AISCFPGA)

P-9125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC AdvantagesAdvantagesCost

Low costCompactness

Portable hand-heldIncrease Performance

QualityLow Power ConsumptionDesign reusable

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 5: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-5125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC TrendTrend113 Conclusion113 Conclusion

P-6125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem-On-a-Chip (SoC)

Hundreds of millions of transistors are integrated on a chipTo build a system on a chipDesign reuseDeep submicron technologies

System LSISound of CenturySociety of Culture

P-7125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem

A collection of all kinds of components andor subsystems that are appropriately interconnected to perform the specified functions for end users

A SoC design is a ldquoproduct creation processrdquoStarts at identifying the end-user needsEnds at delivering a product with enough functional satisfaction to overcome the payment from the end-user

P-8125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC

DSPCORE

RISCCORE

RAM

ROM

Peripheral

AnalogRFMixed Signal

Custom Logic(AISCFPGA)

P-9125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC AdvantagesAdvantagesCost

Low costCompactness

Portable hand-heldIncrease Performance

QualityLow Power ConsumptionDesign reusable

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 6: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-6125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem-On-a-Chip (SoC)

Hundreds of millions of transistors are integrated on a chipTo build a system on a chipDesign reuseDeep submicron technologies

System LSISound of CenturySociety of Culture

P-7125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem

A collection of all kinds of components andor subsystems that are appropriately interconnected to perform the specified functions for end users

A SoC design is a ldquoproduct creation processrdquoStarts at identifying the end-user needsEnds at delivering a product with enough functional satisfaction to overcome the payment from the end-user

P-8125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC

DSPCORE

RISCCORE

RAM

ROM

Peripheral

AnalogRFMixed Signal

Custom Logic(AISCFPGA)

P-9125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC AdvantagesAdvantagesCost

Low costCompactness

Portable hand-heldIncrease Performance

QualityLow Power ConsumptionDesign reusable

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 7: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-7125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoCSystem

A collection of all kinds of components andor subsystems that are appropriately interconnected to perform the specified functions for end users

A SoC design is a ldquoproduct creation processrdquoStarts at identifying the end-user needsEnds at delivering a product with enough functional satisfaction to overcome the payment from the end-user

P-8125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC

DSPCORE

RISCCORE

RAM

ROM

Peripheral

AnalogRFMixed Signal

Custom Logic(AISCFPGA)

P-9125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC AdvantagesAdvantagesCost

Low costCompactness

Portable hand-heldIncrease Performance

QualityLow Power ConsumptionDesign reusable

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 8: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-8125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC

DSPCORE

RISCCORE

RAM

ROM

Peripheral

AnalogRFMixed Signal

Custom Logic(AISCFPGA)

P-9125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC AdvantagesAdvantagesCost

Low costCompactness

Portable hand-heldIncrease Performance

QualityLow Power ConsumptionDesign reusable

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 9: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-9125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC AdvantagesAdvantagesCost

Low costCompactness

Portable hand-heldIncrease Performance

QualityLow Power ConsumptionDesign reusable

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 10: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-10125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndashA Typical A Typical SoCSoC Design ExampleDesign Example

The hardware view of soc

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 11: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-11125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design FlowDesign Flow

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 12: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-12125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

111 Introduction to 111 Introduction to SoCSoC ndashndash SoCSoC Design TasksDesign TasksDefinition of system-level design specification (C-based HDLs)Design evaluation and explorationHardwareSoftware codesignCo-verification co-simulation and co-emulationDebugging and diagnosisRapid prototyping

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 13: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-13125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrend111 Introduction to 111 Introduction to SoCSoC112 Trends 112 Trends SoCSoC113 Conclusion113 Conclusion

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 14: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-14125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendGiga-scale System-on-a-Chip (SoC)Nanometer technologies on SoCHigh level design abstractionAdequate methodologies for design reuseReprogrammable resources (FPSoC Field-Programmable System-on-a-Chip) provides significant opportunities in future SoC design

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 15: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-15125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

112 112 SoCSoC TrendTrendDesign RE-USE becomes common

Quality of reusable IPFirm IP core Soft IP core Hard IP core

Ease of UseEfficiencyStandardization of Core Protocol

Most of design effort is focused on verificationAccelerating Co-VerificationReal-World Stimuli

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 16: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-16125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 Conclusion111 Introduction to 111 Introduction to SoCSoC112 112 SoCSoC Trend Trend 113 Conclusion113 Conclusion

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 17: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-17125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

113 Conclusion113 ConclusionSoC is Sound of CenturySoC design methodology needs to be studied furtherNew test paradigm and methodologiesChallenges and opportunities in Giga-scale integration for SoC amp Nanometer technologiesSoC amp IP Center in Taiwan

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 18: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-18125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 19: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-19125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

12 Embedded Processors12 Embedded Processors121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 20: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-20125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 Introduction121 Introduction122 Embedded Processor123 Feature of ARM Microprocessor124 ARM System Architecture125 The Products of ARM Series126 Processor Selection Guide

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 21: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-21125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core component of embedded system is varied embedded processorsEmbedded processors characteristics

Fast processingLow power consumptionFast real-time responseComplete IO function

Microprocessor instruction set architectureCISC (Complex Instruction Set Computer)RISC (Reduced Instruction Set Computer)

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 22: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-22125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features

Adoption instruction format is fixed lengthInstruction completeness and simplenessSimply decode instruction formatUse code of optimization to compile

Single cycle instruction facilitate pipeline processingThe instruction decode and data processing are regular and common used Do not need to use complicated hardware control circuit and instruction set decode

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 23: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-23125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionRISC features (contrsquod)

Usage large number of registersData processing instruction only operate the registers

Memory access has specially instruction of loading and storingOnly loadingstoring instruction can access memoryImproves the execution time of the instruction

Usage less instruction type and addressing modeBasic addressing has 2 to 3 kinds

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 24: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-24125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

121 Introduction121 IntroductionThe core processor of novel embedded system adopts RISC processorRISC processors are used in novel embedded systems

The ARM of ARM companyThe SH of Hitachi companyThe MIPS of MIPSLSI LogicIDTAldenyToshiba companyThe M-Core of MIPS Motorola company

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 25: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-25125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor122 Embedded Processor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 26: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-26125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

122 Embedded Processor 122 Embedded Processor ndashndash ARMARMARM (Advanced RISC Machines)

A company name and generally called of microprocessorDesign ARM processor since 1983

4261985The first ARM prototype

ARM Company established in Britain Cambridge in 1991Sell the authorized design technique of the chipIP supplier of embedded RISC processor

ARM has already spread all over now Industrial control Consumer electronicsCommunication network system

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 27: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-27125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 28: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-28125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

123 Feature of ARM Microprocessor123 Feature of ARM MicroprocessorARM microprocessor has the following characteristics

Low power consumption low cost small size and high performance Support instruction set of Thumb (16-bit)ARM (32-bit)Usage large number of register hence the execution speed of theinstruction is fasterMost data operating and finishing in the register Addressing is flexible simple and high efficiencyFixed instruction lengthThe biggest cooperative partner in the world

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 29: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-29125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture124 ARM System Architecture121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 30: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-30125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124124 ARM System ArchitectureARM System ArchitectureARM system has defined 7 kinds of version

Cortex seriesVFP-32004v7

ARM11 ARM11 MPCoreSIMD Thumb-2 Trust-Zone Multiprocessing

2001v6

ARM10 XScaleDSP and Jazelle exten-sions1999v5

ARM7TDMI ARM8ARM9TDMI StrongARM

Thumb1996v4

ARM6 ARM732-bit MMU 64-bit MAC1992v3

ARM2 ARM3Coprocessor support1987v2

ARM1The first commercial RISC (26-bit)1985v1ImplementationsFeaturesYearVersion

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 31: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-31125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash V1V1 VersionVersionOnly appear in prototype machine ARM1 The following of basic property

Basic data processing instruction (no multiplication)Have byte half-word and word instructionTransfer instruction include link instruction and sub schedulingSoftware interruption instructionAddress space 64MB

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 32: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-32125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV2 Version2 VersionThe version is extension of V1 version such as ARM2 and ARM3 (V2a version) architectureThe version have increased functions as following

Multiplication and multiply-add instructionSupport operable instruction of additional-operatorFast interruption modeExchange instruction of basic memory and register for SWPSWPBAddress space 64MB

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 33: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-33125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV3 Version3 VersionThe address space increase to 32-bit (4GB)For deal with unusual state easily hence addition of two register

Current Program Status Register (CPSR)Saved Program Status Register (SPSR)

Addition abort and undefined processor modesARM6 adopts this version architecture The instruction set is changed as follows

Addition MRSMSR instruction to access new CPSRSPSR registerAddition return instruction is from unusual state process

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 34: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-34125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV4 Version4 VersionThe V4 version architecture is used widest ARM system at presentThe Thumb instruction set is added in v4 version that is extension of V3 versionARM7 ARM8 ARM9 and StrongARM are adoption this version architecture The version have increased functions as following

Semiosis unsemiosis half-word and semiosis byte access instruction16-bit Thumb instruction setPerfect software interruption SWI instructionUser-register is operated while the processor mode is peculiar modeUnused instruction space is changed into undefined instruction

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 35: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-35125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV5 Version5 VersionARM10 and XScale is adoption V5 version architectureThe version have increased instructions as following

Transference BLX instruction of link and exchangeCLZ instruction (zero-offset )BRK interruption instructionSingle process instruction (V5TE version)More can select instruction for additional-operator

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 36: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-36125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV6 Version6 VersionThe V6 version is presented in 2001Basic characteristic as following

100 of compatibility with previously system architectureSIMD is expanded make processing speeds 175 times fasterImprovement memory management make system performance raise 30V6 version improvement the question that Endian does not align with the dataReal-time system has improved interruption response time 35 cycles under the worst situation will improve to 11 cycles

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 37: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-37125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

124 ARM System Architecture 124 ARM System Architecture ndashndash VV7 Version7 VersionV7 version is presented at ldquoEmbedded Systems Conference(ESC)San Franciscordquo conference in 2004 it is named CortexV7 according to require divided into A R M three series

A series pays attention to raise operation performance such as PDA and mobile-phone etcR series pays attention to real-time process that reduce data inout delay time and raise insturction prediction accuracy etcM series toward low priced microprocessor

V7A and V7R strengthens the V6 version and V7M reduce the manufacturing cost specially

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 38: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-38125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeries121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 39: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-39125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 The Products of 125 The Products of ARMARM SeriesSeriesARM product series

ARM7 ARM9 ARM9E ARM10 ARM 11 SecurCore Intel XScaleand StrongARM

For example ARM7TDMIARM732-bit integer operations kernel T 16-bit Thumb Instruction SetD On-Chip debugM Enhancement multiplierI Embedded ICE hardware interrupt and test

The following extension represent the choices of different form and function

S Synthetic softcoreE DSP functionJ Jazeller allow to execute Java byte program directly

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 40: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-40125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Series125 ARM7 Microprocessor SeriesARM7 specifics

EmbeddedICE-RT debug logicVery low power consumption09 MIPSMHz three-stage pipelinevon Neumann machine

Has a random-access memory (RAM) which means that each successive operation can read or write any memory location independent of the location accessed by the previous operation

A von Neumann machine also has a central processing unit (CPU) with one or more registers that hold data that are being operated on

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 41: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-41125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (13)125 ARM7 Microprocessor Architecture (13)ARM710 amp 720T

AMBAaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

virtua l address

instruct ions amp data

phys

ical

addr

ess

CP15

MMU

writebuffer

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 42: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-42125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (23)125 ARM7 Microprocessor Architecture (23)ARM740T

A MB Aaddress

AMBAdata

instruction ampdata cache

AMBA interface

ARM7T DMI

EmbeddedICEamp JTAG

physical address

instruct ions amp data

CP15

protection

writebuffer

unit

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 43: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-43125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM7 Microprocessor Architecture (33)125 ARM7 Microprocessor Architecture (33)ARM7TDMI

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 44: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-44125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Series125 ARM9 Microprocessor SeriesARM9 family

Catched MacrocellsFive-stage pipeline11 MIPS MHz Support 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busMemory Management Unit (MMU) support Windows CELinuxPalm OSMPU support real-time operation systemSupport data catch and instruction catch

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 45: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-45125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9E Microprocessor Series125 ARM9E Microprocessor SeriesARM9E features

The best hardware unit of high performance and low power consumptionDSP extensionEmbeddedICE-RT debug logic11 MipsMHz Five-stage pipeline Tightly Coupled Memory(TCM)Mainly apply to the advanced engine management the instrument instrument security system SetTop Box PDA network computer or intelligent telephone

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 46: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-46125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (13)125 ARM9 Microprocessor Architecture (13)ARM920T

AMBAaddress

AMBAdata

virtu

al IA

wr itebuffer

dataMMU

physical IA

virtu

al D

A

instructions

physicaladdress tag

phys

ical

DA

copy-back DA

data

ARM9TDMI

EmbeddedICEamp JTAG

CP15

externalcoprocessor

interfaceinstructioncache

instructionMMU

datacache

AMBA interface

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 47: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-47125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (23)125 ARM9 Microprocessor Architecture (23)ARM940T

A MB Aaddress

AMBAdata

inst

ruct

ions

data

data

add

ress

I add

ress

Protection Unitdata

cache

wri tebufferAMBA interface

instructioncache

externalcoprocessor

interface

ARM9TDMI

EmbeddedICEamp JTAG

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 48: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-48125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM9 Microprocessor Architecture (33)125 ARM9 Microprocessor Architecture (33)ARM9TDMI

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 49: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-49125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (12)125 ARM10 Microprocessor Series (12)ARM10 family

Highest performanceLow power consumptionCompare with equal ARM9 under the same clock frequency performance has been improved nearly 50

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 50: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-50125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Series (22)125 ARM10 Microprocessor Series (22)ARM10 specifics

Support DSP instruction set suitable for high speed digital signal processSix-stage pipelineSupport 32-bit ARM instruction set and 16-bit Thumb instruction setSupport 32-bit high speed AMBA busSupport VFP10 float process additional-operatorMMU support Windows CELinuxPalm OSSupport data catch and instruction catchEmbedded collateral readwrite operation component

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 51: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-51125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM10 Microprocessor Architecture125 ARM10 Microprocessor ArchitectureARM10TDMI

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 52: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-52125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (12)125 ARM11 Microprocessor Series (12)ARM11 specifics

Powerful ARMv6 instruction set architecture Low power consumption

lt 04mWMHz (013microm 1V) including cache controllers High performance integer processor

8-stage integer pipeline delivers high clock frequency

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 53: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-53125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Series (22)125 ARM11 Microprocessor Series (22)ARM11 specifics

High performance memory system design Supports 4-64k cache sizes ARMv6 memory system architecture accelerates OS context-switch

Vectored interrupt interface and low-interrupt-latency mode speeds interrupt response and real-time performance Optional Vector Floating Point coprocessor (ARM1136JF-S) for automotiveindustrial controls and 3D graphics acceleration

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 54: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-54125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 ARM11 Microprocessor Architecture125 ARM11 Microprocessor ArchitectureARM11TDMI

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 55: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-55125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor SeriesMicroprocessor SeriesStrongARM is the embedded processor of Intel company for hand-held consumer electronic device and mobile computing and communicationThe processor that adopts StrongARM architecture have

SA-1StrongARM processor kernelSA-110StrongARM processor kernelSA-1100General processor MPUSA-1110 General processor MPUIXP1200Adoption network processor of StrongARM kernel

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 56: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-56125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor ArchitectureMicroprocessor Architecture

JTAG test clock and control

D-MMU D-cachewritebuffer

processorcore

I-cacheI-MMU

page table entries

page table entries

instructions

virtualaddress

virtualaddress

loaddata

store

physicaladdress

physicaladdress

memoryaddress

memorydata

data

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 57: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-57125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Microprocessor Pipeline ArchitectureMicroprocessor Pipeline Architecture

I-cache

rotsgn ex

+4

rotate

ALU amp multiply

I decode

register read+ disp

D-cache

fetch

instr uctiondecode

execute

bufferdata

write-back

forwardingpaths

immediatefrac14elds

branchtarget

branchof fset

nextpc

regshift

loadstoreaddress

LDR pc

SUBS pc

MOV pc

post-index

pre-index

LDMSTM

register write

r15

pc + 8

B BL

pc + 4

+4

mux

shift

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 58: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-58125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (12)Specifics (12)StrongARM processor kernel

Kernel SA-1Instruction Cache (I-Cache) 16KBData Cache (D-Cache) 8KBMini Data Cache 512BInstruction Memory Management Unit (IMMU) and Data Memory Management Unit (DMMU) Read and Write Buffer

Memory Control ModuleSupport various ROM FLASH DRAM SRAM and PCMCIA

System Control ModuleGeneral-Purpose interrupt GPIO 28-Pin Watchdog Timer Time interval counter Power management controls Interrupt control and Internal oscillator 2 (inclusion PLL)

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 59: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-59125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 StrongARMStrongARM Specifics (22)Specifics (22)Peripheral control module

LCD driver serial interface UART irDA interface and audio codec interface

The SA-1110 is extension of SA-1100 and increase functions as following

DMA controller 6-channel is to improve the efficiency of LCD display and IO conveying RTCSerial Peripheral Interface (SPI)The SA-1111 chip cooperates with SA-1110 and has expanded PS2 keyboard mouse USB and PCMCIACF interface

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 60: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-60125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125 125 XScaleXScale Microprocessor Series (12)Microprocessor Series (12)XScale processor is novel embedded processor for wireless portable application productsXScale processor is the embedded processor in application subsystem and communication subsystem of PCA development platformThe clock of XScale microarchitecture processor can reach to 1GHz 1200MIPS and power consumption only 16WIOP310 IOP321 PXA210 PXA 25X PXA 26X and PXA 27X

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 61: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-61125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor Series (22)Microprocessor Series (22)XScale processor is a solution based on ARMv5TE architecture that is high cost-effective and low consumptionSupport Thumb instruction and DSP instruction set of 16-bit that has used in digital cellular phone Personal Digital Assistant (PDA) and network productsXScale processor that Intel popularizes a ARM microprocessor at present

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 62: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-62125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Microprocessor ArchitectureMicroprocessor Architecture

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

CoprocessorInterface

Core MemoryBus

FIQIRQ

CP0Multiplier

Accumulator

CP0CP0MultiplierMultiplier

AccumulatorAccumulator

Branch Target BufferBranch Target BufferBranch Target Buffer

Data Cache32KBytes

Data CacheData Cache32KBytes32KBytes

DebugDebugDebug System Management

System System ManagementManagementJTAGJTAGJTAG

CP15Config

Registers

CP15CP15ConfigConfig

RegistersRegisters

Mini D-Cache2KBytes

Mini DMini D --CacheCache2KBytes2KBytes

MMUMMUMMU

InstructionCache

32KBytes

InstructionInstructionCacheCache

32KBytes32KBytesMMUMMUMMUExecution

CoreExecutionExecution

CoreCore

InterruptRequest

DataAddress

Data

Instruction

WriteBufferWriteWriteBufferBuffer

TraceBufferTraceTraceBufferBuffer

CP14Debug

Management

CP14CP14DebugDebug

ManagementManagement

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 63: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-63125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (12)Specifics (12)Adoption 78 Super Pipeline

Dynamical jump forecast Branch Target Buffer (BTB)Support multimedia process technology

Multiply-accumulator (MAC)40-bit accumulatorinclusive with ARM V5TE instructionparticular DSP additional-operator (CP0)

Instruction Cache (I-Cache) 32KBData Cache (D-Cache) 32KB

Be able to reconstructs RAM for the 28KBMini Data Cache (Mini-DCache) 2KBInstruction Memory Management Unit (IMMU)

32 channel Translation Lookaside Buffer (TLB)

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 64: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-64125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

125125 XScaleXScale Specifics (22)Specifics (22)Dynamic power management Data Memory Management Unit (DMMU)

32 channel Translation Lookaside Buffer (TLB)Interrupt controller Bus controller1GBsec Error Checking and Correcting (ECC) protocolDebug interface

Performance monitoringAdditional-operator (CP14) Hardware breakpoint Hardware viewpoint BKPT instruction Exception interrupt JTAG interface and Track buffer

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 65: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-65125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide126 Processor Selection Guide121 Introduction121 Introduction122 Embedded Processor122 Embedded Processor123 Feature of ARM Microprocessor123 Feature of ARM Microprocessor124 ARM System Architecture124 ARM System Architecture125 The Products of 125 The Products of ARMARM SeriesSeries126 Processor Selection Guide126 Processor Selection Guide

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 66: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-66125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (12)126 Processor Selection Guide (12)ARM microprocessor kernel

Usage OS such as WinCE or Linux etc need to choose the above ARM720T and have MMU functionARM720TARM920TARM922TARM946TStrong-ARM have MMU functionARM7TDMI has no MMU and unsupported Windows CE and Linux But the uCLinux is an OS not needing MMU to support that can execute on ARM7TDMI hardware platform1

Peripheral circuit within chipSuch as USB IIS LCD controller keyboard RTC ADC DAC and DSP additional-operator etcThe designer wants to analyze system requirement as much as possible adopt peripheral circuit within the chip to finish the necessary function

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 67: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-67125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

126 Processor Selection Guide (22)126 Processor Selection Guide (22)System operation frequency

The system operating frequency has determined the handling ability of ARM microprocessor The typical processing speed of ARM7 series of microprocessor are 09MIPSMHz Common ARM7 chip system clock is 20MHz-133MHzThe typical processing speed of ARM9 series of microprocessor are 11MIPSMHz Common ARM9 chip system clock is 100MHz-233MHz ARM10 most can reach 700MHz

Memory capacity within chipThe capacity of most ARM microprocessor chip internal memories is not very largeSuch as the AT91F40162 of ATMEL has chip internal procedure storage space of 2MB

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 68: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-68125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 69: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-69125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

13 Embedded System and Software13 Embedded System and Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 70: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-70125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System131 Embedded System131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 71: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-71125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (13)131 Embedded System (13)Embedded systems

A special purpose computer built into a larger deviceSpecial-purpose

Embedded systems have a (more or less) well-defined purposeContrast with general purpose computers (PCs etc)

Built into a larger deviceEmbedded systems are (usually) part of a larger device augmenting its capabilities

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 72: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-72125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (23)131 Embedded System (23)Electronic devices that incorporate a computer (usually a microprocessor) within their implementationHardware and software which forms a component of some larger system and which is expected to function without human interventionA computer is used in such devices primarily as a means to simplify the system design and to provide flexibility

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 73: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-73125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

131 Embedded System (33)131 Embedded System (33)A typical embedded system consists of a single-board microcomputer with software in ROM which starts running some special purpose application program as soon as it is turned on and will not stop until it is turned off (if ever)An embedded system may include some kind of operating system butoften it will be simple enough to be written as a single program Often it must provide real-time response

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 74: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-74125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems132 Embedded Operating Systems131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 75: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-75125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems [13]132 Embedded Operating Systems [13]A program that acts as an intermediary between a user and the computer hardwareGoal

Manage system resourcesProvide a development environment applications

Using Systemrsquos APIFacilitate program execution

Scheduling

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 76: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-76125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (23)132 Embedded Operating Systems (23)Lite PC

Set-Top Boxes Kiosks Thin ClientsWindows NT EmbeddedWindows XP Embedded LinuxFeatures similar to desktop OS

Small DevicesCell phones PDArsquos Broadband RoutersPocketPC PalmOS Symbian DOS LinuxSmall footprint some real-time capabilities no hard drive

Hardened Real-TimeMissiles Satellites Vehicles Robots Industrial MachineryVxWorks QNX Windows CE Integrity Phar LapTiny footprint critical reliability fully preemptive

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 77: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-77125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

132 Embedded Operating Systems (33)132 Embedded Operating Systems (33)Office-style OSes

PalmOSWindowsCE

RTOSesVxWorksQNX

LinuxLinux is already ubiquitous

Hundreds of different devices are using itSeveral variations-from ldquosoft real timerdquo to ldquohard real timerdquoNumerous commercial + open source products

OthersTinyOS

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 78: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-78125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software133 Embedded Software131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 79: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-79125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (13)133 Embedded Software (13)Principal role

ldquoNot transformation of data but interaction with physical worldrdquoAcquires properties of physical world

Takes timeConsumes powerDoes not terminate (unless it fails)

The development of embedded software components is neededTo help structured system design and system developmentTo reduce the cost of overall system development and maintenance effortsTo support the reuse of components within product families

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 80: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-80125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (23)133 Embedded Software (23)816-bit systems

No OS or ldquoroll your ownrdquo1632-bit systems

Proprietary RTOS eg VxWorks pSOS3264-bit systems

ldquoStandardrdquo OSWindows CEXPePOSIX LinuxQNX

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 81: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-81125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

133 Embedded Software (33)133 Embedded Software (33)Embedded Software Properties

Timeliness systematically removed from theories of computationConcurrency In the physical world multiple things happen at onceLiveness Programs must not terminateReactivity Interactive systems

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 82: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-82125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 83: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-83125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (12)(12)Wind River VxWorks

Most popular RTOS with militaryTornado Development EnvironmentNo GUIExpensive

QNXUsed primarily in scientific and medical applicationsPhoton GUIRTOS that still has eye candy

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 84: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-84125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

134 Popular 134 Popular RTOSesRTOSes (22)(22)Microsoft Windows CE

Shares no code with desktop WindowsEspecially popular in EuropeBasis for PocketPCNET Compact Framework

Green Hills IntegrityFirst DO-178B ready RTOSUsed in F-16 and F-22No dynamic memory allocation

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 85: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-85125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded Platform131 Embedded System131 Embedded System132 Embedded Operating Systems132 Embedded Operating Systems133 Embedded Software133 Embedded Software134 Popular RTOSes134 Popular RTOSes135 Embedded Platform135 Embedded Platform

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 86: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-86125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Embedded Platform135 Embedded PlatformWindows CEWindows XP EmbeddedQNXLinux

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 87: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-87125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Windows CE Projects135 Typical Windows CE ProjectsBattery powered handheld devices

Handheld food analysis meterConsultancy porting application development

Warehouse management devicePorting

Security scannerApplication development

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 88: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-88125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical XP Embedded Projects135 Typical XP Embedded ProjectsMains powered devicesMultimedia network functionality or large storageCustomer develops desktop XP application

Weighing machineAudio processorHair remover

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 89: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-89125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical QNX Project135 Typical QNX ProjectCerfCube Network Appliance

Porting

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 90: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-90125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

135 Typical Linux Projects135 Typical Linux ProjectsMains powered (usually)Lowest possible unit costDevelopment cost not a major issue

Set top boxLarge scale UPS monitoring

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 91: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-91125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 14 System Prototype Development PlatformsSystem Prototype Development Platforms11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 92: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-92125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

14 System Prototype Development Platforms14 System Prototype Development Platforms141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 93: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-93125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start PlatformStart Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 94: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-94125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (12)Start (12)A fleet of Embedded Linux SolutionsA true embedded system for engineers to develop their Linux appliancesA complete and reliable RISC platform for IA companies to design their own productsA low cost learning kit for students to practice Embedded Linux systemProduct shipped with uCLinux source code and tool chain

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 95: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-95125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start (22)Start (22)

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 96: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-96125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start FPGA amp NETStart FPGA amp NET--Start CPLDStart CPLDFPGA BoardXilinx Spartan-II XC2S2005292 logic cells(200000 gates)JTAG port4digits 7-segment LED8x LED8x Push buttons8x Sliding switches20 x 2 dot matrix LCD connector16-color VGA connectorA-type USB (hostclient)1620 bits Stereo ADDA converterDupont connectors(11x213x2 pins)1x12MHz Oscillator 3x Clock inputs

CPLD BoardXilinx XC95288XL288 Macrocells (6400 gates)JTAG port7-segment LEDClock generatorLED Display4x Push buttons (debounced) 8x Sliding switchesParallel port

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 97: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-97125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start ApplicationsStart ApplicationsNATRouter Server appliancesWeb padHandheldPDA appliancesCar navigation applicationsWeb cameraMultimedia appliancesDigital video recorderPersonal video recorderIC design and validation platformSingle board computer for industrial applications

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 98: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-98125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

141 NET141 NET--Start in Product DevelopmentStart in Product DevelopmentInternet appliancesGPSGPRS Car navigation applicationsSecond storage extensions

Type III CF card slotPCMCIA slotIDE HDD interface

IrDAUSB extensionWireless extensionExcellant for Embedded Linux Cources

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 99: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-99125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II PlatformPlatform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 100: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-100125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS IIEMPOS II

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 101: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-101125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Block DiagramEMPOS II Block DiagramJTAG Port

JFlash Multi ICE SDRAM32M to 64M Byte

SRAM1M Byte

FLASH16M to 32MByte

Charactor LCDDisplay 1

BUFFER

PCMCIASocket 1

PS2 KeyBoard 1PS2 Mouse 1

LED Display 8

Compact FlashSocket 1

7 SegmentHEX Display

PUSH ButtonSwitch 8

BUFFER

BUFFER

BUFFER

BUFFER

BUFFER

TFT Color LCD640480 (64)

BUFFER

BUFFER

Expansion PortSlot 1

Secondary EthernetLAN91C111

Primary EthernetLAN91C111

MMCSD Socket 1 SPI

IrDA Module 1 IrDA

Full UART Socket1

Bluetooth UART 1

Full UART

Bluetooth

USB Slave 1 UDC

BUFFER

TouchScreen64

ADS7846

Real Time ClockRTC4513

I2C EEPROMNM24C16

GPIO

I2C

SDRAM100Mhz

PXA255-400Mhz

XScale Core

I2C BUSConnector 1

I2C

BUFFER

ACrsquo97 CodecCS4202

AC97 Inteface

MMCSD Socket 1

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 102: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-102125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (12)EMPOS II Specification (12)

ACrsquo97 Stereo Codec CS4202AudioST_UART HDSL3600IrDA74LCX245JTAGLAN91C111 (10100Base-T)EthernetUSB 11 SlaveUSBFF_UART BT_UARTSerialADS7846 4-wire Touch InterfaceTouch ScreenLG TFT LCD 64rdquo (640480)LCD

Peripheral Device

Intel strata Flash 32MbyteFlashSamsung 64MbyteSDRAMMemoryIntel X-Scale PXA255 400MhzCPU

DescriptionItem

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 103: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-103125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 EMPOS II Specification (EMPOS II Specification (222)2)

202 TEXT LCD ModuleTEXT LCDPush Button 8 (Bus Control)Button

120 pinExtend connector

Interface

Real Time Clock Module RTC4513RTC

Discrete LED 8 7Segment LED 4LED

1 SlotCFPCMCIA

4 pinPower connector20 pinJTAG connector4 pinTouch connector5 pinInverter connector30 pinLCD Connector

Peripheral device

1 SlotDescription Item

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 104: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-104125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA250 Core

PXA255

GP[270]

D[310]A[310]

GPIOGPIO Registers

GP[270]

Bridge

Interrupt Controller

ICIPICMRICLR

ICCRICFP

FIQ IRQ

DMADMARegisters

LCD Controller

ADS 7843

Dynamic Memory Controller

SDCKE[1]SDCLK[1]SDCS[0]

SDRAS

WESDCAS

DQM[30]

MDCNFGMDCAS00MDREFR

LCD CON

LDD[150]L-FCLKL-LCLKL-PCLK

LCDControlRegisters

DCLKCSDINBUSY

PENIRQDOUT

GP4

GP5GP26

X+X-

Y-Y+

Inverter Power

L-BIAS

E-PORT0[70] GP25E-PORT

GP23

E-PORT0 7

TFT LCD amp TFT LCD amp

Touch Touch SScreencreen

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 105: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-105125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

142 142 Hardware Hardware OOverviewverview

MMU

PXA255 Core

FTUARTBTUART

D[310]

A[310]

PXA255

UTCR0

UTCR1

UTCR2

DB9

UTCR3

DTDR

UTSR0

UTSR1

USB

UDCCR

UDCAR

UDCOMP

UDCCS2

UDCD0

UDCWCFIQ IRQ

USB CON

R

R

R

R

RFIQ IRQ

Interrupt Controller

ICIP

ICMR

ICLR

ICCR

ICFP

FIQ IRQ

Bridge

TX1RX1

TX3RX3

DMA

DMARegisters

Memory Controller

MemoryControlRegisters D+

D-

473K

15K

274

UDCIMP

UDCCS0

UDCCS1

UDCDR

UDCSR

RS-232

Serial USB PortSerial USB Port

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 106: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-106125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 107: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-107125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Platform143 LYR TECH DB1000 Platform

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 108: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-108125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 LYR TECH DB1000 Applications143 LYR TECH DB1000 ApplicationsDevelop and test DSP algorithmsDesign hardware and software applications efficientlyTest and debug subsystem hardware modules

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 109: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-109125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Block Diagram143 Block Diagram

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 110: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-110125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143 Major Components (12)143 Major Components (12)TC1202ATC1402A Test Chip

250 MHz tested under worst-case conditions (110degC)Altera Stratix FPGA

User-programmable FPGA with32 K 40 K 60 K or 80 K logic elements and 3M RAM bits

16-bit Stereo Codec A sigma-delta codec supports sampling rates of 8 11025 16 2205 24 32 441 and 48 KHz The codec features stereo inputs and outputs and on-board speaker and headphone driver

UART 16550 and RS232 Port A standard UART 16550 and a RS232 transceiver support from 50 bps up to 15 Mbps

USB 20 A microcontroller integrates the USB 20transceiverThe USB 20 interface allows fast USB JTAG emulation and Host Interface through a DPRAM

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 111: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-111125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

143143 Major Components (22)Major Components (22)Memory

DPRAM Two 2Kbyte dual-ported RAMs support a host interface via USB or via ARMAHB

SDRAM One SDRAM SODIMM module (up to 256 MB)

FLASH Two asynchronous flash devices connected to the external memory bus for programdata (4 MB)

Clock Support Choice of an external clock signal supplied through a SMA connector or an on-board 10 MHz oscillator and integrated PLL for the test chip

Power Supply 5 V 5 A universal power supply (UL and MITI certified)

Memory EPROM Fail safe boot device

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 112: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-112125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 144 XSXScalecale PXA255 PlatformPXA255 Platform141 NET141 NET--Start PlatformStart Platform142 142 EMPOS IIEMPOS II PlatformPlatform143 LYRTECH DB1000 Platform143 LYRTECH DB1000 Platform144 144 XSXScalecale PXA255 PlatformPXA255 Platform

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 113: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-113125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXA255 Platform PXA255 Platform

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 114: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-114125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144144 XSXScalecale PXAPXA255 255 Embedded PlatformEmbedded PlatformHardware ArchitectureSpecification of Platform

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 115: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-115125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Architecture144 Hardware Architecture

PXA25532MFlash

120pin Expension Area

64MSDRAM

LCD

PCMCIA

USB Host

EthernetIrDA

CF Interface

RTC

Audio inoutRS-232

8 Keys

LED

Power

SWJTAG Interface

Touch PannelController

Reset

MMC

USB Client

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 116: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-116125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Hardware Block Diagram144 Hardware Block Diagram

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 117: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-117125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (12)144 Specification of Platform (12)Intel XScale PXA255-400MHz CPU81 inch TFT LCDresolution 640x480 or higherTouch PanelUSB

Host 20 x 2Cypress chipClient 11 x1

MemoryFLASH32 MbytesSDRAM64 Mbytes

JTAG interfaceconnect to simulatorEthernet10BaseTACrsquo97 Audio Codec

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 118: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-118125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Specification of Platform (22)144 Specification of Platform (22)PCMCIA interface

Connect to memory card or wireless network interface card CF interface

Connect to memory card or wireless network interface cardMMC interface

Connect to MMC cardSlot

120 pin GPIO and memory bus interface built-in 8 Push Buttonsbuilt-in 8 state LED

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 119: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-119125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (12)144 Applications (12)

MP4

DVD

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 120: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-120125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

144 Applications (22)144 Applications (22)PDA cell phone

GPS navigation

PDA

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 121: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-121125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 15 Peripheral DevicesPeripheral Devices11 System on a Chip 11 System on a Chip 12 Embedded Processors12 Embedded Processors13 Embedded System and Software13 Embedded System and Software14 System Prototype Development Platforms14 System Prototype Development Platforms15 Peripheral Devices15 Peripheral Devices

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 122: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-122125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

15 Peripheral Devices15 Peripheral Devices

FPGA Module IDE Module

PCMCIA Card Module

GSMGPRSGPS Module

Bluetooth Module

CF Module

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 123: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-123125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[1] SoC聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[2] PampL聯盟 ldquo超大型積體電路與系統設計-教育改進計畫rdquo[3] ARM Chips List httpwwwkhantaziorgArchivesARMChipshtmlVersion[4] Micro-Electronics httpwwwmemchinacomnemagazinemagazine_articleaspId=500[5] 工師技術支援網站 httpchinanikkeibpcojpchinanewssemi200503semi200503100109html[6] 王穎聰 ldquo嵌入式系統概論rdquo銘傳大學電腦與通訊工程學系 92年09月

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 124: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-124125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[7] Leonid Ryzhyk ldquoThe ARM Architectureldquo httpwwwcseunsweduau~cs924406seminars08-leonidrpdfsearch=22The20ARM20Architecture20PDF22[8] Embedded Operating Systems httpwwwlugpsueduminutescgi[9] Embedded Systems httpwwwlecscsuclaedu~thanosEmbedded_systemsppt[10] Software Engineering Competence center httpwwwseccorgegOther20SECC20PDFsESDUpdf

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt

Page 125: Chapter 1 · 2008-03-04 · 1.2.1 Introduction The core component of embedded system is varied embedded processors. Embedded processors characteristics Fast processing Low power consumption

P-125125教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹教育部顧問室PAL聯盟系統雛型與軟硬體整合設計 第一章雛型系統軟硬體架構介紹

ReferenceReference[11] CIS 700 Integration of Embedded System Components Principles and Practice httpwwwcisupennedu~lee05cis700slides_pdflec01-emsys-v1pdf[12] Embedded Platform Choices httpwwwmpc-datacoukaboutusPresentationsTheRightPlatformChoicepdf[13] Pukyung National University Embedded System Laboratory httpcalab1pknuackrpdfmacro_processorembedded_ppt1ppt[14] Open Source Embedded System Development Platform httpwwwasia-ossorgsep2004presentationcompanywiscoreforaossppt