????????????????????,???????????,??????????????????????????????,???????????????????????????????,?????????????????????? - PowerPoint PPT Presentation

1 / 43
About This Presentation
Title:

????????????????????,???????????,??????????????????????????????,???????????????????????????????,??????????????????????

Description:

Title: Windows CE Author: HW Last modified by: user Created Date: 12/20/2004 7:06:57 AM Document presentation format: – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 44
Provided by: HW66
Category:
Tags: embedded | visual

less

Transcript and Presenter's Notes

Title: ????????????????????,???????????,??????????????????????????????,???????????????????????????????,??????????????????????


1
?9???????
  • 9.1 ??
  • ????????????????????,???????????,?????????????
    ?????????????????,???????????????????????????????,
    ?????????????????????????,???????
  • ??????????????????????????????????????????????
    ???S3C2410????,???????Windows CE .NET
    4.2????????????????????????????????????????
    LCD????

2
  • ?????????????64MB SDRAM?64MB NAND
    Flash???????????????????????????,???????????,?????
    ,USB??,??,CF??IrDA?????????????????????,??????????
    ?????????31??????????????MSP430?????????????????,?
    ???????????????????????19264 LCD???????
  • ????????????????????,????????Windows
    CE??????????,?????????????????????????,???????????
    ??,CF?????

3
????
?????????
4
9.2 ???????
  • ?????????????????????????,??????????????????
    ,????????????????,???CPLD ????????????????????????
    ???????
  • ???????????????9-1abc??,????????????,???????
    ?? LCD????????
  • 1)???????
  • ???????????,??????????????SDRAM???NAND
    Flash??????????????,??????(12MHZ?32KHZ??),????????
    ????PCB????9.1b,c???

5
  • ?9.1a???????

6
  • 2) FlashROM?????
  • ?????,??????????ARM920T??S3C2410??????????????
    ???NAND Flash,??????Samsung???K9F1208,???64MB,NAND
    FlashROM ????????9-2???
  • ?????????,??????528(51216)??,????????200µs?
    ????????,???????16K??,????????2ms????????????????5
    0ns?K9F1208???48???,??????8?I/O??????????????I/O??
    ????????????/????????K9F1208????ECC?????,?????????
    ???,???????10?????/????,??????10???S3C2410?????NAN
    D Flash???,?????????NAND Flash????????,NAND
    Flash?????????????????????,????????????

7
?9.1b ?????????
  • ???????????,????????????,SDRAM??,NAND
    Flash??????????????

8
?9.1c ???PCB?(6?)
9
?9-2 NAND FlashROM????
10
  • 3) SDRAM?????
  • SDRAM??????????????????,?9-3???? SDRAM
    ????????,??????HY57V561620 16M16Bit
    SDRAM??,????32Bit????,64MB???
  • HY57V561620???4Banks4M16Bit?SDRAM??,??3.3V?
    ???,??????????SDRAM????RAM??,????????,???,???,???,
    ???????166MHz???,???????10ns?????????SDRAM????????
    ?????SDRAM??S3C2410???SDRAM??????,SDRAM???BANK6??

11
?9-3???SDRAM????????
12
  • 4)?????
  • ?9-4?????????????????,??MIC5207???????????3.3
    V???????1.8V????????????????????????,??????,????,?
    ?????????????,?????????????,???????ARM????????????
    ???S3C2410??????FBGA????????,???????203MHz,??FBGA?
    ?????????????????????????????????,??????,????,????
    ??????,???????,??????,????????????????144?SIMM????
    ?????????????ARM9?????,????????,????????????????

13
  • ?9.4 ?????

14
9.2.2???(???)???????
  • ??????????,???????????????????,???????????,?
    ??????????????????????RJ-45?????USB
    ?/???????????LCD??????CF??????????????,???????????
    ?????(??????CPLD)????????????????????SIMM????,????
    ???????????????????????CPLD????Altera???EPM3032ATC
    44-10?CPLD???CPLD?????????FIFO????????????,???????
    ??????????????(??????IDE??)???S3C2410????CF?(?????
    ???????)??,??????CF?,??????????????????????IDE????
    ?CF????

15
  • ?????????????CS8900???????CS8900???Cirrus
    Logic??????????????,?????100-pin
    TQFP,???????RAM?10BASE-T?????,????8??16???????????
    ?16????????????????9-6 ??,??HR601627????????,?CS89
    00?????????????????
  •  

16
  • ?9.6 CS8900????????

17
  • ????????????19264?LCD????????????????????,?
    ?????????????19264??????????????????,?????124?(
    1616?? )??,??3.3V????,????????8????????????8?????
    S3C2410????????LCD???,?????????????????,??????????
    ?????,?????????????????I/O??????

18
  • S3C2410????3.3V TTL ???????,????????????RS23
    2C??????,?????SP3243?????????,?????????????
  • ??????????,??????????????,??????????9?D???,??
    ????????????5V??????????????,?????????????,???????
    ???????????5V?????????????,5V?????????????????????
    5V??,???????????????????5V????????????,???????????
    ????????,?????? 9-8 ???

19
? 9-8 ??????
20
  • ???????????,?????????????????????????,?????????
    ?????,???????????????????????????,???????74HC17???
    ????????????????????????????????,?????????????????
    ?9-9?? ?
  • S3C2410????????USB??,????????????????

21
?9.8 ???????

22
9.2.3???????
  • ??????????????????????????????????????????????
    ,????????????,???????16???????MSP430?????
  • ?????????????????,????????,???????????????????
    ?????,?????????????????????????,??????????????????
    ?????????????????????????????,?????????,??????????
    ??????,?????????,??????????????????????????????,??
    ????????,??????,??????????31??????????????????????
    ????,??Shift??????,?9-10?????????

23
  • ??,??????,????????????????,???????????????????
    ???????MSP430F149,??TI?????????16?RISC????????????
    ??????????????????????,???????????????CPU??16?????
    ??????MSP430??????????????,????????????????????,??
    ??????(DCO)??????????????,???6µs??????????????????
    ??MSP430F149?????I/O???????????,?????,????????????
    ????????1.8-3.6V??,1MHz????????,?????0.1-400µA??(?
    ??????????)?CPU????????,?????????,CPU?????,???????
    ?,CPU?????????

24
?9-10????????

25
?? ??
10M??? ??CS8900
??????RS232??
???? RJ45??
JTAG?? ??
?? RS232??
???? MAX603
LCD??? ??
26
9.3 ???????
  • ???????????????????????????????????????????
  • 9.3.1??????????
  • Window CE ???????????,??????????????,??????????
    ???????Windows CE?
  • Microsoft Windows CE .NET ????????????32??????????
    ??????????????????????????????,????????????????,??
    ????PDA ?????????Windows CE .NET??????????????,???
    ??????????????????????????????,Windows CE .NET
    ???? Windows ????????????Microsoft Win32
    API?ActiveX ????????COM ???ATL ?MFC,??????????????
    ? Windows ?????????????????Windows CE .NET
    ??????????(TCP/IP?SNMP?TAPI ?)??????,?????Windows
    ?????????????Windows CE ?? ActiveSync
    ???????????????????

27
9.3.1 Win CE??????????
  • 1)NAND FlashROM???????
  • ???????? NAND FlashROM??????4???,??????1024??
    ,????32?,??512?????????????,????????????????????(1
    6KB)???????????????,????????,??2048???????????????
    ?????????????????
  • ( 1)NBoot?(0-1?)
  • ???2?(32KB),??4KB???????,????EBoot(????)??Wi
    ndows CE(????)??,???????????????????????
  • (2)EBoot?(2-8?)
  • ???7?(112K),????????,????????NAND
    Flash,??????Windows CE????
  • (3)Windows CE?(???)??Windows CE??????

28
2)Win CE??????????
  • ????Windows CE?????????????????
  • (1)??????????.cec??
  • (2)????????,??Windows CE?????????
  • (3)???????????????
  • (4)???????????????????????(Board Suport Package)
  • (5)??BSP????????????,?????????????????,??????
  • (6)?????????,???????????????????(SDK)?
  • ????????????EVC????????

29
  • ??,????????,???OS?????????????,????PC???Window
    s CE????(CEPC)?Platform Builder???CEPC????????????
    ???????????(BSPs)?????????????????????????????????
    ??????????????????????????????(OEM)???(OAL)?
  • OAL??????????????????????Windows
    CE??????????????,????????????OEM???(OAL)???OEM??
    ?(OAL)??Windows CE?????????,??????????????Windows
    CE???????,???Windows CE???????????????????????????
    ????????OAL?????????????????,???????????,??Windows
    CE????????,???????????????

30
  • ??????Windows CE???????????????????,????Windows
    CE????????????????????????,??????????????????????
    ???????????,??????OAL?????????OAL?????????????????
    OAL????????????,???????????????????OAL????????????
    ????????,????????????OAL???????????????,S3C2410???
    ?OAL???????????????(Board Support Package)???????
  • ??????????S3C2410???,??????ARM
    V4??????,?????????????ARM V4???BSP??????,?????????
    ?????.cec???Platform Builder?Catalog??,???????????
    ???

31
  • ??Windows CE?????20M-30M??,????????????????????
    ?RAM?,????????????Platform Builder????????????
  • (1)??????????????????????????????????????????????
    ,???????????????????Platform Builder
    4.0???????????????????????????????????????????????
    ??
  • (2)?????????????????Windows CE????????(EBoot)????
    ?????????????????????????????,????????????????????
    ????,?????????????????????????????????

32
  • (3)?????? ???WinCE??????,???????????????????????,
    ????????????????????
  • (4)???????????????????Win CE?????????????????????
    ??????????,???????????????????????????????????????
    ????????????,??????????115200bps,???20M??????????2
    3??,????????
  • ??????????,????????????????????????????(EBoot)?
    ??????????Platform Builder??,?????????????????????
    ?????????????????????????????????????????????,????
    ?,????????????????

33
3) Windows CE?????
  • (1)?????,??????NAND FlashROM????,?OMl0???00
  • (2)?????,?????NAND FlashROM???4KB??(NBoot)???boot
    SRAM?,??boot SRAM????????(NBoot gt
    4KB),?NBoot??????SDRAM?,???NBoot
  • (3)?????????,NBoot?EBoot?????SDRAM,??EBoot,EBoot??
    ??????????????Windows CE????,????????Windows
    CE??
  • (4)NBoot??EBoot?Windows CE??????SDRAM,??Windows
    CE?????

34
  • ??????NAND FlashROM??,???????,boot
    SDRAM??????0x00000000,?????NAND
    Flash???4KB?????boot SDRAM?,????boot
    SRAM????,?NBoot???????????????NBoot???????NBoot???
    ????,?????????,??????????SDRAM,?????????

35
9.3.2???????????
  • 1) Windows CE ????
  • ??Windows CE????????,?????????????????????????????
    ????????????????,??????????????,??????????????????
    ?????,Windows CE?????????CE?????????,?????????????
    ?????(model)?

36
  • Windows CE ???????????????????( Stream
    Interface Driver )???????( Native Device Driver
    )??????????????????????,?????????????????,???????
    ???????????????????????????????????( DLL
    )?????????Windows CE ????????????????????????????G
    WES ????????????????????????( Device Manager
    )?????????????????????,??????
  • ???????,????????????,?????LCD,??????????,??????
    ???????????????????,????USB Client
    ,???????????????????????????????????????????,?????
    ?????????????

37
2)????
  • ????????????????????????????,???CPU
    ??????????????????,???????????????????????????????
    ?????????,?????????????????????????,??????????????
    ??????????????????????????????????????????????,???
    ?PC ???????????????????????????????Windows CE
    .NET ???????????????????????

38
  • Windows CE.NET ??????????????????,???????????,
    ????????????????????????????????????????,?????????
    ?????????????????RAM ????????????????????????????,
    ????????????????????????
  • ?????????????????
  • ??????????????????????????,?????????????????
  • ???????????????????????????????????????????,??????
    ??????????

39
  • ??????????????????????????????????????????????
    ???????????????????????,??????????????,???????????
    ????????????????,?????????????????????????,???????
    ??????????????????????????????????????????????????
    ???????????????????????,??????????????

40
3)?????????
  • ??Windows CE?????????PS/2???????????????????,????
    ??UART1,??????????????????Windows
    CE??????,?????????????????,??????,?????????
  • Windows CE????????????,ISR?IST?Windows
    CE????OAL??????,???????OAL??????????????

41
  • (1) ?UART1???????
  • (2) ??OAL???????????,?UART1??????????????(SYSINTR_
    KEYBOARD)
  • (3)??????????????IST??????SYSINTR_KEYBOARD,?SYSINT
    R_KEYBOARD?????EVENT_KEYBOARD?,????????
  • (4) EVENT_KEYBOARD??????,????????????????,????????
    ???????,????????
  • (5) ????????????????????,?????????????
  • ??Windows CE?????????????????,?????DLL????Windows
    CE??,???????????,?????????????????????(MSP430)????

42
??????
  • KeybdIstLoop(KEYDB_IST pKeyDBIst)
  • struct KEYBD_IST
  • HANDLE hevInterrupt
  • DWORD dwSysIntr_Keybd
  • UINT uiPddId
  • PFN_KEYBD_PDD_GET_KEYBD_EVENT
    pfnGetKeybdEvent
  • PFN_KEYBD_EVENT pfnKeybdEvent

43
9.3.3?????????
  • ??????????????????,????19264?,????Windows
    CE?????,????????????????????????????????Dos???,???
    ???
  • (1)???? ??????,??/????,????,??????
  • (2)???? ???????,??,??,??,??,???
  • (3)???? ??IP???????????????
  • (4)???????????
  • ??????????Embedded Visual C
    4.2?????,?????????Visual C 6.0?????,???????
Write a Comment
User Comments (0)
About PowerShow.com