TI E2E™ 设计支持论坛将于 5 月 30 日至 6 月 1 日进行维护。如果您在此期间需要技术支持,请联系 TI 的客户支持中心寻求帮助。

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6678: 使用NIMU helloWorld例程,发送超时

Part Number: TMS320C6678

型号:TMDSEVM6678LE 开发板

环境:CCS 9.3.0.00012, C667x PDK 2.0.16, NDK 3.61.1.01, SYS/BIOS 6.76.3.01

问题描述:

1. 根据https://www.ti.com/lit/an/sprac57/sprac57.pdf中的第四节“How to run Processor SDK Based NDK Examples on C6678 and C6657 KeyStone I Devices”创建工程,开发板上SW9 User Switch2开关设置为OFF(Static IP)

2. helloWorld中302行if(0)更改为if(1),设置IP和MAC地址:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//---------------------------------------------------------------------------
// Configuration
//
char *HostName = "tidsp";
char *LocalIPAddr = "192.168.1.111";
char *LocalIPMask = "255.255.255.0"; // Not used when using DHCP
char *GatewayIP = "192.168.1.1"; // Not used when using DHCP
char *DomainName = "demo.net"; // Not used when using DHCP
char *DNSServer = "0.0.0.0"; // Used when set to anything but zero
// Simulator EMAC Switch does not handle ALE_LEARN mode, so please configure the
// MAC address of the PC where you want to launch the webpages and initiate PING to NDK */
//Uint8 clientMACAddress [6] = {0xd4, 0xbe, 0xd9, 0x3d, 0xb6, 0xb8}; /* MAC address for my PC */
Uint8 clientMACAddress [6] = {0x20, 0x7B, 0xD2, 0x71, 0x7F, 0x98}; /* MAC address for my PC */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

使用ipconfig /all获得的网卡信息如下:

3. 编译工程并Debug,以下为Console输出:

4. 在PowerShell中运行winapps/helloWorld.exe,提示超时