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

Search found 8 matches
CCS Forum Index
Author Message
  Topic: Unexpected Reboot at PIC 16F876, Why ?
rodorico

Replies: 15
Views: 15809

PostForum: General CCS C Discussion   Posted: Sun Nov 21, 2010 2:10 pm   Subject: Unexpected Reboot at PIC 16F876, Why ?
Thanks guys, doing that I achieve no more reboots.
  Topic: Unexpected Reboot at PIC 16F876, Why ?
rodorico

Replies: 15
Views: 15809

PostForum: General CCS C Discussion   Posted: Fri Nov 19, 2010 8:45 am   Subject: Unexpected Reboot at PIC 16F876, Why ?
any idea guys Rolling Eyes
  Topic: Unexpected Reboot at PIC 16F876, Why ?
rodorico

Replies: 15
Views: 15809

PostForum: General CCS C Discussion   Posted: Thu Nov 18, 2010 10:44 am   Subject: Unexpected Reboot at PIC 16F876, Why ?
Here is a short program test,

I'm printing every x second 9 values from a thermal scan connected to the pic by I2c, and attached is all the code of the short program with all the variable declarat ...
  Topic: Unexpected Reboot at PIC 16F876, Why ?
rodorico

Replies: 15
Views: 15809

PostForum: General CCS C Discussion   Posted: Mon Nov 15, 2010 3:53 pm   Subject: Unexpected Reboot at PIC 16F876, Why ?
Hi, I'm making some test and this is my conclusion, the problem is at the while(true) loop.

If I no put code inside it works fine, but if I insert code, the pic reboots.

This is the while loop
...
  Topic: Unexpected Reboot at PIC 16F876, Why ?
rodorico

Replies: 15
Views: 15809

PostForum: General CCS C Discussion   Posted: Mon Nov 15, 2010 5:10 am   Subject: Unexpected Reboot at PIC 16F876, Why ?
It would be better if you posted a small, but complete test program that
shows the problem. You can probably cut out a large amount of your
code and still create a program that shows the problem. ...
  Topic: Unexpected Reboot at PIC 16F876, Why ?
rodorico

Replies: 15
Views: 15809

PostForum: General CCS C Discussion   Posted: Sun Nov 14, 2010 5:40 pm   Subject: Unexpected Reboot at PIC 16F876, Why ?
Since you did not show all your code, one thing I see right off:

#int_RDA
interrupt_RS232 () {

operation = getc();

printf("Operacion recibida: %C\n&qu ...
  Topic: Unexpected Reboot at PIC 16F876, Why ?
rodorico

Replies: 15
Views: 15809

PostForum: General CCS C Discussion   Posted: Sun Nov 14, 2010 5:31 pm   Subject: Unexpected Reboot at PIC 16F876, Why ?
My first guess is that you have noise on the PIC power pins when you do the move commands.

Does it reset if you have your motors disconnected?
yes it happens with the motors disconnected

Wha ...
  Topic: Unexpected Reboot at PIC 16F876, Why ?
rodorico

Replies: 15
Views: 15809

PostForum: General CCS C Discussion   Posted: Sun Nov 14, 2010 2:17 pm   Subject: Unexpected Reboot at PIC 16F876, Why ?
Hi people, I have this problem and I don't know how to resolve it.

I'm executing this c code, and when I send some operations (*move (leftmove, forwardmove, rightmove, leftmovestop....)) at the rs2 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group