I had that problem caused by the configs of tiny bootloader, redirects HPWM2 to another pin on 18F4620...

' __CONFIG _CONFIG3H, _MCLRE_ON_3H & _PBADEN_OFF_3H ; & _CCP2MX_PORTBE_3H ; NOTE CCP2MX_PORTBE_3H COMMENT OUT