Lock up while using CANTest
James Zealey <jzealey-bHIVYo8c//[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Dear all,
I've been trying to get the "cantest" program working on my TINI, which
is a TSTIK in a STEP board. canreceive and cantransmit both compile
correctly, however canreceive appears to lock up the TINI as soon as it
tries to create a reference to the CAN controller on line 42 of
canreceive.java, which reads:
CanBus a = new CanBus(CANBUSNUM);
CANBUSNUM is a static final reference to CanBus.CANBUS0 and no other
messing with the CAN bus has taken place yet.
I have modified the program - specifically line 147, of canreceive.java
if (TINIOS.isCurrentTaskInit())
Debug.setDefaultStreams();
has been commented out because it was causing:
java.lang.ArrayIndexOutOfBoundsException
in java.util.Stack.???
in java.lang.System.???
Removing it seems to have no effects on the execution of the program
beyond avoiding this error (streams still work correctly).
Thanks in advance,
James Zealey
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini