2014-03-31 41 views
0

我使用Phytec印度的OpenBoard-AM335x並安裝了WIN EC7。KITL連接問題:WIN EC7

我的問題是,我無法在平臺構建器和我的設備之間創建KITL連接。

要創建KITL連接我按照如下步驟進行:

控制器側設置: -

  1. 開始裝置,在啓動時打開EBOOT配置
  2. 選擇的選項「4」的網絡設置在EBOOT主菜單中
  3. set static-ip = 192.168.0.182 subnet-mask = 255.255.255.0和router-ip = 192.168.0.1(我們的路由器ip地址,設備連接LAN網線)
  4. 從引導設備菜單

PC端設置中選擇啓動從內部EMAC: -

PC到192.168.0.102的
  1. 設置IP地址,子網掩碼255.255.255.0 =和默認網關192.168.0.1 = (PC與Wi-Fi路由器連接)
  2. 禁用防火牆和防病毒軟件
  3. 打開靶>在Visual Studio連接選項2008
  4. 與目標設備名稱「AM335X」和相關的OS設計添加的設備的「Windows CE」在添加設備菜單
  5. 設定目標設備「AM335X」,內核下載到「以太網」,內核運輸「以太網」,內核調試器「KdStub的」在內核服務地圖菜單
  6. 打開「設置」內核的下載
  7. 現在,平臺建設者正在等待有源器件

接下來,開始設備與上述設置開機,設備開始發送郵件「發送BOOTME到255.255.255.255」到串行控制檯。但是,平臺構建者沒有發現任何東西。

設備的序列日誌如下:

-------------------------------------------------------------------------------- 
Main Menu 
-------------------------------------------------------------------------------- 
[1] Show Current Settings 
[2] Select Boot Device 
[3] Select KITL (Debug) Device 
[4] Network Settings 
[5] SDCard Settings 
[6] Set Device ID 
[7] Save Settings 
[8] Flash Management 
[9] Enable/Disable OAL Retail Messages 
[a] Select Display Resolution 
[b] Select OPP Mode 
[0] Exit and Continue 

Selection: 1 

Main: 
    Boot device: Internal EMAC 
    Debug device: Internal EMAC 
    Retail Msgs: disabled 
    Device ID:  0 
    Display Res: 7in LCD_017 ([email protected]) 
    Flashing NK.bin: disabled 
    OPP Mode: MPU[720Mhz @ 1.26V] 

SDCard: 
    Filename:  "nk.bin" 

Network: 
    KITL state: enabled 
    KITL type:  active 
    KITL mode:  interrupt 
    DHCP:   disabled 
    IP address: 192.168.0.182 
    IP mask:  255.255.255.0 
    IP router:  192.168.0.1 
    Eth MAC Addr : 00:18:31:8d:c6:92 (Boot settings) 
    Eth MAC Addr 1: 00:18:31:8d:c6:93 (Boot settings) 
    VMINI:   enabled 
    Note: USBFN RNDIS MAC Addr cannot be changed. 

-------------------------------------------------------------------------------- 
Main Menu 
-------------------------------------------------------------------------------- 
[1] Show Current Settings 
[2] Select Boot Device 
[3] Select KITL (Debug) Device 
[4] Network Settings 
[5] SDCard Settings 
[6] Set Device ID 
[7] Save Settings 
[8] Flash Management 
[9] Enable/Disable OAL Retail Messages 
[a] Select Display Resolution 
[b] Select OPP Mode 
[0] Exit and Continue 

Selection: 0 
ShowSDLogo 
Init HW: controller RST 
SDCARD: requested speed 1000000, actual speed 1000000 
SDCARD: requested speed 25000000, actual speed 19200000 
BLSDCardReadLogo: cannot open Logo.bmp 
+Cpsw3gInit(0x4a100000, 0x00000001, 0x8fefff6c) v0.3 
Auto negotitation failed 
Phy_init: Auto negotitation completed 
Cpsw3gInit, wait link up on mac port:1. 
Cpsw3gInit, LINK down on port:1. 
INFO: Boot device uses MAC 00:18:31:8d:c6:92 
INFO: *** Device Name AM335X-50834 *** 
+EbootSendBootmeAndWaitForTftp 
Sent BOOTME to 255.255.255.255 
Sent BOOTME to 255.255.255.255 
Sent BOOTME to 255.255.255.255 
Sent BOOTME to 255.255.255.255 
Sent BOOTME to 255.255.255.255 
Sent BOOTME to 255.255.255.255 
Sent BOOTME to 255.255.255.255 
Sent BOOTME to 255.255.255.255 
Sent BOOTME to 255.255.255.255 

任何建議/評論? 在此先感謝。

+0

您可以使用Wireshark(https://www.wireshark.org/download.html)或類似的工具來驗證PC是否正在接收BOOTME數據包? –

+0

是的。我已經安裝了Wireshark來捕獲BOOTME數據包。但它沒有顯示任何東西。我也禁用了防火牆和防病毒軟件。 –

+0

你說PC是通過WiFi路由器連接的。 WinCE設備將廣播BOOTME數據包 - 您確定WiFi路由器不阻止廣播數據包嗎?如果您的電腦是筆記本電腦,最簡單的做法可能是將PC和WinCE設備直接連接到以太網交叉電纜作爲第一步。 –

回答

0

檢查您的計算機上沒有安裝任何防火牆,防止平臺構建器接收到來自設備的數據包。如果兩臺機器都在同一個IP子網上,您應該能夠接收廣播數據包。通常,如果您啓用了Windows防火牆,則會收到一條消息,報告稱平臺構建器正在您的PC上打開一個端口,如果您不允許該操作,則無法連接。