Search found 842 matches

by pbreed
Mon Apr 13, 2020 6:53 am
Forum: NetBurner Hardware
Topic: NANO54415 RTC issues
Replies: 6
Views: 152

Re: NANO54415 RTC issues

Trying to understand your issue:
Board stays powered on, no reboot code reload or reset and RTC goes from working to not working?
by pbreed
Wed Apr 08, 2020 12:59 pm
Forum: NetBurner Software
Topic: Unable to use stack overflow on MODM7AE70
Replies: 1
Views: 129

Re: Unable to use stack overflow on MODM7AE70

This is a know issue we have been working on, please open a support ticket.
by pbreed
Sun Apr 05, 2020 4:39 am
Forum: NetBurner Software
Topic: thread safe and non-blocking log function
Replies: 6
Views: 194

Re: thread safe and non-blocking log function

Its likely that your task yields preemptively to higher priority system tasks (network stuff mostly)
and you just don't notice as its back to your task fairly quickly...
by pbreed
Sat Apr 04, 2020 3:21 pm
Forum: NetBurner Software
Topic: thread safe and non-blocking log function
Replies: 6
Views: 194

Re: thread safe and non-blocking log function

>The OS never performs preemptive task switching, correct? Not correct... If a higher priority task becomes unblocked then you will get a task switch to that task, preemptively at any time. The highest priority task that is not blocked runs, exclusively. Things block at: Queue, semaphore, fifo criti...
by pbreed
Wed Apr 01, 2020 10:20 am
Forum: NetBurner Software
Topic: thread safe and non-blocking log function
Replies: 6
Views: 194

Re: thread safe and non-blocking log function

You don't need the Critlock... Everything there is thread safe... I might keep the critlock and then do printf of all the diseperate pieces and not have the intermediate buffer... There is one down side... If A higher priority task interupts the printf.... "HipriorityMessage" "LowPrioMsg" What you m...
by pbreed
Thu Mar 26, 2020 2:12 pm
Forum: NetBurner Software
Topic: Task Switching
Replies: 6
Views: 223

Re: Task Switching

What does task scan show?

How are you allocating your task stacks?
by pbreed
Fri Mar 13, 2020 10:37 pm
Forum: NetBurner Software
Topic: Writing SmartTraps to a file
Replies: 2
Views: 165

Re: Writing SmartTraps to a file

I personally wrote smart traps, and I have no idea how to do this. At the point smart traps goes off, you are really unsure about the state of the world. Smarttrap runs at interrupt scope so all Interrupt driven I/O is a not usable.... You need to write polled versions of all i/o you want to use and...
by pbreed
Wed Mar 11, 2020 3:41 pm
Forum: NetBurner Software
Topic: How to get shorter time tick for OSTimeDly()
Replies: 4
Views: 200

Re: How to get shorter time tick for OSTimeDly()

Are you trying to: change the resolution of OS Timedly, trying to increase the task switching speed. trying to make more precise time measurments? Do you need this for a single task/chunk of code, or many... The call OSChangeTaskDly just changes the current delay interval for a specific task, it has...
by pbreed
Wed Mar 11, 2020 3:37 pm
Forum: NetBurner Software
Topic: How to get shorter time tick for OSTimeDly()
Replies: 4
Views: 200

Re: How to get shorter time tick for OSTimeDly()

Are you trying to: change the resolution of OS Timedly, trying to increase the task switching speed. trying to make more precise time measurments? Do you need this for a single task/chunk of code, or many... The call OSChangeTaskDly just changes the current delay interval for a specific task, it has...
by pbreed
Tue Jan 14, 2020 4:45 pm
Forum: NetBurner Software
Topic: OSDumpTask and OSDumpTCBStacks in 5441x
Replies: 3
Views: 219

Re: OSDumpTask and OSDumpTCBStacks in 5441x

To dump stacks aetc.. The system needs to add additional things to the Task control blocks... So to make these appear you need to modify the ucos stack checking flags in nburn\include\predef.h and then REBUILD everything. So the flag : #define UCOS_STACKCHECK (1) Will get you both void OSDumpTCBStac...