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

how to measure a 6600hz signal?
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest








PostPosted: Tue Dec 07, 2004 2:32 pm     Reply with quote

another wired thing is that every time I turn off the power and restart the program, onr chip (which is doing remote communication always stop working, I have to take off the crystal and plug in several time in order to get it run. if I did not trun off power, I could take the chip off and replug it in and it keeps working, I could not explain this, is this the problem of crystal or remote data transferring?
rwyoung



Joined: 12 Nov 2003
Posts: 563
Location: Lawrence, KS USA

View user's profile Send private message Send e-mail

PostPosted: Tue Dec 07, 2004 5:48 pm     Reply with quote

Anonymous wrote:
another wired thing is that every time I turn off the power and restart the program, onr chip (which is doing remote communication always stop working, I have to take off the crystal and plug in several time in order to get it run. if I did not trun off power, I could take the chip off and replug it in and it keeps working, I could not explain this, is this the problem of crystal or remote data transferring?


Ok, stop right there. You have multiple problems here and they may or may not be related. There is a problem with your wiring, program or some combination of both. Exclamation

In the program listing on page 2 of this thread, you show the WDT fuse active but I didn't see any restart_wdt() calls in the code when I scanned it. Also, are you running on 3.3V? If not then you should probably enable the NOLVP fuse.

This is very similar to a thread you had a while back where it was eventually determined that you had a hardware wiring error causing most of your problems. Yet you kept coming up with more and more software to test before you fixed the hardware problems.

STOP fooling with your software until you KNOW that your hardware is 100% OK. Check your wiring, write very simple code paying attention to the fuses you select and make very sure the hardware is funtioning as expcected at startup.
_________________
Rob Young
The Screw-Up Fairy may just visit you but he has crashed on my couch for the last month!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
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