Hi,
I want to create a simple logger that resides on one (any) of the cores and logs data sent to it (from other cores, by some means) to a PC connected with Ethernet using UDP datagrams. So far I have only been working on the sending of the UDP packets.
I ran into two problems:
Firstly, if the code is not running on core0 the NDK features are never initialized and the networkOpenHook is never called.
Secondly, if the code is running on core0 everything works fine until I call send(...), which throws an error (i.e. return that is not 0) every time I try.
I am using:
SYS/BIOS 6.33.2.31
MCSDK PDK TMS320C6678 1.0.0.18
NDK 2.20.6.35
IPC 1.24.2.27
I also put the code in a paste bin:
mheLogger.c : http://pastebin.com/jX1iThU2
mheLogger.h : http://pastebin.com/Z5rt9ZDt
mheLogger.cfg : http://pastebin.com/YxUVnWSv