Search found 43 matches

by tpannone
Fri Mar 08, 2019 12:30 pm
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 463

Re: OSTaskCreate Return Values

Thanks ephogy! And thanks for quick tip on using TaskScan. I've seen it in the Netburner tools, but never looked into it. As for the #define statements in predef.h, they are commented out in my copy so I'm guessing I'd need to uncomment them to use ShowTaskList() and OSDumpTasks(). /* #define UCOS_S...
by tpannone
Fri Mar 08, 2019 10:59 am
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 463

Re: OSTaskCreate Return Values

The change to 25 indeed fixed my problem.

I'm still not sure how I exceeded the 20 tasks limit but obviously the system thinks I did. I wish there was a way to query the system to tell me how many task control blocks are actually running since I think I have less than I actually do.
by tpannone
Fri Mar 08, 2019 8:01 am
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 463

Re: OSTaskCreate Return Values

Interesting. Now that I know where OS_MAX_TASKS is defined, I checked it in my old Dev C++ 1.13. There it is set to 25.

I'll bump it up to 25 in NBE 2.7.7 and see if it works.
by tpannone
Fri Mar 08, 2019 7:29 am
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 463

Re: OSTaskCreate Return Values

Yep... there it is. Thanks.
by tpannone
Fri Mar 08, 2019 5:50 am
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 463

Re: OSTaskCreate Return Values

Hi Tom, I made a stupid mistake saying that this application has only 3 tasks created. It's more like 15. Most of those Transmit UDP and Receive UDP task creates were in a for loop. Anyway, you said that the default limit for tasks is set to 20 in predef.h. I must be missing something because I do n...
by tpannone
Tue Mar 05, 2019 6:36 am
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 463

Re: OSTaskCreate Return Values

Thanks again Tom. I'll look at the sram. I am seeing an issue reading back some data from flash at startup. I didn't think the two issues were related, but maybe they are.
by tpannone
Mon Mar 04, 2019 11:34 am
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 463

Re: OSTaskCreate Return Values

Interesting. I only call OSTaskCreate three times in my application. One for the Transmit UDP task, one for the Receive UDP task, and one for the main program loop. The other three create functions (OSTaskCreatewName, OSSimpleTaskCreate, and OSSimpleTaskCreatewName) are not called. Are you sure pred...
by tpannone
Mon Mar 04, 2019 11:05 am
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 463

Re: OSTaskCreate Return Values

Thanks Tom. I'll go back and look at the task control blocks.

This particular application would not need the priority so high, but our control algorithms still need to be higher than those system tasks you mentioned.
by tpannone
Mon Mar 04, 2019 8:16 am
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 463

OSTaskCreate Return Values

I'm in the process of updating some MOD5282 code from Dev C++ 1.13 to NBE R2.7.7. The OSTaskCreate() function in one of four NB applications has started generating an error at runtime, returning the value of 70. From the definition of OSTaskCreate in the uCOSLibrary, the return value is either 0 (Su...
by tpannone
Thu Jan 10, 2019 11:05 am
Forum: NetBurner's Eclipse IDE
Topic: Rebuild System Files
Replies: 5
Views: 364

Re: Rebuild System Files

Thanks Tom for the steps.

I also moved the three \nburn\ paths to the front of the system PATH variable. They were originally at the end. The command line build worked properly with no errors this time.

I've not checked rebuilding system files from within the IDE yet. I'll try that the next time.