| Hello Forum Members,
Slight problem with programming the 18F14K50 using my GQ-4X USB Programmer Rev-1.42 (SW Rev 6.23) when I load the HEX file for this chip, in the config bits window it shows that the Voltage Regulator Enable bit is disabled, and when the programmer verifies the config bits it says it has failed, if I set this bit to enable and reprogram it passes.
I have VUSB connected to VDD as the Programmer suggests, but does not make any difference if connected or not.
The thing is there is no mention of a Voltage Regulator Enable bit in the Microchip 18F14K50 data sheet and there is no mention of this bit in MPLAB's 18F14K50.inc file, but in GQ's devices folder 18F14K50.dev shows the following
field (key=VREGEN mask=0x20 desc="Voltage Regulator Enable bit" flags=x)
setting (req=0x20 value=0x0 desc="Voltage Regulator is disabled")
setting (req=0x20 value=0x20 desc="Voltage Regulator is enabled")
If I delete this section in the 18F14K50.dev file and reprogram the HEX file the config bits verify still fails.
Any solution to this problem.
Screen Capture of Config Bit Window with HEX file Loaded
Screen Capture of Config Bit Window with Voltage Regulator Bit set to enable for verify to pass