Would someone be able to tell me how to initialize the serial port on the C515C so that when I send a printf statement I'll be able to read it on HyperTerminal. It could be that I have not set up the baud rate, stop bit, and flow control on the HyperTerminal so any comments on this would be appreciated
Try that: ********************************************** ;* Using 10 Bit Baudrate Generator * ;* Oscillator frequency = 10.0 MHz * ;* Set Baudrate to 9600 Baud * ;********************************************* BD BIT 0DFH SRELL DATA 0AAh SRELH DATA 0BAh InitSerial: SETB BD ; Baudrate Generator MOV SRELL,#0BFH ; (for 10MHz) MOV SRELH,#00000011B ORL PCON,#10000000B ; SMOD = 1 MOV SCON,#01011010B ; Init Serial Interface regards Stefan