I have found the error

I had forgotten to put the ports for digital input / outputs

Then I added:

ANSELA = 0
ANSELB = 0
ANSELC = 0
ANSELD = 0
ANSELE = 0

- Now works test programs with hserin and serin2 except with the serin. But I can live with it. Now I can move on.

- Jacob