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

Generating interrupts in RTX51 Tiny applications

I am having problems generating serial port (RI and TI) interrupts in an application that I have.
I have two functions being running with Round Robin disabled. Both functions send signals to each other when the tasks need to switch.
I've gone through the threads, and tried to follow the instructions given when other people had similar problems, but none of that is working for me.
I am also using Timer 2 for Uart 0, and timer 1 for uart 1. Interrupt for both UARTs are enabled.
I can only set the priorities for both interrupts as high. I tried doing this but it didn't seem to help.

Any ideas, thoughts or suggestions?

Parents
  • I've tried the suggestions. I am using pretty much the same code you put up. My problem is that it appears that my interrupts are not working.
    The TI_0 and RI_0 interrupts are not interrupting the OS. Furthermore, when I look at the RTX tiny task list, once the task 0 (init) task finishes running and exits, I notice that the system timer doesn't count down anymore, but I know that Timer 0 is still running.
    Its as if all interrupts are disabled, but when you look at the interrupt peripheral tool, EA is enabled.

    My interrupts are not working. My Conf_Tny file is almost identical to the file from Traffic.
    Any ideas?

    Thanks

Reply
  • I've tried the suggestions. I am using pretty much the same code you put up. My problem is that it appears that my interrupts are not working.
    The TI_0 and RI_0 interrupts are not interrupting the OS. Furthermore, when I look at the RTX tiny task list, once the task 0 (init) task finishes running and exits, I notice that the system timer doesn't count down anymore, but I know that Timer 0 is still running.
    Its as if all interrupts are disabled, but when you look at the interrupt peripheral tool, EA is enabled.

    My interrupts are not working. My Conf_Tny file is almost identical to the file from Traffic.
    Any ideas?

    Thanks

Children