Hi, I have a serial ISR that reads and interprets incomming data but also I have to put data to serial port. the problem is putchar needs TI to be set and TI triggers serial interrupt. what is the usual solution in such situation. well I can reset ES to 0 just before putchar and set it to 1 after that but then I may loose some data??? thank you very much
each and every example of the serial ISR show you how to handle this. It is NOT done by monkeying with ES. look at ANY example code (there is some here at keil.com) and you will see. Erik