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