I am trying to make a program that detects the baudrate from a GPS entring to the serial port of th P89c51rd+. I cannot make the assembly code given in the AN 447 from Philips to work.Besides it waits for a key.Is it possible to simulate the RETURN key, sending the ASCII code 0x0D to the SBUF? 2.Does anyone have a procedure that (or knows how to make a) autodetectes the any character, not just the RETURN? Thanks Amilcar