Go to Post Dean will make America gracious again - seth.brugler [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 27-01-2011, 15:59
Marc P. Marc P. is offline
I fix stuff.
AKA: βetamarc
no team
 
Join Date: Jan 2002
Rookie Year: 1999
Location: Watertown, CT
Posts: 997
Marc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond repute
Send a message via AIM to Marc P.
cRio Kernel Error/Reboots

Hello all!

I'm here asking for advice on behalf of Team Beta's programmers. The other night they were attempting to write some simple code to experiment with an encoder, with some success. Things seemed to be going well until the cRio inexplicably started rebooting itself.

The cRio powers on, boots up, runs the deployed code for just long enough for the classmate/driver station status to show "Teleoperated Disabled" for a split second before showing "No Robot Communication" as the cRio status light blinks on for a second, indicating it restarted.

The programmers are using C++/Wind River, the cRio is running image version 25, WPIlib and the build environments are all updated to the most recent downloadable versions.

My first thought was to format/re-image the cRio. While in the "not functioning properly" state, the cRio imaging tool can not find the cRio for re-imaging. After powering off the main breaker, I flipped the Safe Mode DIP to "on" and turned the breaker back on. The cRio then booted up, and was detected by the imaging tool. From there we were able to successfully format the cRio, and the imaging tool then said to power down, turn off the safe mode switch, and power back on. After doing so, the imaging tool was again able to detect the cRio, and successfully set the IP address and applied the v25 image. The cRio will then boot up fine, the classmate/driver station is able to connect, and the status shows "No Robot Code." It will sit like that for extended periods of time without issue.

The programmers then proceeded to compile and deploy basic sample code with seemingly no issue. Once the deployment finishes, the cRio is rebooted via the "Robot Reboot" button on the classmate/driver station. It again reconnects to the classmate/driver station just long enough for the status to show "Teleoperated Disabled" for a split second before changing back to "No Robot Communication."

With Wind River still open after deploying code, the following error pops up:
Code:
Target Exception

VxWorks6x_10.28.36.2: Exception in Kernel Task FRC-RobotTask:0x12816e0 at pc=0x218682C

Vector 0x300 : Data Access addr=0x992611E8 status=0x21867C0

The System has stopped.  Do you want to attach the debugger now?

(yes)   (no)
Clicking yes opens a tab with scrolling lines saying:
Code:
deadbeef:  Read access not allowed
deadbef0:  Read access not allowed
deadbef1:  Read access not allowed
deadbef2:  Read access not allowed
deadbef3:  Read access not allowed
deadbef4:  Read access not allowed
deadbef5:  Read access not allowed
...and so on
The cRio then continues in it's rebooting loop, after multiple cold boots/power cycles, and the only thing that seems to stop it is booting in Safe Mode, formatting, rebooting in normal mode, and re-imaging. But even that only works until any code is deployed, after which the cycle begins again.

Steps we have tried:

Full power cycles (turning off breaker, unplugging battery, reconnecting, turning breaker back on)
Removing all cRio modules
Formatting the cRio in safe mode
Re-imaging the cRio in normal mode
Blowing out the cRio with compressed air
Deploying default/sample code
Fresh battery

All to no avail. Is there anything else we can try before contacting NI?

Thank you all for any advice or assistance!
Reply With Quote
 


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


All times are GMT -5. The time now is 16:51.

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