Hi, everyone: My program is communicating with a device via RS232. I issued debug commands like this: mode COM1 19200,0,8,1 assign COM1 <sin >sout Communication works well, and i can see the outgoing data (sent by my program) from within the Serial Window. I can also use the slog command to log the output into a file. But, how can i view the incoming data sent by the device during debug session? regards, d.curie
Hi, David Thanks for your immediate help. And i prefer the 1st method. 8-) By the way, uVision seems not to distinguish between the receiving SBUF and the sending SBUF in 8051. When i execute the following command upon a breakpoint, what my program is sending, among others unknown, is echoed to the output window. printf("%02X \n", SBUF) I'm forced to use a somehow obscure alternative: printf("%02X \n", \isr\sci_isr\c) curie
uVision seems not to distinguish between the receiving SBUF and the sending SBUF in 8051 Yep. That's the way the 8051 works. Maybe you should take a look at SIN and SOUT. Jon