Thanks for all who supported me. At the end, i've done the getkey on serial 2. Now, i want to printf on serial 2 with uVision3 and with xc167ci. i put on the ASC1_TBUF a char, then set the bit ASC1_TIC, but it doesn't work. There is something else that i have to do? thanks a lot! PS. for Bruno Coppi, i' ve searched all the manual of the uVision2 and 3, but i' haven't found any information about the ASSIGN command. But i've used your information!!! Thanks!! UN GRANDE GRAZIE!!!!