研究生: |
何顯興 Hsien-hsing Ho |
---|---|
論文名稱: |
免撰寫驅動程式之USB初學者開發平台 USB Development Platform without Writing Driver for Beginners |
指導教授: |
王乃堅
Nai-Jian Wang |
口試委員: |
姚立德
none 鍾順平 none 姚嘉瑜 none |
學位類別: |
碩士 Master |
系所名稱: |
電資學院 - 電機工程系 Department of Electrical Engineering |
論文出版年: | 2009 |
畢業學年度: | 97 |
語文別: | 中文 |
論文頁數: | 66 |
中文關鍵詞: | 通用序列匯流排 、人機介面裝置 、大量儲存裝置 、驅動程式 、數位像框 |
外文關鍵詞: | Universal Serial Bus, Human Interface Device, Mass Storage Device, Driver Software, Digital Picture Frame |
相關次數: | 點閱:278 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
在USB(Universal Serial Bus)產品的標準軟體開發要求裏,涵括了四大要求項目,分別為裝置端的USB協定與裝置韌體和功能應用韌體,主機端的驅動程式和應用程式。本文提出讓初學者只寫主機端的應用程式和裝置端的應用韌體部分,即可完成一個客製化USB裝置軟體開發的一個概念。
USB的四大資料傳輸類型中,常見的鍵盤滑鼠等傳輸小量狀態資料的裝置屬於中斷傳輸,大拇哥隨身碟等傳輸大量資料屬於巨量傳輸,而且這兩類裝置應用於電腦上是不用再另外撰寫驅動程式。所以本文將此兩類的USB協定與裝置韌體加以修改,並合而為一個單一裝置韌體。如此初學者使用本韌體架構,即可運用在各類的USB傳輸應用上,且不需再親自撰寫或修改艱深的裝置韌體和驅動程式。
最後本文用了一個手機LCD模組(Liquid Crystal Display Module)與本平台的I/O埠(Input/Output Port)連接,裝置端增加了控制LCD模組的應用韌體,與主機端的抓取照片和傳輸的應用程式,就快速的完成了一個USB數位像框產品的開發。
There are four main requirements in the standard software development requirements of USB product. The first is the firmware of USB protocol for device side, the second is the firmware of device function for device side, the third is the driver software for host side, and the fourth is the application software for host side. We propose a solution that the novice writes only the firmware of device function and the application software, and then a USB device software development is completed.
In the four types of USB data transfer, the Keyboard/Mouse device transfer a small amount of data that belongs to interrupt transfer, and the pen flash driver transfer a large amount of data that belongs to bulk transfer. These two types of devices on the computer are no longer needed to write the driver software. Therefore, we can modify these two types of USB protocol and device firmware, and merge them into a single device firmware. The novice using our firmware architecture can implement the various types of USB application, and do not need to write or modify personally difficult device firmware and driver software.
Finally, we use a mobile phone LCD module to connect with the I/O port of our platform, add the control LCD module application firmware for device side, and write an application software that load and transfer photos. Then, it quickly completes a USB digital picture frame product development.
[1] Universal Serial Bus Revision 2.0 specification, http://www.usb.org, USB Implementers Forum, Inc. pp.16-199 (2008)
[2] 陳永和,USB2.0高速週邊裝置設計之實務應用,全華科技圖書股份有限公司,台北,第14.1-14.42頁 (2006)。
[3] 陳振榮,USB 系統架構,碁峰資訊股份有限公司,台北,第59-100頁 (2001)。
[4] USB DIY講座,http://chamberplus.myweb.hinet.net,ChamberPlus System Level Studio. (2008)。
[5] USB 基本概念,http://www.usblab.idv.tw,USB實驗室 (2008)。
[6] 陳彥光,「以DSP為控制單元具USB2.0傳輸介面之UPS」,碩士論文,國立中山大學,高雄 (2003)。
[7] 黃名斌,「USB介面之模組化腦波記錄儀」,碩士論文,中原大學,桃園(2003)。
[8] 錢俊宏,「藉由USB介面建立數位電視接收系統」,碩士論文,國立中山大學,高雄 (2006)。
[9] CY7C68013A Specification, http://www.cypress.com, Cypress Semiconductor Corporation. pp.1-14 (2005)
[10] 溫植燁,8051單晶片實務與應用--使用Keil C,文魁資訊股份有限公司,台北,第1.2-1.22頁 (2002)。
[11] USB Mass Storage Class Bulk-Only Transport, http://www.usb.org, USB Implementers Forum, Inc. pp.7-16 (1999)
[12] Device Class Definition for HID 1.11, http://www.usb.org, USB Implementers Forum, Inc. pp.4-20 (2001)
[13] SCSI Command sets, http://en.wikipedia.org, Wikimedia Foundation, Inc. (2001)
[14] 林雯郁、陳美靜,Windows驅動程式設計指南 第二版,文魁資訊股份有限公司,台北,第764-803頁 (2004)。
[15] MSDN, http://msdn.microsoft.com/en-us/default.aspx, Microsoft Corporation. (2009)
[16] TFT-LCD簡介,http://www.cmo.com.tw,奇美電子股份有限公司 (2005)。
[17] HX8310-A Data Sheet,http://www.himax.com.tw,奇景光電股份有限公司,第21-51頁 (2005)。
[17] 李勁、鄭浩,精通C++Builder5.0,文魁資訊股份有限公司,台北,第27.1-27.23頁 (2001)。