Search found 45 matches

by tpannone
Thu Nov 07, 2019 8:55 am
Forum: NetBurner Hardware
Topic: MOD5282 UART
Replies: 2
Views: 18

Re: MOD5282 UART

Thanks @TomNB. I ran into the problem you noted in the first paragraph when I plugged 921600 into the baud rate calculation. I really hadn't planned on trying to run at 921600 anyway, but knowing that I can run as high as 230400 using the system clock is very good to know.
by tpannone
Wed Nov 06, 2019 7:14 am
Forum: NetBurner Hardware
Topic: MOD5282 UART
Replies: 2
Views: 18

MOD5282 UART

This sounds like a stupid question, but can someone tell me the max baud rate the MOD5282 UARTs will support? I'm searching through all my documentation and don't see any numbers listed anywhere. I'm planning on interfacing it with a serial AHRS which can support up to 921600 baud. I'm thinking that...
by tpannone
Fri Mar 08, 2019 12:30 pm
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 568

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: 568

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: 568

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: 568

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: 568

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: 568

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: 568

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: 568

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.