Go to Post Team 71: So good at Strategy they already have figured out next years game before the GDC has even met. - IKE [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

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 15-01-2011, 10:18
BEEKMAN BEEKMAN is offline
Registered User
AKA: Brendan McLeod
FRC #0190 (Gompei and the Herd)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Londonderry, NH
Posts: 138
BEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to behold
vxWorks kernel task exception

We've been trying to get our old robot to work with the new cRIO image and driver station, but we keep getting the kernel level task exception:

program
Exception current instruction address: 0x00000000
Machine Status Register: 0x0008b032
Condition Register: 0x22000848
Task: 0x2254120 "FRC_RobotTask"
0x2254120 (FRC_RobotTask): task 0x2254120 has had a failure and has been stopped.
0x2254120 (FRC_RobotTask): fatal kernel task-level exception!

We program the robot in c++ and we've tried multiple versions of last year's code along with some new of the new examples. The cRIO has been imaged multiple times from different computers. Our jaguars have also been updated to the new firmware (we use CAN via serial).

A similar exception has also been generated by the "paramTask" for the camera, which has also been updated.

Any help would be greatly appreciated

Edit: The problem appears to be coming from setting the jaguars in PercentVBus mode.
__________________
WPI Robotics Engineering & Mechanical Engineering Class of 15

iRobot Mechanical Engineering Intern

Last edited by BEEKMAN : 15-01-2011 at 10:38. Reason: More Info
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2011, 12:35
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: vxWorks kernel task exception

Could you please post your properly formatted robot code?
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2011, 13:38
BEEKMAN BEEKMAN is offline
Registered User
AKA: Brendan McLeod
FRC #0190 (Gompei and the Herd)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Londonderry, NH
Posts: 138
BEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to behold
Re: vxWorks kernel task exception

The jaguars are being initated with the correct ID's (verified in bdccomm) and the default mode (percentvbus). After that they are only used to set the voltage (via Set), they are not used to read or set anything else. The block of code that is generating the error contains four set commands.
__________________
WPI Robotics Engineering & Mechanical Engineering Class of 15

iRobot Mechanical Engineering Intern
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2011, 22:46
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: vxWorks kernel task exception

Quote:
Originally Posted by BEEKMAN View Post
The jaguars are being initated with the correct ID's (verified in bdccomm) and the default mode (percentvbus). After that they are only used to set the voltage (via Set), they are not used to read or set anything else. The block of code that is generating the error contains four set commands.
There is a bug in the current release that will crash if the CANJaguar class failed in the constructor. The MotorSafetyHelper will not be created and when that pointer is accessed in Set(), it will crash.

The key here is that the constructor was unsuccessful. Check the console for any errors from the CANJaguar constructor such as the version being wrong or some unclean status error.

-Joe
Reply With Quote
Reply


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 23:10.

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