Hi,
Calling TaskSelf() causes the operating system to crash with these error messages:
[C66xx_0] 0. taskself1. init file descriptor environmentti.sysbios.knl.Task: line 895: assertion failure: A_badPriority: An invalid task priority was used.
[C66xx_0] xdc.runtime.Error.raise: terminating execution
Can someone please help me understand the error messages and how to fix it?
Here is some background:
Using CCSv5.1.0.09000 to program TMDXEVM6678L.
I started with the example C:\Program Files\Texas Instruments\mcsdk_2_00_05_17\examples\ndk\helloWorldHelloWorld example - it works.
I added an idle task in SYSBIOS for background processing - it works (toggles LEDs for now).
I am attempting to transmit UDP in the idle loop, but can't even do the first step, TaskSelf(), without crashing.
I think these are the steps I would need:
1 fdOpenSession(TaskSelf());
2 s = socket( AF_INET, SOCK_DGRAM, 0 );
3 bind(s, (PSA)&sin, sizeof(sin));
4 sendto( s, &gregs_string, strlen(gregs_string), 0, (PSA)&sin, sizeof(sin) );
Greg Reutr