Hi,
We are running SYS/BIOS with NDK on our production board using the CPSW interface. Our current software versions:
Processor AM3352
Code Composer Version: 5.5.0.00077
Compiler TI v5.1.6
SYS/BIOS 6.35.4.50
XDCTools 3.25.3.72
NDK 2.23.2.03
We have run the ethernetip_adapter example on our board and there is only one client showing up after an IP address is received. Running with our full build, using the same code to start the DHCP client, we end up with two. Our first guess is that it may have something to do with task priorities, but there is no NDK documentation explaining the why/when of assigning task priorities in a full up system. Here is what we see:
No DHCP client running before calling ConfigureDHCPClient:
One DHCP client after calling CfgAddEntry():
MDIO_found state, still one DHCPclient:
End of NIMUPacketServiceCheck call, still one:
Comes out of GetCurrentIP() loop and there are two DHCPclients??
In our NDK Core Stack-->Scheduling options we have set kernTaskPriLevel to 14, highTaskPriLevel to 11, normTaskPriLevel to 5 and lowTaskPriLevel to 3. The ndkThreadPri is set to 8.
We have looked in the NDK documents to see if there is some relationship between the ndkThreadPri and other NDK priorities, but find none. Could the task priorities be causing this?
Thanks,
John C.