2.2
This presentation is the property of its rightful owner.
Sponsored Links
1 / 152

2.2 嵌入式系统的软件基础 PowerPoint PPT Presentation


  • 62 Views
  • Uploaded on
  • Presentation posted in: General

2.2 嵌入式系统的软件基础. 2.2.1 软件系统概述 软件 (software) 是计算机系统中与硬件 (hardware) 相互依存的另一部分,它包括程序 (program) 、相关数据 (data) 及其说明文档 (document) 。 其中: 程序 是按照事先设计的功能和性能要求执行的指令序列; 数据 是程序能正常操纵信息的数据结构; 文档 是与程序开发维护和使用有关的各种图文资料。. 软件系统概述. 软件没有明显的制造过程。 一旦研制开发成功,就可以大量拷贝同一内容的副本。所以对软件的质量控制,必须着重在软件开发方面下工夫。.

Download Presentation

2.2 嵌入式系统的软件基础

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


2 2

2.2

2.2.1

(software)(hardware)(program)(data)(document)


2 2


2 2

  • RTOS


2 2

1

CORBA

Java


2 2


2 2

1

2

n

CORBA

JAVA

DCOM

TCP/IP

GUI

FLASH

RTC/

LCD

2


2 2

4OSAPIOS


2 2

1

HALBSP


2 2

  • DMA


2 2


  • 2 2

    2OS

    • 32RAMROM


    2 2

    • OS

    • GUI


    2 2


    2 2

    OS

    • TCP/IPGUI


    2 2

    CLinuxBootLoaderCLinuxLinux


    2 2


    2 2

    CPUCPUCPU


    2 2

    /

    CPU


    2 2

    API

    APIApplication Programming Interface,APIAPIAPI


    2 2

    API

    APIAPIAPIAPI


    2 2

    3

    HALBSP


    2 2

    3

    • CORBAJavaDCOM

    • CORBASCASoftware Core Architecture


    2 2

    4

      • I/O

    • C/C++


    2 2

    Main TaskAPI

    CPU


    2 2


    2 2

    3

    /

    • 5


    2 2

      • CPU

      • BSSBlock Storage Space

      • CPU


    2 2

    • /


    2 2

      • NOR FlashRAMFlashRAMFlash

      • RAMNorFlash

      • NandFlashCFMMCRAM


    2 2

    • TFTPFTPHTTP

    • Console


    2 2


    2 2


    5 ide

    5IDE

    IDE

    cross compilercross assemblerJTAG


    2 2

    1

    • assembler

    • complier


    Arm c

    ARMC

    ARMC

    • SDT 2.5(ARM Software Development Toolkit)

    • ADS 1.1/1.2(ARM Developer Suite)

    • RealView Developer Suite

    • arm-elf-gccarm-linux-gcc


    2 linker

    2linker


    2 2

    6


    1 debugger

    1debugger

    debugger

    VM,Virtual Machine


    2 2

    2

    • 3


    2 2

    • JTAG


    2 2 2

    2.2.2

    • PCWindowsDosLinux


    2 2

    • RTOSRTOSRTOSRTOSCPUI/OAPICPU


    2 2

    • RTOSAPIRTOSC10RTOS

    • RTOSRTOSAPI


    2 2

    1

    CPU

    CPUCPUCPU


    2 2

    2


    3 cpu

    CPU

    1

    2

    3CPU


    2 2

    FIQ IRQ ;

    SWI


    2 2

    ARM

    CPSRSPSRSPSR


    2 2

    CPSR

    • CPSRCPSR[40]CPSR[7]=1,IRQ

    • ResetFIQCPSR[6]=1,FIQ

  • R14R14_mode


  • 2 2

    4

    • SPSR_modeCPSRCPSRSPSR

    • PC

    • CPSR76I/F


    2 2

    4

    52


    2 2

    6


    2 2

    2

    • GUI

    • /


    2 2

    I/O


    2 2

    /


    2 2

      • /


    2 2


    2 2

    I/O

    )

    /

    DeltaCORE


    2 2

    QNX4.25/


    2 2

    1


    2 2

    -EOS

    • Embedded Operating System (EOS)

      • CPUI/OAPI


    2 2

    EOS


    2 2

    2


    2 2

    CPU

    ROMRAMCPU25


    2 2

      • Round-Robin


    2 2

      • MMU


    2 2


    2 2


    2 2


    2 2

      • Hook

      • Hook


    Tcp ip

    UDP

    TCP

    ICMP/IGMP

    IP

    ARP/PPP

    TCP/IP

    /

    • TCP/IP

    • TCP/IPTCP/IPSocket

    Socket


    Tcp ip1

    TCP/IP

    • TCP/IP

      • TCP/IP

      • Zero Copy

        TCP/IP


    Tcp ip2

    TCP/IP

    • MTUMTU


    2 2


    2 2


    2 2

    3

    Response TimeSurvival TimeThroughput


    2 2

    • Response Time

    • Survival Time

    • Throughput


    2 dispatcher

    (2)dispatcher

    CPU

    CPU


    3 priority

    (3)(priority)

    priority


    2 2

    (4

    non-preemptive

    cooperative multitaskingCPUCPUCPU


    2 2

    CPUCPUCPUCPU


    Non preemptive

    2

    1

    ISR

    3

    TIME

    4

    5

    6

    7

    CPU

    (Non-Preemptive)


    Preemptive

    preemptive

    CPUCPUCPU


    2 2

    C

    CPU


    Preemptive1

    2

    1

    ISR

    3

    TIME

    4

    5

    CPU

    6

    (Preemptive)


    2 2


    2 2 3

    2.2.3

    8


    2 2

    1

    CPU


    2 2

    1


    2 2

    • CPU

    • CPUI/O

    • Socket


    2 2

    2

    • Cache


    2 2

    3

    • I/OCPUI/O

    • I/OI/O

    • I/OI/O


    2 2

    4


    2 2


    2 2

    2080uC/OS-II LinuxWindows CE VxWorks


    2 2

    2

    • Internet


    3 uc os ii

    3uC/OS-II

    uC/OS-IIMicroControler Operating System Jean J.LabrosseLinuxuC/OS1992Embedded System Programming1993uC/OS-II uC/OS-IIIntelPhilipsMotorola


    C os ii

    C/OS-II

    • C/OS-IIANSIC

    • 864C/OS-II40

    • C/OS


    C os ii1

    C/OS-II

    • C/OS-II5500

    • CPUIntel80x86

    • C/OS-II


    1 uc os ii

    1uC/OS-II

    uC/OS-II uC/OS-II5ReadyRunningWaitingDormantISR

    uC/OS-IIAPI


    2 2

    uC/OS-II5KB, uC/OS-IITCP/IPGUI


    2 c os ii

    2C/OS-II

    • C/OS-II


    Uc os ii

    uC/OS-II

    • 8.3KBI/O

    • uC/OS-II346C31


    2 2

    • uC/OS-II

    • uC/OS-II648

    • uC/OS-II

    • uC/OS-IICPCCPU


    2 2

      • PC.C

      • OS_CORE.C OS_FLAG.C OS_MBOX.C OS_MEM.C OS_MUTEX.C OS_Q.C OS_SEM.C OS_TASK.C OS_TIME.C COS-II.C COS-II.H

      • OS_CPU_A.S OS_CPU_C.C OS_CPU.H

      • includeINCLUDES.H

      • C/OS-IIOS_CFG.H


    Ucos ii

    uCOS-II


    Ucos ii1

    uCOS-II

    UP-NETARM3000

    • FATU

    • Unicode

    • API


    2 2


    C os ii2

    C/OS-II

    C/OS-II


    4 linux

    4Linux

    • API

    • Linux13%Linux52%24Linux


    2 2

    • LinuxLinuxLinuxRT-LinuxKURT-LinuxLinuxuClinuxPorket LinuxRT-LinuxLinuxLinux


    1 uc linux

    1uCLinux

    LinuxuClinuxLinuxKMMULinux(Embedded Linux) Linux


    2 linux

    2Linux

    LinuxCPUAPI


    2 2

    • X86CPUCPU

    • Unix

    • Linux


    2 2

    LinuxPDA

    Linux

    Linux6


    3 linux

    3Linux

    • Linux

      • ucLinux

      • RTLinux

      • linux

        • ARM-Linux 2.6.0


    1 linux

    1Linux

    • vim vi

    • gcc

    • gdb

    • Makefile makefile

      make, make clean


    2 2

    2

    • make config

      yes no

    • make menuconfig

    • make xconfig

      make menuconfig X window


    2 2


    2 2

    3

    • Linux(char device)(block device)(network device)(random access)CD-ROM

    • LinuxLinuxBSD unixsocket(sk_buff)


    2 2

    4

      • minigui

      • qt


    5 windows ce

    5Windows CE

    1

    Windows CEMicrosoft

    Windows CECCWindows CEGUI

    GUIWindows CEDOS


    2 2

    • Windows CEWindows 98/NTWindows CE

    • Windows CE32WinCE


    2 2

    • Windows CE256Windows CE200KBROM

    • Windows CEWindows Microsoft Win32 APIActiveXCOMATLMFCWicrosoft Windows CEActiveSync


    2 win ce windows

    2Win CEWindows

    • Windows CE

      Windows CEWindows CEWindows

    • Windows CE

      PCWindows Windows CEWindows CE


    2 2

    Windows CEPC4MB8MB

    Windows CE

    Windows CEWindows 98/NTWindows CE


    Windows ce api

    Windows CEAPI

    Windows CEWindows 98/NTC/C++RTLAPIANSIWindows APIWindowsWindows CE


    Windows ce

    Windows CE

    Windows CEWindows CE

    Windows CEWindows CEWindows CE


    Win ce

    Win CE

    Windows 98/NTIntelWindows CEWindows CEWindows CEActiveSync

    Windows CETCP/IPSNMPTAPI


    2 2

    Win CEInternet

    Win CE Microsoft

    Windows CEWindowsAPI

    Windows CE 4.2 CE5.0


    3 windows ce

    3Windows CE

    • 1

      Windows CE.net

      Windows CE.net 4.2

    • 2

      • Platform Builder

      • Embedded Visual C++

      • Microsoft ActiveSync


    Platform builder

    Platform Builder


    Embedded visual c

    Embedded Visual C++


    Windows ce1

    Windows CE


    4 wince

    4Wince

      • LED

      • Windows CEDEVICE.EXE


    4 windows ce

    4Windows CE

    6

    1.

    2.BSP

    BSPPbBSPBSPCPU

    3.

    4.

    5.SDK

    pbSDK

    6.


    6 vxworks

    6VxWorks

    VxWorksWindRiver1983MMURTOS

    VxWorks400VxWorks APIGNU


    Vxworks

    VxWorks

    x86i960Sun SparcMotorola MC68xxxMIPS PowerPC

    F-16FA-18B2VxWorks

    QNXNucleus EmbeddedThreadXeCosPalmOSSymbian


    Vxworks architecture

    VxWorks Architecture


    2 2

    7


    2 2

    • SymbianLinuxPalm

    • 15%~20%


    1 palm os

    1Palm OS

    • Palm Computing32PDA

    • Palm 3000

    • Palm OSPalm OS1


    2 symbian os

    2Symbian OS

    • SymbianEPOCEPOC Electronic Piece of Cheese

    • SymbianCJavaUSBIPv4IPv6


    3 windows eos

    3Windows EOS

    • Windows Mobile

    • Windows CE(WinCE)

    • Windows XP Embedded(XPE)


    1 windows mobile

    1Windows Mobile

    • 5.0 Windows Mobile

      • Windows Mobile for SmartPhone

      • PDAWindows Mobile for Pocket PC Phone

      • PDA Windows Mobile for Pocket PC

    • Windows MobileWindowsWindows Mobile/MSN


    2 2

    Windows Mobile 6.0


    2 windows ce wince

    2Windows CE(WinCE)

    • WinCE

    • PCWin32 API

    • Linux2007111Windows Embedded CE 6.0350


    3 windows embedded xp xpe

    3Windows Embedded XP(XPE)

    • Windows XPXP


    Windows

    Windows

      • WinCE Windows MobileWindows Mobile 5.0 6.0WinCE 5.x 2004WinCE 6.02006

      • XPEWEPOS Windows XP

      • WinCE Windows MobilePMP

      • Windows Embedded XP


    4 linux1

    4Linux

    • SymbianLinux+Java


    5 gphone

    5GPhone

    • Android

    • AndroidGoogleOHA

    • 25


    2 2

    • 2008TrolltechQtopiaLinux


  • Login