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 support@ccsinfo.com

Program seems to "fly" off the chip

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



Joined: 14 Jun 2005
Posts: 64

View user's profile Send private message

Program seems to "fly" off the chip
PostPosted: Sat Feb 18, 2006 9:24 am     Reply with quote

This has been an intermittant problem that I've seen now with two unrelated projects (different boards, PICs and software).
I program the chip- 16F877A with ICProg, the chip works for a long while. Then I make some wiring change to the circuitry, yes, while the power is off, and no more code in the chip.
BTW when I reprogram everything is fine again.
What's up with that? Is there a reset in the chip that I'm hitting with my soldering iron?
Thanks in advance-
SophE
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Feb 18, 2006 9:42 am     Reply with quote

Check that you have LVP disabled or, if LVP is required, ensure the LVP enable PIN is not floating. Static voltage around a circuit with LVP enabled and the LVP Enable pin not having a low enough termination resistance can put the PIC into program mode. In my opinion the LVP implementation is flawed with PICs
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
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