We are trying to build a AM3352 sys/bios system with the NDK instead of lwip. We now have several linker errors that are related to our use of the ethernetip_stack.lib. 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 been using the ethernetip_adapter example from am335x_sysbios_ind_sdk_1.1.0.4 because there are not any standard Ethernet CPSW examples for reference. We have added app_restart.c, eip_main.c and eip_ndk.c as they are in the example but it seems some of it is not necessary. We have gotten it to compile now but the ethernetip_stack.lib seems to require you to have certain functions in your application:
undefined symbols:
GetDeviceType C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_api.obj>
GetMajorRevision C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_api.obj>
GetMinorRevision C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_api.obj>
GetProductCode C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_api.obj>
GetProductName C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_api.obj>
GetSerialNum C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_api.obj>
GetVendorId C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_api.obj>
SHM_DataOutCopied C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_api.obj>
SHM_NewDataIn C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_api.obj>
SHM_SetInParams C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_adt.obj>
SHM_SetOutParams C:\ti\am335x_sysbios_ind_sdk_1.1.0.4\sdk\protocols\ethernetip_adapter\stack_lib\ethernetip_stack.lib<user_adt.obj>
Is there a document anywhere that describes all functions that are necessary to use this library or API? Are there any examples (even in beta testing) of using the SYS/BIOS with NDK system that sets up and uses standard UDP sockets? Something for MAC address setting, DCHP running and a raw UDP socket?
Thanks,
John C.