Hello,

Thank for your answers.

I'm using a 18F2550. To verify the baud rate, i'm using the hyperterminal from windows.

I think that my problem is in definition of the Pic, I not understand why we need to define the oscilator 2 times:

DEFINE OSC 8
__CONFIG _CONFIG1L, _PLLDIV_2_1L ; Divide by 2 (8 MHz oscillator input)

Thanks,
Nuno