You need help? Help us a bit
PIC #
OSC speed
Hardware?
Config Fuses?
i suspect, at least, that your PIC have some analog stuff to be disable on PORTA
Is this PIC# will die one day?
Seems to be a baudrate problem. Be sure you set this crap Hyperterminal Baudrate and all settings correctly first. Sorry... i hate Hyperterminal. That's the worst PC program i've never ever seen in my whole life. MicroCode Studio Serial Communicator is a good one.
Try to remove the CHAR_PACING stuff first or change Terrminal program
For what it worth, How about your schematics?
Are you sure that your crystal really run @4MHZ ?
For your last question, define an ARRAY variable of n elements then use SERIN2 with STR modifier.
Quote:
serin2 PORTA.2,t2400,[kdg.0,kdg.1 ]
i'm pretty sure it's not a valid statement. Have a look to SEROUT, SEROUT2 modifier list