Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
andcvi
Posted - 12/11/2013 : 16:59:30 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
Image Insert:
132.7 KB
Screen Capture of Config Bit Window with Voltage Regulator Bit set to enable for verify to pass
Image Insert:
130.29 KB
Image Insert:
109.54 KB
2 L A T E S T R E P L I E S (Newest First)
Foul
Posted - 06/05/2015 : 13:12:29 hi ! i'm trying to read/burn this PIC but can't understand the ICSP/PIC adapter+
What am i supposed to do ???
thx.
ZLM
Posted - 12/14/2013 : 22:59:26 I believe the "Voltage Regulator Enable bit" is an undocumented bit. It may not be able to be turned off. It should always on.