Thanks Alain,

Quote Originally Posted by Acetronics View Post
Symbol not previously defined (_BORV_20_2L)
-fixed that.

Regarding the other error - symbol not defined _BKBUG_OFF_4L I've tried changing the script (after creating a backup!) to _DEBUG_OFF_4L
and it seemed to work.

Is this likely to cause problems or have I just fixed a bug. I have ordered PBP 2.50 upgrade and presume they have fixed these sort of errors?

Data sheet reads (P177):
REGISTER 19-5: CONFIGURATION REGISTER 4 LOW (CONFIG4L: BYTE ADDRESS 300006h)

bit 7 DEBUG: Background Debugger Enable bit
1 = Background Debugger disabled, RB6 and RB7 configured as general purpose I/O pins
0 = Background Debugger enabled, RB6 and RB7 are dedicated to In-Circuit Debug