Embedded System(3) - PowerPoint PPT Presentation

1 / 59
About This Presentation
Title:

Embedded System(3)

Description:

Title: Embedded System(3) Author: wzchen Last modified by: wzchen Created Date: 5/23/2004 6:34:39 AM Document presentation format: – PowerPoint PPT presentation

Number of Views:322
Avg rating:3.0/5.0
Slides: 60
Provided by: wzc6
Category:

less

Transcript and Presenter's Notes

Title: Embedded System(3)


1
(4)?????????
  • ?????????
  • ???
  • 2005?3?

2
  • ????????????????????????
  • ???????,?????????????????????
  • ????????????? ??????????????

3
1. ????
  • ?????,?????????,??????????????/?????
  • ?????????,????????????????????????????????????????
    ?
  • ????,???????????????
  • ????,??????????????????

4
1.1??????
  • ????????????????????????????,?????????????????????
    ?? ?
  • ??????????????????????????????????(BDM/JTAG???)?

5
1.1.1???
  • ?????
  • ASM/Ada/C/C/EC/Java/OP/STAPL
  • EC??
  • 95????????Embedded C????

6
???C/C????
  • ???c/c???
  • ?????????pc/unix???????cpu??????
  • ??/?????????dos/windows?????????????????????????
    ?????,??????????
  • ???????????c?????????????
  • EC???????????????,???C??????????

7
???C/C????
  • ??????(remote/rom monitor)??.
  • ??????????????,?I/O?,??????
  • ????????
  • GNU ?CADUL ?CodeWarrior?GreenHill?Diab/SDS?IAR?BC/
    VCToolkit.?

8
  • (1)???Franklin Software Inc. ?A51/C51?Keil
    Software Inc.? CA51/CA251/CA166?????
  • (2)TASKING Inc. ?C/C/EC ???
  • (3)CAD-UL Inc.?????????X86?68K ?
  • (4)Wind River Systems, Inc.?Diab C/C Compiler
    Suite,???pSOS???
  • (5)IBM ?High C/C Compiler ,??Power PC?
  • (6)GNU????????GCC

9
1.1.2 ???
  • ????
  • ?????????????????????,??????????????????????????(?
    ?????)?

10
??
  • ?????????????
  • ??????????????????
  • ???????????????
  • ?????????????????????????????
  • ?????????????????????(?????????????????????)?

11
?????????
  • ? ??(stub)
  • ? ????(On Chip Debugging)

12
1.1.2.1 ??(stub)
  • ??????????????????????,????????????

13
??
  1. ??????????????????????????????(????????)?????????
    ????
  2. ???????????????????????????????????????,?????????
    ??????????????????????????

14
  1. ?????????????????????????????????????????????????
    ?????,????????????????????????????????????????????
    ,???????????
  2. ?????????????????????????????????????????????????
    ????????????,????????????????????????,??????????

15
  • ??????????????????2??????????????????????????????
    ???,???????????????????????????GNU GDB??????

16
????????
  • ???????????(?????????)
  • ???????
  • ???????????
  • ???????????

17
?????????????????? ????ROM????ROM monitor
18
  • ??????????????
  • ?????Alpha?Sparc?PowerPC???LINUX?????kgdb????,????
    ??????

19
????
20
Stub???
  • ???????????????(exception handler)???????
  • ?????????????,?????????
  • ???????????

21
1.1.2.2.????OnChip Debugging
  • ????????????????????,????????????????????
  • ?????,?????????,????????????????????????????(?????
    ???)??????
  • ????????????????
  • ?????????

22
(No Transcript)
23
???????
  • ?????????(microcode monitor)???????????
  • ????????????(???????)
  • ?????Motorola CPU16?CPU32?Coldfire???BDM(Backgroun
    d Debug Mode),Motorola PowerPC 5xx?8xx???EPBDM(Emb
    edded PowerPC Background Debug Mode),IBM?TI?JTAG(J
    oint Test Action Debug,IEEE??),??OnCE?MPSD???

24
EPBDM?????
  • ????????????????????????
  • ?????????????(debug enable register)??????????????
    ??????????,?????????????
  • 1????????,???????????????????,?????????????????
  • 2????????????????????????(??????)?

25
  • 3??????????????,??load/store ???????,??(cache)????
    ???(MMU)????
  • 4?????????????????DPDR,??mtspr?mfspr?????
  • 5?????????rfi(return from interrupt)?????????,????
    ??????

26
OCD(????)???
  • ??
  • ????????????
  • ??????????
  • ??????????????,????????????
  • ??
  • ????????
  • ????????????????????????????
  • ??????????????????ROM?RAM???????

27
1.1.2.3 ???????
  • ??(agent)
  • ??????,??,???trace point
  • ????
  • ?????
  • ?????,??????,???????
  • ??????
  • ?????????
  • CPU??????
  • ??????

28
1.1.2.4?????
  • Applied Microsystems Corp ?AMC System Debug Tools
    (CodeWarrior)
  • Signum Systems Corp. ?Chameleon Debugger
  • Wind River Systems, Inc. ?SingleStep /Tornado
    Debugger

29
1.1.3 ???
  • ?????????
  • ????EEMBC(EDN Embedded Microprocessor Benchmark
    Consortium)
  • EEMBC?????40????????????????????????????????C????
    ???
  • ??????????????????????????????

30
???????
  • ????
  • ???????????????.????????????????.
  • ?C???,??????, ???,??,??
  • ????????(kernel benchmark)
  • ???????????????,?????????????
  • ?Livemore Loops(????), Linpack?

31
  • ????????(toy benchmark)
  • ??????????(10100?)
  • ?????,????? ?
  • ??????(synthetic benchmark)
  • ?????????????(???????????)?????????
  • ?Whetstone, Dhrystone?

32
(No Transcript)
33
??????
  • Applied Microsystems Corp. ?CodeTEST,?????????????
    ??????????????????????????????? ?
  • Vector Software, Inc?VectorCAST,??????????????????
    ????????????????????????

34
1.2 ????
  • ???????
  • 1??????(Simulator)
  • 2????????ICE

35
1.2.1 ??????(Simulator)
  • ???????????????????????,????????????
  • ?????????????????????????I/O?????
  • ?????????????,???????????????,?????????????????
  • ???????????????????????????????????
  • ?ICE???
  • www.chiptools.com ?www.keil.com

36
??
  • ?????????????
  • ???????????????
  • ??????????????

37
??
  • ?????????????????,????????????????????????????????
    ??
  • ????ICE??,?????????????????????

38
ChipView-x51 for Windows
39
ChipView-166 for Windows
40
SystemView
41
(No Transcript)
42
WinCE?Pocket?????
43
1.2.2????????ICE-???
  • ICE??????
  • ICE????????????????,????????????,????????????????
  • ICE?????????????????????????????????????????,?????
    ?????????
  • ???ICE????????????????????????????????????????????
    ??????????????????????,????,???????????

44
ICE???????????,??????????????????
  • ??ICE??(???NOHAU?????)???????????????,????????????
    ??????????(Trace)????????(Shadow
    RAM)???????????(PPA)?

45
??ICE
  • Applied Microsystems Corp. ?CodeICE/EL/CodeTAP/Sup
    erTAP/PowerTAP???
  • Lauterbach, Inc. ?TRACE32-ICE???
  • Signum Systems Corp. ?Signum?????
  • Embedded Support Tools Corp. ?visionICE???
  • http//www.nohau.com

46
EMUL-PPCEmulator Supporting the XilinxPowerPC
Family
EMUL-ARM Supports the ARM7 and ARM9 CORES
47
1.3 ??????????
  • ????
  • ?????
  • ??/????
  • ??
  • ??????
  • Flash??
  • ???????????

48
1.4 ??????????
  • ????
  • ?????????????,????,?????
  • ????51???..
  • Rom monitor
  • ????????,????????,??
  • Flash??????,????/?/ethernet???

49
??????????
  • Rom???
  • ??????????Rom??,?????/ethernet??Rom
    monitor.?Rom??????
  • Rom monitor ?Rom??????
  • Cpu ??,????????
  • ?????
  • monitor????,???
  • Rom????C/C???????????

50
??????????
  • BDM
  • ??????,?motorola??,????????????,???????????(rom
    monitor??????)
  • JTAG
  • ??????,?IEEE??,?????????????ASIC?????????

51
??????????
  • BDMJTAG???,????????
  • ?????????????,???????????rom monitor??
  • ????/????
  • ?????????,?????????
  • ????????????
  • ???????trace??,?????

52
2. ??????
53
(No Transcript)
54
2. 1 MontaVista Linux
  • ?????,???14???????,??Red Hat?Yellow Dog
    Linux?SuSE?Mandrake?Solaris??VMWare on Windows
    NT/2000
  • ????215???????????????????????
  • ??????????????????????????
  • ??x86?PowerPC???Linux????(????????????)
  • ext3??????

55
2.2 CodeWarrior IDE
  • ????????????????????,?????????????????????????????
    ?,????????????
  • ???????????????????????????????????
  • ?????????,????
  • Plugin????????IDE???,?????????

56
2.3 MULTI IDE
  • ??????????????????????
  • ??????
  • ??????
  • ?????
  • ?????
  • ????????
  • ?????
  • ?????
  • ??????

57
2.4 CAD-UL Workbench
  • (1)???????
  • (2)??????????????
  • (3)???????????????????
  • (4)??????????????????????,????????
  • (5)????????????
  • (6)????????????????????
  • (7)?????????????????????,??????????
  • (8)????????,?????????
  • (9)?????????

58
2.5 QNX Momentics(QNX6.2 )
  • C,C,Embedded C?Java?????
  • ??????
  • ?????
  • ?????
  • ?????
  • ?????
  • ?????
  • ????
  • ?????
  • ?????
  • ?????
  • ??????
  • GNU???
  • ???????

59
2.6 Microsoft Windows Embedded
  • (1)Windows CE.NETeMbedded Visual C 4.0
  • (2)Windows XP Embedded Visual Studio .NET
  • (3)Windows NT EmbeddedTarget Designer ?Component
    Designer
Write a Comment
User Comments (0)
About PowerShow.com