View Single Post
  #1   Spotlight this post!  
Unread 05-02-2011, 13:39
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,549
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
UncleanStatusException: -1

My team just started playing with CAN in Java and now we are getting this error after we hooked everything up.

Quote:
edu.wpi.first.wpilibj.util.UncleanStatusException: Fatal status code detected: -1
I have searched but I haven't been able to find other people getting the -1 error.

We have addressed all the Jaguars with BDC-COMM and are able to see all 4 Jaguars when they are on the bus with BDC-COMM. We have doubled checked that they all have updated firmware.

I have been able to find that is this error
Quote:
/// DMA to the FPGA target is not supported by the controller associated with the FPGA (e.g. cRIO-9002/4).
public static final int kRioStatusDmaOutputNotSupported = kRioStatusOffset - 1;
But I have no idea how to go about fixing it.

We have tried reimaging the cRIO and reset it multiple times.

We also went and used the sample code from here in case our code wasn't running properly but we are still getting the same error.
http://norwellrobotics.com/papers/canbus.html

Thank you for any help you can provide,
Allen Gregory
Team 2587
Reply With Quote