Hi Again,

I change this 2 lines;
Code:
include "modedefs.bas"
DEFINE OSC 4
for this;
Code:
DEFINE OSC 4
include "modedefs.bas"
And now i have tested with success this baud rates;
HSER_BAUD - HSER_TXSTA
300 - 20h
600 - 20h
1200 - 20h
2400 - 24h
4800 - 24h
9600 - 24h
14400 - 24h
19200 - 24h
28800 - 24h

38400 and 57600, tested, but without success.
PIC16F877A-I/P
4Mhz

Regards