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
  • Maybe the existing dead-lock posibility( or function) in rtx-tiny serial rutine in trafic example does your problems. Program hangs when 1'st char is arrived (empty inbuf) and ISR processed this char after the

     while(iend == istart) 
    line in getline( getkey ) function. The signal is not send because itask value is not set yet.

    Roman

Reply
  • Maybe the existing dead-lock posibility( or function) in rtx-tiny serial rutine in trafic example does your problems. Program hangs when 1'st char is arrived (empty inbuf) and ISR processed this char after the

     while(iend == istart) 
    line in getline( getkey ) function. The signal is not send because itask value is not set yet.

    Roman

Children
No data