配置windows驅動開發環境

來源:互聯網
上載者:User

配置windows驅動開發環境
                   撰寫:jiftle 時間:2011-09-09 14:30
                   
windows驅動開發需要wdk,debug tools of wdk,vmware

開發環境搭建:
 從微軟網站下載
 (1)wdk:
 http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11800
 目前最新是wdk7.1.0
 (2)symbol files
 http://msdn.microsoft.com/en-us/windows/hardware/gg463028
 (3) 安裝wdk:build environment,symbol files package
 
 
虛擬機器調試:
(1) 安裝一個虛擬機器系統安裝xp,編輯c:\boot.ini引導檔案,在末尾添加
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional Debug" /fastdetect /debug /debugport=com1 /baudrate=115200
(2) 關閉虛擬機器添加一個串口Serial port->選中使用具名管道pipe->\\.\pipe\com_1,This end is server.,The other end is an application.
(3) 回到本地系統裡,安裝wdk7.1.0中的Tools of Debug,在案頭上建立一個捷徑
目標:
"C:\WinDDK\7600.16385.1\Debuggers\windbg.exe" -y C:\Windows\Symbols\ -b -k com:pipe,port=\\.\pipe\com_1,baud=115200
起始目錄:
"C:\WinDDK\7600.16385.1\Debuggers\"

調試步驟:
(1) 啟動虛擬機器到作業系統選擇系統介面
(2) 雙擊原生windbg捷徑
(3) 看到下面說明成功了
Opened \\.\pipe\com_1
Waiting to reconnect...

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.