Your Pause 25 may be is too short. Try a longer delay. Say 1 second.

Also please do the check list as Dick did in post #23.

Also test if direct connection of your two PIC works as expected.

Ioannis