OK this simple test works on the second board with just the PIC

Code:
ASM 
  __CONFIG    _CONFIG1H, _OSC_HS_1H
  __CONFIG    _CONFIG2L, _PWRT_ON_2L  
  __CONFIG    _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
  __CONFIG    _CONFIG3H, _MCLRE_ON_3H & _LPT1OSC_OFF_3H & _PBADEN_OFF_3H  
  __CONFIG    _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L
ENDASM


'*******************************************************************************
' Defines Statements
'*******************************************************************************

DEFINE  OSC 20                          ' 18F4520, 20mhz crystal
ADCON1 = $0F
clear    

'*******************************************************************************
'Analog and Comparator settings
'*******************************************************************************

ADCON0 = %00000000                      'AD converter module disabled
ADCON1 = %00001111                      'All Digital
ADCON2 = %00000000
CMCON = 7                               'Disable Comparators

'*******************************************************************************
'Port settings
'*******************************************************************************
    
TRISA  = %00010111              
TRISB  = %00000011             
T0CON  = %11000111


 
 
 
 Main:
 high portb.4
 pause 1000
 low portb.4
 pause 1000
 goto main
So the board routing seems OK, so it must be a dry joint or issue with the 1st board...