View previous topic :: View next topic |
Author |
Message |
arachid
Joined: 15 Oct 2016 Posts: 11
|
low voltage chip error |
Posted: Sat Oct 15, 2016 5:19 pm |
|
|
Hello, i try to program a pic16lf1786 and i get always error when i write the chip. I tried with a 16f1786 successfully them i just change the chip from an F to an LF version of chip. I made example program and always error.
Compiler 5.045
Thanks for your help |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah
Joined: 11 Mar 2010 Posts: 19363
|
|
Posted: Sun Oct 16, 2016 1:24 am |
|
|
What programmer are you using?.
How are you powering the chip for programming?.
There is a problem, in that the _minimum_ supply voltage that can be used for full programming is 2.7v. Hence if powering the chip off (say) 2v, then to program it, you have to disconnect the supply, power the chip off the programmer instead, and ensure that all your other circuitry won't mind this voltage, and that the programmer can deliver enough current.
So, though the chip can run down to 1.8v, you can't actually program it at the lower voltages (problem is that though you can write a byte/word, you can't do bulk erase cycles below this voltage)..... |
|
![](templates/subSilver/images/spacer.gif) |
guy
Joined: 21 Oct 2005 Posts: 291
|
|
Posted: Mon Oct 24, 2016 3:20 am |
|
|
Don't forget to change the chip name from F to LF
* in MPLAB (under Configure/Select Device) and check the name in the line at the bottom
* in the #INCLUDE statement in your program |
|
![](templates/subSilver/images/spacer.gif) |
|