Quote Originally Posted by gabrielg74 View Post
DEFINE NO_CLRWDT 1 'WDT inactive
Doesn't actually turn off the WDT. It just instructs PBP NOT to insert CLEARWDT instructions.
Might actually be getting an WDT interrupt in the middle of the SEROUT2 execution.
Check your programmer/.inc file settings.