CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

low voltage chip error

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
arachid



Joined: 15 Oct 2016
Posts: 11

View user's profile Send private message

low voltage chip error
PostPosted: Sat Oct 15, 2016 5:19 pm     Reply with quote

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
Ttelmah



Joined: 11 Mar 2010
Posts: 19553

View user's profile Send private message

PostPosted: Sun Oct 16, 2016 1:24 am     Reply with quote

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).....
guy



Joined: 21 Oct 2005
Posts: 297

View user's profile Send private message Visit poster's website

PostPosted: Mon Oct 24, 2016 3:20 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group