Problem solved.

Well, well. That was a lot of effort for one small error: I had the wrong PIC selected in MicroCode Studio. I remember selecting it before but maybe it got unselected somehow. The whole new-to-PBP3 thing was just a decoy. I have obviously spent too many hours staring at a computer screen today..... Bed time.

Jonathan.