即時作業系統深度時序分析行為可視化:以FreeRTOS為案例研究

Behavior visualization of RTOS for deep timing analysis: A case study of FreeRTOS

檔案

日期

2020

類型

語言

中文

摘要

嵌入式即時作業系統的應用如今廣泛在我們的生活之中,故學習了解即時作業系統的相關元件以是不可或缺的。對於使用者初次學習或嘗試探討一個即時作業系統的行為,如果僅單純獲取即時作業系統上CPU端的控制權和資訊,且又遇到非同步控制行為出現時,是很難理解其即時作業系統的內部是如何進行操作。

然而並非所有即時作業系統都有即時追蹤的開發環境,大多僅可提供些許的可視化資訊,又或是即時追蹤的開發環境為商業性。本研究以開源軟體 - ViTE 上實作FreeRTOS即時作業系統的追蹤可視化,並使用QEMU模擬相關硬體環境,透過模擬硬體環境來確保軟硬體條件。由於ViTE已有提供基礎的可視化環境,我們將進一步提出表達方式修正去專精於演示FreeRTOS執行過程的可視化,其中更以排程中的上下文交換和優先權繼承、系統節拍定時器等底層行為的事件為可視化研究目標,使得協助使用者便於追蹤整體即時作業系統每個時段的流向,讓使用者更能避免程式錯誤以及能設計出符合對應條件的作業系統操作。
The application of Real-Time and Embedded Operating Systems (RTOS) is widely used in our lives now, so it is indispensable for users to learn to understand the components of the RTOS. For the first time users learn or explore the behavior of a RTOS , it is difficult to understand the RTOS if they only obtain system CPU control and information, or encounter asynchronous behaviors.

However, not all RTOSes have a real-time tracking development environment, and most of them can only provide a little visual information, or the real-time tracking development environment is commercial. This research uses open source software is "ViTE",to implement the tracking visualization of the FreeRTOS. We use QEMU to simulate the relevant hardware environment to ensure the hardware and software conditions by simulating. Since ViTE provides a basic visualization environment, we will further propose modifications of the expression to specialize in the visualization on FreeRTOS. For Example, Context Switch, Priority Inheritance, Systemtick timer...etc, these low-level behaviors are our research goals, making it easier for users to track the overall RTOS execution flow. New approaches of behavior visualization let users avoid program errors and design compliance RTOS operation corresponding to conditions.
顯示完整詮釋資料 統計資料

引用此條目

劉恩廷 (2020). 即時作業系統深度時序分析行為可視化:以FreeRTOS為案例研究. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/74010

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/74010