Ok, I have asked this question before: What is correct method to get a pic18 device set to an oscillator speed other the 4MHz? I have tried moving my configuration settings from the pbp file back to the include file, Changing all the occurances of OSC in pbppic18.lib file to XTAL, using DEFINE XTAL 32.

Does anyone else have this problem? Is there a PBP fix for this problem.

I can get the program to compile by:
1. Using the lib file to set the configuration fuses.
2. Using DEFINE OSC 32.
3. Keeping the original pbppic18.lib file.
After it successfully compiles, the pic does nothing.

I can also get it to compile by:
1. Set configuration fuses in the pbp file.
2. Replacing all occurances of OSC with XTAL in the pbppic18.lib file.
3. Using Define XTAL 32.
After in successfully compiles, the pic functions but serial communcations (serin2) are not functioning do to baud rate problems.

To "prove" the communcations problem was due to baud rate and not circuit or interconnection problems, I removed the osc definitions to ensure that the default of 4MHz was assumed by pbp. I change my PC based interface program to a lower baud rate (9600) and all communications worked correctly. However, I need a faster data transfer (38400).

Anybody got a solution to this problem. Any help would be appreciated.
CC