Sorry for the late reply, didn't have a chance to get back to this until now. Xiaofan wrote: > I tried to use the simulator but I have yet to learn how to > use the simulator effectively yet. From the simulator run, > it seems that you have an overrun error here > (USART_Status.OVERRUN_ERROR = 1) with the helloworld line. Bingo. There's nothing wrong with the library. Remember I mentioned that the Tx/Rx lines are connected? Well, what happens is as I transmit the string, it gets fed into the Rx pin, and causes buffer overflow. Like I said, I was overlooking something very obvious. My plan is to write a custom putrs replacement, that would either disable the receiver while it's transmitting, or read the buffer after it sends every character. Thanks, Xiaofan! Vitaliy -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist