Go to Post If you want to prove your worth, prove it by creation, not destruction. - DanL [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2009, 22:46
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
cRio corruption/polling problem

This seemed to deal with both the control system and programming, so I stuck it in here. Please move if appropriate.Also this has a long list of the debugging we did, but just the symptoms are listed at the bottom


Our cRio has recently started acting very strangely--essentially, after a code update, the robot just stopped working, and began its disabled flashing sequence. Suspecting a watchdog problem, we disabled the watchdog, thinking that maybe something in the code was running a lot slower than usual and causing it to die--but when we redownloaded code with it disabled, we just got solid "neutral" outputs on our PWMs, as well as not getting any program output when we pulled up a remote console, which we think means the code was crashing at startup(comments?).

Now the really weird stuff--our dashboard was still able to report the status of our DS digitial inputs even when this thing was supposedly crashed. Since we're using the default Dashboard code on our robot, our belief is that this requires calling the packAndSend function, which couldn't happen if it was crashed.(is this true? Or is there some multi-threaded weirdness going on here?).
Now it gets odder--believing that there might be some sort of corruption in the cRio's internal memory, we tried to re-image it. However, the imaging tool was unable to locate the cRio despite the fact that we could both download code and use the dashboard. In addition, whenever we would try to download a "stable" version of our code, the DS would simply display "No code", however in the current version it displays the battery voltage.

The other thing is that we recently rewired our robot and installed the v11 updates for the cRio and our coding computer. The problem seems oddly specific for a hardware issue, and we've successfully used the v11 in the past, but there you have it.

So the symptoms we've been having are:
  1. Watchdog tripping as soon as the robot starts
  2. No remote terminal output, but we can get DS status over the dashboard
  3. None of the motors on the robot can move after it starts, even with the watchdog disabled(robot says its in normal teleop mode)
  4. Robot will not accept programs other than the current version
  5. The imaging tool can't find the cRio

Any way you could help would be greatly appreciated
__________________
Get yer robot source code here!
  #2   Spotlight this post!  
Unread 04-02-2009, 23:24
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: cRio corruption/polling problem

Regarding the imaging issue you may want to try setting the cRIO and laptop's address to team 0000. Take a look at my response on

http://www.chiefdelphi.com/forums/sh...ad.php?t=73620

Please let us know if that works.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem receiving console output from cRIO Arborama Programming 7 15-02-2009 03:30
cRIO Problem Pneumaticsman NI LabVIEW 8 10-01-2009 11:59
cRIO plugin problem gabrielse National Instruments LabVIEW and Data Acquisition 3 18-12-2008 11:30
cRIO test drive *OFB* problem.... NetSkay FRC Control System 5 10-12-2008 18:32
IR Sensor: Does Slow Loop Polling Work. de_ Programming 2 07-02-2008 23:49


All times are GMT -5. The time now is 02:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi