hpwm and pwm are different commands pwm is not continuous and can be on any output pin and is a blocking cmd.
hpwm can only be on a ccpx pin is continuous and is non blocking [ccp1 is gp2 /pin5 on a 12f683]
both work as per the book if your define OSC is correct, hpwm is limited to 0 - 33khz unless the ccpx regs are set manualy