Hi TI:
This is my second post for the same issue.
The first post seemed to be abandoned after the inital reponse.
https://e2e.ti.com/support/embedded/tirtos/f/355/p/553732/2024935#2024935 (please close / delete if necessary)
I'm running into the following error messages:
00004.001 llEnter: Illegal priority call to llEnter()
00004.001 llExit: Illegal call to llExit()
The following Log file is listed for your review.
The messages in question are in Lines: 22, 23, 27, 28, 30, 31, 35, 36, & 38.
Program details...
All Tasks are "created" before BIOS_Start().
There are no Parent / Child Tasks.
All of the Tasks are given a -1 Priority, except Task_Start() which is given a Priority of 9.
Task_Start() is designed to start other Tasks simply by changing their Priority.
This gives me tight control over how the order of how Tasks are started.
The Other Tasks are started after an IP is obtained or a timeout occurs.
Task_Start() has a Semaphore_pend() (for a 1 Second delay) to allow the NDK to quickly obtain an IP.
fdOpenSession() is NOT in Task_Start() (Although I've tested it both ways, to no avail.)
I thought I followed the rules properly; but, I'm not seeing the issue.
I have had UDP transaction running very well, I just had to change the code to control startup.
Log Start....
01. Using MAC address in flash
02. Starting System...
03. Initialize Globals...
04. Driver_Setup() All Drivers Created Successfully!
05. Semaphore_Setup() All Semaphores Created Successfully!
06. Task_Setups() All Tasks Create Successfully!
07. BIOS_Start...
08. main()::Task_Startup() Begin...
09. main()::Task_Startup() 1 Second Hold...
10. main()::Task_Startup() 1 Second Hold...
11. Service Status: DHCPC : Enabled : : 000
12. Service Status: DHCPC : Enabled : Running : 000
13. main()::Task_Startup() 1 Second Hold...
14. main()::Task_Startup() 1 Second Hold...
15. main()::Task_Startup() 1 Second Hold...
16. Network Added: If-1:192.168.1.4
17. Service Status: DHCPC : Enabled : Running : 017
*** IP was obtained, Task_UDP_Setup() is started ***
18. main()::Task_Startup() Starting Task_UDP_Setup()...
19. main()::Task_Startup() 1 Second Hold...
20. main()::Task_UDP_Setup() Begin...
21. main()::Task_UDP_Setup() fdOpenSession(Task_self()) ...
22. 00004.001 llEnter: Illegal priority call to llEnter()
23. 00004.001 llExit: Illegal call to llExit()
24. main()::Task_UDP_Setup() fdOpenSession(Task_self()) No Errors...
25. main()::Task_UDP_Setup() UDP_Utilities_Connect_And_Bind() ...
26. UDP_Utilities_Connect_And_Bind()::Begin
27. 00004.002 llEnter: Illegal priority call to llEnter()
28. 00004.002 llExit: Illegal call to llExit()
29. UDP_Utilities_Connect_And_Bind()::socket() OK! Socket: 536946724
30. 00004.002 llEnter: Illegal priority call to llEnter()
31. 00004.002 llExit: Illegal call to llExit()
32. UDP_Utilities_Connect_And_Bind()::bind() OK! Using Port: 55056
33. main()::Task_UDP_Setup() UDP_Utilities_Connect_And_Bind() No Errors...
34. main()::Task_UDP_Setup() fdCloseSession(Task_self()) ...
35. 00004.003 llEnter: Illegal priority call to llEnter()
36. 00004.003 llExit: Illegal call to llExit()
37. main()::Task_UDP_Setup() Task_setPri(Task_self(), -1)...
*** At this point, I did a Connect() and Bind() for UDP and ALL of my returns are OK.
*** However, there is an issues that the NDK stack discovered and the Driver shuts everything down.
38. Network Removed: If-1:192.168.1.4
39. Service Status: DHCPC : Disabled : : 000
40. main()::Task_Startup() 1 Second Hold...
41. main()::Task_Startup() 1 Second Hold...
42. main()::Task_Startup() Starting Other...
43. main()::Task_Startup() Halting...
44. main()::Task_Other() Begin...
Environment:
Analysis Suite 4.1.0.201507151655
ARM Compiler Tools 5.2.8
ARM Compiler Tools 5.1.14
C/C++ Development Tools 8.5.0.201409172108
C/C++ GCC Cross Compiler Support 8.5.0.201409172108
C/C++ Memory View Enhancements 8.5.0.201409172108
CCS and SAT Common Components Feature 6.1.1.201508201800
CCS Launcher 6.1.1.20150813
CCS Utilities 1.0.0.20150616
CCSv6 Service Release Windows 6.1.1.00022
Code Composer Studio Base Components 6.1.0.01349
Code Composer Studio IDE ARM Components 6.1.1.201508201800
Code Composer Studio IDE Main Feature 6.1.1.201508201800
Code Composer Studio IDE Workflow 6.1.1.201508201800
NDK (IDE Client) 2.22.3.20
NDK (Target Content) 2.22.3.20
NDK Network Support Package (IDE Client) 1.10.2.09
NDK Network Support Package (Target Content) 1.10.2.09
SYS/BIOS (IDE Client) 6.35.4.50
SYS/BIOS (Target Content) 6.35.4.50
SYS/BIOS (Target Content) 6.35.1.29
SYS/BIOS (Target Content) 6.34.2.18
TI Target Content 1.0.0.201512101154
TI-RTOS (IDE Client) 1.10.0.23
TI-RTOS (Target Content) 1.10.0.23
TI-RTOS for TivaC (IDE Client) 2.14.0.10
TI-RTOS for TivaC (Target Content) 2.14.0.10
TI-RTOS for TivaC (Target Content) 2.14.0.10
TI-RTOS for TivaC (Target Content) 2.10.1.38
Tiva C Series ARM MCUs 2.1.1.15071
Thank you.
Rick