Hi, I'm using the uVision 2 debugger and I need to use the PC COM for serial simulation, i order to comunicate with another device. Can anyone explain how I can do this. The Keil documentation is very superficial on this subject, but from what I read it uses XON/XOFF protocol. The device I'm trying to comunicate doesn't. How can I solve this problem. Thank you for any reply.
"from what I read it uses XON/XOFF protocol" Where did you read that? I didn't think it used any flow control at all?
It was here. http://www.keil.com/support/docs/1981.htm
Hmmm... so you must be filling-up the 3.5k buffer before the PC can transmit it. That sounds like a major mismatch between the rate you're loading the buffer & the rate you're transmitting?
That's not the problem. The problem is, if the other device sends the XOFF character (0x13) (NOTE: the other device doesn't use XON/XOFF), the simulator interprets this character as being the XOFF character and therefore stops the transmition of characters. Best Regards Rafael Rio Tinto