我正在使用Phytec印度的OpenBoard-AM335x,并安装了WIN EC7。
我的问题是,我无法在平台构建器和我的设备之间创建 KITL 连接。
要创建KITL连接,我遵循以下步骤:
设备端设置:-
- 已启动设备,在启动时打开 EBOOT 配置
- 在 EBOOT 主菜单中为网络设置选择了选项"4" 设置静态 IP = 192.168.0.182
- 子网掩码=255.255.255.0 和路由器 IP = 192.168.0.1(我们的路由器 IP 地址,设备通过 LAN 电缆连接)
- 已选择从启动设备菜单从内部 EMAC 启动
电脑端设置:-
- 将PC的IP设置为192.168.0.102,子网掩码= 255.255.255.0和默认网关= 192.168.0.1(PC与Wi-Fi路由器连接)
- 禁用防火墙和防病毒软件
- 在Visual Studio 2008中打开了目标>连接选项
- 在"添加设备"菜单中添加了目标设备名称为"AM335X"的设备,并使用"Windows CE"关联操作系统设计 在"内核
- 服务映射"菜单中将目标设备设置为"AM335X",将内核下载设置为"以太网",将内核传输设置为"以太网",将内核调试器设置为"KdStub"
- 打开内核下载的"设置"
- 现在平台构建器正在等待活动设备
接下来,启动设备以上述设置启动,设备开始向串行控制台发送消息"已发送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 (800x480@60Hz)
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
任何建议/意见?提前谢谢。
检查您的计算机上是否未安装任何防火墙,阻止平台构建器从您的设备接收数据包。如果两台计算机位于同一 IP 子网上,您应该能够接收广播数据包。通常,如果您启用了Windows防火墙,您将收到一条消息,报告平台构建器正在打开PC上的端口,如果您不允许该操作,它将无法连接。