Equipment:
ICEv2 board,
CCSv6 vs 6.0.1.00040,
TI XDS100v2 USB Emulator,
Windows7,
am335x_sysbios_ind_sdk_1.1.0.6
NDK 2.24.1.18
NDK's NSP 1.10.2.09
SYSBIOS 6.40.3.39
Compiler TI v5.1.10
Project: 'standalone Ethernet switch' derived from the EthernetIp example of the SDK
Hello,
so far I could send TCP/IP data using a static IP address as shown in the EchoTcp() example taken from the manual.
Now the DHCP Client Module has been added using XGCONFIG. The hope was that the IP address would be provided automatically. But somehow not even the Network_IP_Address _Hook() has been reached,
This is what the console view shows:
[CortxA8]
Stack_thread_beginn_hook() reached
Stack_thread_initialization_hook() reached
Service Status: DHCPC : Enabled : : 000
Status_report_hook() reached
Service Status: DHCPC : Disabled : : 000
Status_report_hook() reached
Network_open_hook() reached
For some reason the DHCP client has been disabled. I should mention that the ICEv2 board is plugged to a router and with a static IP address it was ok.
My guess is that something went wrong in Void ti_ndk_config_ip_init(HANDLE hCfg).
Does anybody know what the reason might be and how to correct it, i.e. how to get a IP address automatically?
Supposing this problem could be solved, another question arises: How would I tell the system to use a certain default IP address if it is connected directly to a PC (no router, no DHCP server)? It seems to me that with XGCONFIG one can only choose the static or the automatic version.
Thank you.
Regards,
Martin H.