Thread: Robot Crash
View Single Post
  #1   Spotlight this post!  
Unread 13-06-2010, 17:05
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Robot Crash

Hi all,

Working on alternate ideas while doing the whole reprogramming the robot in C++.

The robot works fine until I press the kick/fire button, upon which the cRIO "crashes". Nothing happens, DS says "Watchdog Not Fed". Using NetConsole, I could see that the cRIO clearly crashed, but now it's not saying anything for some reason.

I reimaged the cRIO to see if that would fix it, but nope. Though it now says the evil errors:
Code:
data access
Exception current instruction address: 0x0215bf40
Machine Status Register:  0x0000b02
Data Access Register: 0x05000060
Condition Register: 0x42000242
Data storage interrupt Register: 0x40000000
Task: 0xe63170 "FRC_RobotTask"
0xe63170 (FRC_RobotTask): task 0xe96170 has had a failure and has been stopped.
0xe63170 (FRC_RobotTask): fatal kernel task-level exception!
If I comment out line #71 in Kicker.cpp and then push the fire/arm button, the robot stops doing what it does, the DS indicates "Watchdog Not Fed" and nothing else is printed from NetConsole (not even disabled printf's).

I want to say it has something to do with the rollerEncoder because I'm not getting any data from it. Dad hasn't hooked up the scope yet to tell for sure though.

If you want to look at all the code, look here:
http://github.com/Tanner/Team-1261--.../rollerEncoder

Thoughts?

-Tanner
Reply With Quote