簡易檢索 / 詳目顯示

研究生: 莊博宇
Chuang Po-Yu
論文名稱: Bootloader 與 Bootloader 上藍芽驅動程式的實作
Implementation of Bootloader and Bluetooth Driver on Bootloader
指導教授: 黃泰一
Huang Tai-Yi
口試委員:
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2005
畢業學年度: 93
語文別: 中文
論文頁數: 52
中文關鍵詞: 開機程式藍芽感測器嵌入式系統
外文關鍵詞: Bootloader, Bluetooth, sensor, embedded systems
相關次數: 點閱:4下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 傳統上,sensor要更新軟體 (特別是OS) 的方法,和一般的embedded system一樣,就是接上JTAG cable,將新版的軟體燒錄進senor的Flash ROM裡。不過因為senor通常是被放置在難以回收的地方,而且數量極為龐大,所以更新軟體往往是不可能的。我們實驗室最近有一個和工研院合作的計畫,是針對這個問題,要讓senor能夠自行透過無線網路做軟體更新,使用的平台是工研院提供的sensor–SCAN。

    我們在SCAN上面寫了一個bootloader,由bootloader來負責OS更新的動作,無線網路的部份是使用SCAN內建的Bluetooth。在這個系統中,senor會定期的向後端的server詢問是否需要更新,一旦有新版的OS之類的情況,server會把新版和舊版OS差異的部份傳送給sensor,sensor再利用server傳送過來的資料重建起新版的OS。這篇論文是這整個計畫的其中一部分,包含了bootloader以及bootloader上的Bluetooth驅動程式。


    Traditionally, if we want to update the software (especially OS) of a sensor, we have to attach JTAG cable to the sensor and write the new version of software to the Flash ROM of the sensor – same as usual embedded systems. But since sensors are often placed in hard-to-reached locations with huge amount, updating the software of sensors becomes mission impossible. There is a project cooperating with ITRI in our lab recently. The goal of the project is to make the software updating on sensors easier. The platform of the project we use is SCAN – the sensor developed by ITRI.

    We implemented a bootloader on SCAN. The bootloader takes care of the OS updating. The wireless network on SCAN is Bluetooth, so we implemented the Bluetooth driver on the bootloader. In this system, the sensors will periodically check if updating is necessary. If it is, the backend server will transmit the difference between new and old versions of OS. The bootloader then rebuild the new version OS. This thesis is part of the project and including the bootloader and the Bluetooth driver on the bootloader.

    中文摘要 2 Abstract 3 目錄 4 Chapter 1 引言 6 Chapter 2 Bootloader 8 2.1 簡介 8 2.2 Memory Map 8 2.3 硬體初始化 14 2.4 C語言執行環境 15 Chapter 3 Bluetooth 17 3.1 簡介 17 3.2 系統架構 17 3.3 Baseband 18 3.4 HCI (Host Controller Interface) 20 3.5 L2CAP (Logical Link Control and Adaptation Protocol) 23 3.6 BlueCore Serial Protocol (BCSP) 26 3.7 我的實作中每一層提供的介面 29 3.8 L2CAP連線建立流程 31 Chapter 4 實驗結果 34 4.1 傳輸效能 34 4.2 Code Size 35 4.3 記憶體使用量 36 4.4 結論 36 Chapter 5 未來計畫 37 附錄 38 L2CAP Commands 38 HCI Commands 39 HCI Events 48 參考文獻 51

    [1] Bluetooth Specification Version 1.1
    http://www.bluetooth.org/spec
    [2] ZigBee
    http://www.zigbee.org/
    [3] IEEE 802.15 Wireless Personal Area Network Working Group
    http://www.ieee802.org/15/
    [4] Das U-Boot – Universal Bootloader
    http://sourceforge.net/projects/u-boot
    [5] BlueZ, Official Linux Bluetooth Protocol Stack
    http://www.bluez.org/
    [6] IEEE 802.11 Wireless LAN Working Group
    http://grouper.ieee.org/groups/802/11/
    [7] BlueCore Serial Protocol (BCSP), Cambridge Silicon Radio Limited, July 2004
    http://www.csrsupport.com/download/540/BlueCore%20Serial%20Protocol%20%28bcore-sp-012Pb%29.pdf
    [8] BCSP Channel Allocation, Cambridge Silicon Radio Limited, July 2004
    http://www.csrsupport.com/download/416/BCSP%20Channel%20Allocation%20%28bcore-sp-007Pb%29.pdf

    [9] BCSP Link Establishment Protocol, Cambridge Silicon Radio Limited, July 2004
    http://www.csrsupport.com/download/417/BCSP%20Link%20Establishment%20Protocol%20%28bcore-sp-008Pb%29.pdf

    無法下載圖示 全文公開日期 本全文未授權公開 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)
    全文公開日期 本全文未授權公開 (國家圖書館:臺灣博碩士論文系統)
    QR CODE