View Single Post
  #1   Spotlight this post!  
Unread 15-02-2006, 16:53
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
RC randomly resets or goes into program mode

As the topic says, our RC randomly resets or goes into program mode. I was able to isolate the problem to a group of printf()'s executing every program loop, but it seems to be happening again even with those gone.

We are running Timer 2 to run the ADC (only channel is a 50Hz sampling gyro), Timer 3 for an ultrasonic range finder, and 3 hardware interrupts (2 128ppr encoders and the range finder)

Any ideas? It may be our code is taking too long to execute, but I was under the impression the master processor would totally shut down the system if this happened. And even if that happened, what would cause program mode to trigger?

Last edited by Tom Bottiglieri : 15-02-2006 at 16:56.