Author |
Message |
Topic: Erratic behavior. Unexpected reset. |
sbayeta
Replies: 8
Views: 21721
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 12:50 pm Subject: Erratic behavior. Unexpected reset. |
You're using PCM vs. 3.150. That's a fairly old version. Check
this thread regarding a problem that probably affects your code.
http://www.ccsinfo.com/forum/viewtopic.php?t=4499&highlight=3+ ... |
Topic: Erratic behavior. Unexpected reset. |
sbayeta
Replies: 8
Views: 21721
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 8:34 am Subject: Erratic behavior. Unexpected reset. |
Well, I talked to a friend at work, and he told he has a similar problem with a program compiled with CCS.
He's program has also a while(1) block in the main function (without breaks) that is being e ... |
Topic: Erratic behavior. Unexpected reset. |
sbayeta
Replies: 8
Views: 21721
|
Forum: General CCS C Discussion Posted: Sun Jan 18, 2004 4:25 pm Subject: Erratic behavior. Unexpected reset. |
You do not show how the code every accesses the code for the states such as sLOGN. The main code will never go to this code, so the implication, is that these other states are probably reached using a ... |
Topic: Erratic behavior. Unexpected reset. |
sbayeta
Replies: 8
Views: 21721
|
Forum: General CCS C Discussion Posted: Sun Jan 18, 2004 7:20 am Subject: Erratic behavior. Unexpected reset. |
Thanks for your reply, but no, it's not the wdt. I'm using the configuration word 3D79, which I also used in the assembler version of this program.
The assembler version works great, although it's re ... |
Topic: Erratic behavior. Unexpected reset. |
sbayeta
Replies: 8
Views: 21721
|
Forum: General CCS C Discussion Posted: Sat Jan 17, 2004 7:14 pm Subject: Erratic behavior. Unexpected reset. |
Hi,
I ported my program from assembler to CCS and I'm experiencing some problems trying to make it run.
The program is the firmware of a PBX system.
Users of the PBX need to dial a PIN (Persona ... |
Topic: Unspected reset |
sbayeta
Replies: 5
Views: 17866
|
Forum: General CCS C Discussion Posted: Wed Oct 29, 2003 4:48 am Subject: Re: unexpected reset |
One possibility: there are hardware condition(s) to cause unexpected resets. If you happen to have very long wires (>10ft) from switch inputs to processor I/O pins, this can cause a reset. If this ... |
|