• context switch
    I am programming a simple full pre-emptive RTOS. It needs context switch. For saving contexts, is it enough to save all registers and CPSR? if tasks have local variables, and the complier uses memories...
  • Saving the context of a STR9
    Hello all, I am trying to save the context of my STR9 but I am running into some trouble here: first of all, RealView does not allow for inline assembly that accesses registers directly, only embedded...
  • Saving context before a switch
    Hello, I am working with an xc167. Currently I use a round-robin schedular, but I want to write my own preemptive schedular. I have browsed through the user manual, but it is still not 100% clear to...
  • context switch stops
    I have a simple test project running under RTX. One task is using I2C bus. Whenever for testing purposes I'm unplugging one of the I2C wires RTX doesn't want to switch context even running through os_tsk_pass...
  • vsprintf crash at interrupt context
    Hello all, why does the following code crash when called from interrupt context, if I turn on all compiler optimizations? the call to vsprintf causes an access violation, even when run on the simulator...