2013年10月25日 星期五

WinCE如何使用Platform Builder Debug

參考以下步驟,
  1. Building Debug版的OS Image
    • 從"Platform"選單選擇"Settings" 
    • 在"Settings" dialog選擇"debug configuration" 
    • 在"Build Options" table勾選"Enable Kernel Debugger" 
  2. 連結PC與Target device 
    • 於PC設定static IP 
    • 於Target device eboot選單中,設定static IP,讓PC與Target device於同一網域內
      或 
    • PC連接至DHCP server 
    • Targe device設為DHCP模式,皆由DHCP獲得IP 
  3. 設定Download and Debugging方式 
    • 從"Target"選單選擇"Configure Remote Connection" 
    • 於"Download Service"選擇"Ethernet" 
    • 於"Kernel Transport"選擇"Ethernet" 
    • 打開Target device進入download模式 
    • 按下"Configure"按鈕,等到收到"Device ID"後,選擇此ID 
  4. Platform Builder顯示download進度 
  5. Platform Builder於debug window顯示booting message 
  6. 使用"Debug" tool進行debug

沒有留言:

張貼留言