Apply to: Windows Embedded CE
在您的OS image上建構debug功能!
請參考以下步驟:
1. Building Debug 版的 OS Image.
a. 從"Platform "選單選擇 "Settings".
b. 在"Settings" dialog 選擇 "debug configuration".
c. 在"Build Options" tabe 勾選 "Enable Kernel Debugger".
2. 連結 PC 與 Target device.
a. 於 PC 設定 static IP.
b. 於 Target device eboot 選單中, 設定 static IP, 讓 PC 與 Target device 於同一網域內.
或
a. PC 連接至 DHCP server.
b. Targe device 設為 DHCP 模式, 皆由 DHCP 獲得 IP.
3. 設定 Download and Debugging 方式.
a. 從 "Target" 選單選擇 "Configure Remote Connection".
b. 於 "Download Service" 選擇 "Ethernet".
c. 於 "Kernel Transpor t" 選擇 "Ethernet".
d. 打開 Target device 進入download 模式.
e. 按下 "Configure" 按鈕, 等到收到 "Device ID" 後, 選擇此 ID.
4. Platform Builder 顯示 download 進度.
5. Platform Builder 於 debug window 顯示 booting message.
6. 使用 "Debug" tool 進行 debug.