View Single Post
  #2   Spotlight this post!  
Unread 13-02-2011, 17:35
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: When even the experts are confused...

In WindRiver check out the target console (or turn on serial debugging and use a terminal app with a cable). It sounds like you may be having a linker error, in which case your program will be unloaded. For best results, start the target console the second that WindRiver connects to the robot in the device view. It's also possible your code is crashing the cRio and causing it to lose comms and unload your program. Try to see if the simple template code works.

We've also had your symptoms occur with a very low battery - the code gets loaded, a motor turns, and the voltage drops so low the cRio resets.
Reply With Quote