版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、CS4101 嵌入式系統(tǒng)概論Design and Development,Recap,More and more physical things will be augmented or embedded with computing Things become “smarter” Computing becomes ubiquitous An embedded system is a system that is embedded with programmable computers for specific applications of that system Why embedded
2、 systems? Faster, more flexible development at lower cost More complex functionalities,Suppose You Have a Product Idea,To develop a device that can record, for each day, the number of stairs that the user has climbed up or down From this number, we can then calculate the amount of CO2 saved and calo
3、ries burned Let us call this device stair counter How to start from here?,Typical Design Flow,requirements,specification,architecture,component development,system integration,Top-down design,Bottom-up design,Real design often iterative,Requirements,Plain language description of what the user wants a
4、nd expects to get e.g. to develop a device that can record, for each day, the number of stairs that the user has climbed up or down Describe how the end product is usedby the user May be developed in several ways: talking directly to customers talking to marketing representatives providing prototype
5、s to users for comment,Requirements,Often need to know target customers and business model Stair counter as an add-on of cell phone Stair counter as a consumer product Stair counter as a gift ,Requirements,Functional requirements:Internals as a black box and describe only the outputs as a function o
6、f input; Show number of stairs climbed up or down Show amount of CO2 saved Do not count in other cases Non-functional requirements: Performance, reliability, etc. Size, weight, etc. Power consumption Cost ,Describe “WHAT”, not “HOW”,Requirements Form,Specification,More precise, usually quantitative
7、description of the system: Should not imply a particular architecture List assumptions e.g., update screen 0.25 sec after eachstep, error rate 95%, cost $300 May include functional and non-functional elements May be executable or may be in mathematical form for proofs e.g. UML (Unified Modeling Lang
8、uage),Architecture Design,What major components satisfy the specification? HOW Need to know what are available Hardware components: CPUs, peripherals, etc. e.g. MSP430 CPU, 3-axis accelerometer Software components: Major programs and their operations e.g. no OS, accelerometer driver, LCD driver Must
9、 take into account functional and non-functional specifications,Design Considerations,Environment which the embedded system is in External and internal stimulus sources that interact with the embedded system I/O Actions and events caused by stimulus Elements of the embedded system that could be affe
10、cted by the stimulus Desired system responses to the stimulus, which reflects one or more system requirements algorithm/workflow How the system responses can be measures,Component Development,Actual implementation of individualhardware and software components Must spend time architecting the system
11、before you start coding Some components are ready-made, some can be modified from existing designs, others are to be designed from scratch e.g. MSP430 CPU, 3-axis accelerometer Good surveys help,System Integration,Put together the components Many bugs appear only at this stage Require good interface
12、 definition fromthe start Have a plan for integrating components to uncover bugs quickly, test as much functionality as early as possible test and verification,System Development,Now that you have better idea of the requirements, specifications, and architecture of the stair counter How to proceed t
13、o develop the components and integrate the system? But, Real hardware? Programming environment?,Development Environment,Host: a computer running programming tools for development Target: the HW on which code will run After program is written, compiled, assembled and linked, it is transferred to the
14、target,Host system,Target system,X86,MSP430,What If Real HW Not Available?,Development board: Before real hardware is built, software can be developed and tested using development boards Development boards usually have the same CPU as the end product and provide many IO peripherals for the developed
15、 software to useas if it were running on thereal end product Tools for program development Integrated Development Environment (IDE): cross compiler, linker, loader, OS and related libraries and packages,Cross Compiler,Runs on host but generates code for target Target usually have different architect
16、ure from host. Hence compiler on host has to produce binary instructions that will be understood by target,Development Process,Process for creating instructions that are built on host but meant for the target Tools are compatible with each other a toolchain Binutils: as, ld Glibc:C runtime Lib GCC:C
17、/C+ compiler,Linker/Locators,For computers: Linker: creates an image file to be run on host Loader: loads image file into memory during run-time For embedded systems: Locater: creates a file, containing binary image or other format, that will be copied onto target, which run on its own (not through loader) It needs exact addresses beforehand Certain parts of program need in ROM and some in RAM Normally done by dividing program in segments Locator needs to be told where in memory to place segments,Summary,Development of a system usually in
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 嘉興名人介紹課件
- 暑假學生社會實踐總結(jié)
- 醫(yī)院后勤禮儀培訓課件
- 秋人教版八年級物理上冊課件:第六章第1節(jié) 質(zhì) 量
- 結(jié)構(gòu)力學第2章 結(jié)構(gòu)的幾何構(gòu)造分析
- 助餐配餐員培訓課件模板
- 交通運輸局培訓課件
- 2024年艾滋病知識宣傳工作簡報
- 2025 小學一年級數(shù)學下冊實踐課(記錄一周天氣)課件
- 城市軌道交通信號基礎(chǔ)設(shè)備維護課件 項目四 信號通信設(shè)備
- 勞保采購合同范本
- 2025年1月浙江省普通高中學業(yè)水平考試思想政治試卷(含答案詳解)
- 2025年高壓電工操作證理論全國考試題庫(含答案)
- 2025年新聞記者資格證及新聞寫作相關(guān)知識題庫附答案
- 長春財經(jīng)學院《計算機基礎(chǔ)》2023-2024學年第一學期期末試卷
- 廣東省中山市2024-2025學年八年級上學期期末考試道德與法治試卷(含答案)
- 2025年湖南理工職業(yè)技術(shù)學院單招(計算機)測試模擬題庫必考題
- DB32∕T 5188-2025 經(jīng)成人中心靜脈通路裝置采血技術(shù)規(guī)范
- 主板維修課件
- 2025黑龍江大慶市工人文化宮招聘工作人員7人考試歷年真題匯編帶答案解析
- 2026中央紀委國家監(jiān)委機關(guān)直屬單位招聘24人考試筆試模擬試題及答案解析
評論
0/150
提交評論