1 / 37

嵌入式作業系統實作 Implementation of Embedded Operating Systems

嵌入式作業系統實作 Implementation of Embedded Operating Systems. 薛智文 cwhsueh@csie.ntu.edu.tw http://rswiki.csie.org/dokuwiki/courses:102_2:ieos http://www.facebook.com/groups/190254204331656/. Rules in Class. Be on time for class, deliverable, … No food but water. No nap but rest.

edie
Télécharger la présentation

嵌入式作業系統實作 Implementation of Embedded Operating Systems

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 嵌入式作業系統實作Implementation of Embedded Operating Systems 薛智文 cwhsueh@csie.ntu.edu.tw http://rswiki.csie.org/dokuwiki/courses:102_2:ieos http://www.facebook.com/groups/190254204331656/

  2. /35

  3. Rules in Class • Be on time for class, deliverable, … • No food but water. • No nap but rest. • Ask questions in>between>after classes. • Do participate. /35

  4. 市值 2013/06/30 System Software Application Software Hardware 台積電 1307x 系微 1x (20.7 億台幣) 訊連 5x 鴻海 417x 趨勢 61x 聯發科 213x 宏達電華碩 廣達 99x 99x 119x Adobe 332x Citrix 164x Intel1746x Semantec 227x Vmware 416x TI560x Microsoft4181x ARM244x Google4233x IBM3071x Apple5395x /35

  5. 市值 2013/10/08 System Software Application Software Hardware 台積電 1342x 系微 1x (20.1 億台幣) 訊連 4x 鴻海 492x 趨勢 77x 聯發科 255x 宏達電華碩 廣達 57x 88x 124x Adobe 372x Citrix 194x Intel1668x Semantec 254x Vmware 508x TI644x Microsoft4067x ARM322x Google4227x IBM2923x Apple6497x /35

  6. Outline • Introduction to Embedded System • Introduction to Embedded OS • uC/OS-II • Xen • OpenStack • uC/OS-III /35

  7. Introduction to Embedded System /35

  8. Preface • Window 2000, 30M lines. • Netscape Communicator 5, 17M lines. • A 圍棋 program, 0.01M lines. • A SOHO router, 0.6M lines. • What is Embedded (Linux/system)? /35

  9. Tinix’-“自己動手寫作業系統,” 于淵 org 07c00h ; tell the assembler to load onto 7c00, 0100h for DOS mov ax, cs mov ds, ax mov es, ax call DispStr ; call string display procedure jmp $ ; infinite loop DispStr: mov ax, BootMessage mov bp, ax ; ES:BP = string address mov cx, 16 ; CX = string length mov ax, 01301h ; AH = 13, AL = 01h mov bx, 000ch ; page number is 0 (BH = 0) black background red character ; (BL = 0Ch,highlight) mov dl, 0 int 10h ; the 10h software interrupt ret BootMessage: db "Hello, OS world!" times 510-($-$$) db 0 ; fill the rest of sector (512 bytes) with 0 dw 0xaa55 ; end of sector /35

  10. 電子書包與數位學習輔具分工架構圖 數位學習平台 數位學習輔具 開發工具 電子書包平台結構 數位學習輔具 數位學習平台閱讀 程式SCORM HTML XML 電子書包數位內容 開發工具 電子書包教學數位內容 Physical • Serial • USB • 1394 • IrDA • Bluetooth • 802.11 教學 / 同儕群體 應用軟體開發工具 教師教學應用軟體 同儕群體應用軟體 電子書包教學應用平台 系統軟體開發工具 (SDK) 相容性測試軟體工具(TCK) 電子書包作業系統 (OS / UI / CM) Protocol • SyncML 電子書包發展硬體 ICE DDK /35

  11. Example Ethernet RS485 Ethernet RS485 /35

  12. 在嵌入式軟體開發中採用的作業環境 EE Times-Asia, 2006 Dec /35

  13. 在設計專案中採用即時作業系統 EE Times-Asia, 2006 Dec /35

  14. 在韌體開發中採用的語言EE Times-Asia, 2006 Dec /35

  15. 在嵌入式應用開發中採用的語言EE Times-Asia, 2006 Dec /35

  16. 不同工具的重要性及工程師滿意程度 /35

  17. 嵌入式設計中前10名軟硬體開發工具 /35

  18. /35

  19. Embedded System from Wikipedia • An embedded system is a computer system designed for specific control functions within a larger system, often with real-time computing constraints.[1][2] /35

  20. Where to Embedded? • IP (Intellectual Property) • SOC (System on Chip) • small size, low power • Chip • MCU (Micro Controller Unit), 70% market • DSP (Digital Signal Processor) • Module • General CPU • ARM7TDMI • Thumb, Debugger, Multiplier, ICE • w/o MMU • Pipeline, Cache, Bus, … /35

  21. ARM CPU /35

  22. What is an Embedded System? • A system designed to perform a specific function, e.g. eBook, PDA, eWatch, … • A combination of computer hardware and software, and perhaps additional mechanical or other parts. • Embedded vs. General-Purpose • What is a specific function? • Is there a limitation? • Cost, Robust, Low-power, Small, … • Using C + Assembly, Java ? /35

  23. Real-Time Systems vs. Embedded Systems RTS ES RTES .ABS .Radar .Calculator /35

  24. Real-Time Systems Value Deadline Soft RTS Hard RTS FirmRTS Time -Value /35

  25. Real-Time Systems (RTS) Open Distributed Soft RTS Hard RTS Proprietary Centralized Firm RTS Embedded /35

  26. Application vs. Response Time /35

  27. Embedded System Examples • Computer peripherals • Keyboard, Mouse, … • Information Appliances • Set-Up Boxes, WebTV, … • Monitors and Sensors • Fire Alarm, Heartbeat Detector, … • Controllers in Electronics • Refrigerator, Air Conditioner, … • Communication Devices • Hub, Router, … • … /35

  28. Business Issues of ES • Time-to-market for new devices • Design to delivery: in weeks • Sustained pressure to reduce costs • Many proprietary choices yield low-margins • Life cycle management • New products overlapping each other • Positioning nightmares • Open platform choices considered risky? • Resources expended on “recreating the wheel…” not on product differentiation. /35

  29. /35

  30. /35

  31. /35

  32. /35

  33. /35

  34. /35

  35. /35

  36. ES Technology Issues • Need more complex technology integrated for new services • broadband, wireless, real-time, low-power, IOT… • Multiple emerging standards need to be deployed simultaneously. • Product released globally on the same day! • Tools, Tools, Tools, … • Third party software • No one company can do it all anymore • Support nightmares • Lack of sources from proprietary choices • Open sources sound seductive … but risky. /35

  37. /35

More Related