SEGGER - Til Administrator
- Member since Nov 14th 2007
- Last Activity
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
SEGGER - Til -
Replied to the thread [SOLVED] Strange problem hard to debug.
PostHi Silvio, Glad to learn the observed issue was solved! The issue was not caused by embOS but caused by the application. An embOS application must not use embOS API or enable embOS interrupts in a zero latency interrupt routine. Best regards, Til -
SEGGER - Til -
Replied to the thread [SOLVED] API OS_InInterrupt() doesn't work if called inside function called by OS SW timer.
PostHello, Thanks for your feedback. It's good to hear it's working for you. Yes, I would like to add such an API routine that returns the current context. Unfortunately, that would work for Cortex-M but not for all other CPUs. Anyway, I will add it to our… -
SEGGER - Til -
Replied to the thread [SOLVED] API OS_InInterrupt() doesn't work if called inside function called by OS SW timer.
PostHello, This is not an embOS bug, but it works as intended. OS_INT_InInterrupt() returns 1 only when called from an embOS interrupt routine. From any other context, like embOS software timer, it returns 0. With Cortex-M embOS software timers are…