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.

ndk demos run in dhcp



大家好!

6678 & ccs 5.3

我在板子上跑ndk的两个demo,client和helloworld,在dhcp模式下跑的时候,console输出如下:

[C66xx_0] QMSS successfully initialized
CPPI successfully initialized
PA successfully initialized

TCP/IP Stack Example Client
Configuring DHCP client
PASS successfully initialized
Ethernet subsystem successfully initialized
Ethernet eventId : 48 and vectId (Interrupt) : 7
Verify_Init: Expected 0 entry count for Queue number = 911, found 1 entries
Verify_Init: Expected 0 entry count for Queue number = 913, found 1 entries
Registration of the EMAC Successful, waiting for link up ..
Service Status: DHCPC    : Enabled  :          : 000
Service Status: Telnet   : Enabled  :          : 000
Service Status: HTTP     : Enabled  :          : 000
Service Status: DHCPC    : Enabled  : Running  : 000
Service Status: DHCPC    : Enabled  : Fault    : 002
Service Status: DHCPC    : Disabled :          : 000
Service Status: DHCPC    : Enabled  :          : 000
Service Status: DHCPC    : Enabled  : Running  : 000

我在mcsdk user guide中看到有一张运行的界面图,它在输出enable running之后,会输出Network Added If xx.xx.xx.xx 这样的ip信息,但我的一直没有出现,所以感觉是一直没有被分到ip

我看到有些帖子中提到要一个dhcp server(我看到pc上有一个DHCP Client的服务),我试着下了一个dhcp server,但不怎么有用。

请问这个问题怎么解决呢?还是说需要做一些什么配置吗?

谢谢!