最近使用MAINSTONEIII的BSP,使用其USB模拟网口,确不能下载:其调试信息如下:
Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Nov 9 2005 06:15:26
Microsoft Windows CE Ethernet Bootloader 1.11 for the Intel MainstoneIII Development Platform Built Jan 13 2007
Press [ENTER] to download now or [SPACE] to cancel.
Initiating image download in 0 seconds. INFO: Trying to initialize USB RNDIS...
HostMiniInit:: !!
Rndis:: initialization: with addr=0
Rndis:: initialization!
Rndis:: PDDInit Success!
Rndis:: Get MAC address 3412,7856,AB
RndisMdd:: PDD's max RX buffer = [8192] bytes.
Rndis:: initialization: Success
HostMini:: New filter set: [0x0] --> [0xB]
INFO: MAC address: 12-34-56-78-AB-0
System ready!
Preparing for download...
INFO: Using device name: 'MAINSTN43776'
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
------------------------------------------------------------
最后用PB能发现MAINSTONEIII,但是确不能下载,进一步跟踪发现每次调用OEMEthGetFrame都不能得到任何数据,因为是用EP1为OUT也就是接收端点,但是它的中断标志位(PC完成标志)却一直没有置位过,但是此时读EP1的中断控制寄存器发现它的中断是打开的。其他的配置寄存器也是正常的。