Hi there,

I have tried the code on a 18f2220 but still the same problem. I tried using DEBUGIN but still the same. Is it to do with the settings of the Hardware UART?, I am not actually sending anything to the pic only sending data at present, but it still fails if I include the serin2 line.

anyone out there with any suggestions . I would be eternally grateful

cheers John