Hank,
Weak Pull-ups are disabled at power-up / Reset.
They are turned on by clearing WPUEN (OPTION_REG.7).
All of the WPUx registers are enabled at power-up, so when you clear the WPUEN bit, they all come on unless you specifically disable individual pins WPUC.x.
Does your code change OPTION_REG?
Bookmarks