1 / 29

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

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

Download Presentation

嵌入式作業系統實作 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:101_1:ieos http://www.facebook.com/groups/190254204331656/

  2. /28

  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. /28

  4. Outline • Introduction to Embedded System • Introduction to Embedded OS • uC/OS-II • Xen • OpenStack • uC/OS-III /28

  5. Introduction to Embedded System /28

  6. 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)? /28

  7. 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 /28

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

  9. Example Ethernet RS485 Ethernet RS485 /28

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

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

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

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

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

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

  16. /28

  17. 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] /28

  18. 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, … /28

  19. 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 ? /28

  20. Real-Time Systems vs. Embedded Systems RTS ES RTES .ABS .Radar .Calculator /28

  21. Real-Time Systems Value Deadline Soft RTS Hard RTS FirmRTS Time -Value /28

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

  23. Application vs. Response Time /28

  24. 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, … • … /28

  25. 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. /28

  26. /28

  27. /28

  28. /28

  29. 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. /28

More Related