If it works with one PIC and not the other on the same board then it must be a code/config problem.

Post your code and config settings from the inc file if you are not setting them in code.
Then maybe we can help.