Tool/software: TI-RTOS
I have been fighting with the NDK trying to get it to work on my machine and I can never get it to start a DHCP service. It always fails with
00000.000 DHCPOpen: NIMUIOCTL (NIMU_GET_DEVICE_MAC) Failed with error code: -22
I checked with NIMU_GET_NUM_NIMU_OBJ and it returned 0. Then I tried NIMUFindByIndex(0) and sure enough it returned NULL meaning there aren't any NIMU objects on the device list. The weird part comes when I manually check NIMUDeviceTable[] and it has 1 item in the list.
The first weird thing I noticed is that it should have 2 items: one connected to the RJ45 port and one on the AMC connector. The second was that even though there's a device in the table, NIMU doesn't have any in the list, so either the init function doesn't call NIMURegister or NIMUInit is never being called in the first place.
Weird part #2 is that when looking at the devices with platform_get_emac_info, I get Platform_EOK and the MAC addresses look correct. So what I figure is that the device drivers weren't properly loaded for the EVM and that's why NIMUDeviceTable[] isn't being populated correctly.
So my question of the day is how do I go about loading the proper device drivers? Like it says in the title I'm using the C6678 EVM and all the CCS files are installed in C:/ti/.