what about if you just write this code ???

Code:
DEFINE OSC 20

' Set baud rate
DEFINE HSER_BAUD 9600

DEFINE HSER_ CLROERR 1

datain var byte

main:

     HSERIN [datain]
     pause 200    ; if this working now, try to remove this line
                          ; or reduce delay
     Hserout [#datain]

goto main
let me know. Case it's not working i'll try something in real world.

regards