I have created a project (actually, a set of them) that uses IPC to send messages between programs running on different cores of the 6678. Now I want to add TCP communications using ethernet to one of the cores. I am using the hua_evmc6678l demo program as a model. I'm having lots of problems.
The code to support the NDK and the ethernet driver is distributed all over the place in the demo program. The config file has lines in it with little explanation and no presence in the GUI that seem to be involved in the NDK/ethernet support, but I'm not really sure. The source code has stuff scattered all over that are also not explained very well. For example, of the items QMSS, CPPI, and Packet Accelerator, I can guess that I need the later, but there is no explanation that I can find for what the first two do and why I might want them.
And then there are the nasty surprises. The files platform_osal.c and resourcemgr.c have functions that are called from the TI libraries! Why are they not part of the library? Can I use them as-is or is there something I need to change for for my application?
Is there a simple cookbook explanation somewhere that can guide someone through adding networking code to a 6678 program to do TCP communication with an outside system? I have looked and haven't found anything.
In my case, the DSP doesn't need http or telnet or any server protocol built into NDK. It needs to make a TCP connection to another processor and exchange messages.
Thanks,
Fred