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

Serial Interrupt with Mon51

HI
I'm facing problem while executing serial ISR on MON51 board. The monitor is installed at 0x8000. I've checked other interrupt like timer etc and found that they are working fine.The library routine puts,gets,printf is working as normal.but when i tried to receive a charector through interrupt i don't succeed.
can any one help me.
Thanks
Abdul Wahab

Parents
  • i also have the same problem with u in my last project. I try to communicate through serial port to other controller unsing interrupt however i failed..until at last i found that the stdio library for serial communication was written to operate in polling mode..not interrupt (i'm not so sure..anybody can confirm this ?)
    It seems that we have to write our own interrupt handler routine for serial communication.

Reply
  • i also have the same problem with u in my last project. I try to communicate through serial port to other controller unsing interrupt however i failed..until at last i found that the stdio library for serial communication was written to operate in polling mode..not interrupt (i'm not so sure..anybody can confirm this ?)
    It seems that we have to write our own interrupt handler routine for serial communication.

Children
  • Hi Abdullah
    I've written my own seria ISR but when the interrupt occur the programm counter jump to 0x0023 address while my serial ISR located at 0x8023 since i've decode the ram starting fdrom 0x8000.I've tried all the options available at uv2 but don't successed. You openion that the library routine are based on polling is correct.
    Regards
    Abdul Wahab Malik