This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX on Cortex M3 applications

Hello,

I am evaluating RTX on various platforms. The first evaluation kit I tried was AT91SAM9263 and using examples and it went well. Since RTX example is not available for Cortex M3 (LM3S1968) applications, I used to common M config file (RTX_Config.h). However it doesn't proceed over os_sys_init (task1). Even after setting up the sysclktick (SysTickPeriodSet and SysTickEnable()) the os_sys_init enters IntDefaultHandler B area.

Please advise.

Parents
  • Thanks Martin... I referred the example, SVC_Handler was not set and hence it was a problem. I am not getting IntHandler any more, however there is a problem with timings. If I continue in debug mode by stepping or using breakpoints, the tasks are switched as expected (ofcourse not in real time). In the debug mode if I run the code from beginning it visits a ticker task only once and runs into os_idle_demon task.

    The ticker task is as follows:

    __task void ticker(void)
    { while (1) { os_evt_set (0x1, t_phaseA); os_dly_wait(50); //os_evt_set (0x1, t_phaseB); //os_dly_wait(50); }
    }

Reply
  • Thanks Martin... I referred the example, SVC_Handler was not set and hence it was a problem. I am not getting IntHandler any more, however there is a problem with timings. If I continue in debug mode by stepping or using breakpoints, the tasks are switched as expected (ofcourse not in real time). In the debug mode if I run the code from beginning it visits a ticker task only once and runs into os_idle_demon task.

    The ticker task is as follows:

    __task void ticker(void)
    { while (1) { os_evt_set (0x1, t_phaseA); os_dly_wait(50); //os_evt_set (0x1, t_phaseB); //os_dly_wait(50); }
    }

Children