Formula calculate baudrate
SPBRG=(int)(_XTAL_FREQ/(64.0*baudrate)-1);
So, if Crsytal 20MHz and baudrate 1200, SPBRG become 259, this is exceed 255.
You need to lower the crystal frequency or increase a little baudrate.
That's why I'm using baudrate 1230 in
low cost RF here.