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

89C51 serial interrupt handling erro

technical people,

when I tried to write a menu to 89C51, with header correct header file, 100% sure I correctly sent the baud rate for hyperterminal program in computer to communicate. I turn on serial interrupt buy setting EA=1 & ES=1; I clear RI or TI when I have interrupt in Interrupt service routine(serial() interrupt 4) at every time. However, when I tried to echo the word I typed in hyperteminal, It doesn't show. I compiled in keil c IDE and get hex code. and burn it into my 89C51 chip, it does not jump to the main program. It always stay in interrupt service routine. What's happening?Can you help?

Thanks,
Steve