Hello all. Can anyone help me with the following one? My target is working under RTX51-full. I have an interrupt function (void mc12comm() interrupt 0 using 3) that calls other regular function, and this regular function creates a task. The task is enveloped with an endless loop (while 1) and at the end of the loop there's: os_wait(K_TMO, _2_SEC, 0); I have about 5 tasks in the code and all of them works fine but in this task the program execute the os_wait function forever and not for 2 seconds as required. Is it because the interrupt function calls regular function that creates a task? Please help, Reuven
void int0() interrupt 0 using 3 { os_send_signal(TASK1); } Isn't there supposed to be isr_send_signal instead of os_send_signal ?
Thanks a lot Mike. You'r the man!!! (I must be more focused in what I'm doing...)