Could thousands things here

BUT...

what about your pic #. More than often, there's analog pins on PORTA (ADC or Comparator). If so, you must disable, at least, this/those lasts on your PIC Serial Data Input.