Go to Post Brainstorming and creativity are great, but you do actually have to build the ideas you come up with sometime. - Chris is me [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2011, 20:34
aw94 aw94 is offline
Registered User
FRC #1014
 
Join Date: Jan 2011
Location: Dublin
Posts: 1
aw94 is an unknown quantity at this point
CANTimeoutException in Java

http://pastebin.com/V0x6kEk4

This is the console-out from NetBeans containing our entire boot-up process with our CANTimeoutException. We were able to flash our Jaguars with the latest firmware using the 2CAN web interface, which makes us think that the CAN network is correctly set up. After the code deployment is complete, the 2CAN is flashing green fast, which indicates that the cRIO is communicating with the 2CAN. You can see from the console-out, the 2CAN plugin is loading properly. If we remove the 2CAN from the Ethernet network, we get an UncleanStatusException.

Our question is: what else can we do to troubleshoot the CANTimeoutException?

Thanks in advance for the advice.
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2011, 04:03
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: CANTimeoutException in Java

Are you using the latest plugin and latest 2CAN firmware from the CTRE web site? Are you certain you are addressing the Jaguars with the correct device numbers?

-Joe
Reply With Quote
  #3   Spotlight this post!  
Unread 25-01-2011, 19:22
joshaw2300 joshaw2300 is offline
Registered User
FRC #1023
 
Join Date: Feb 2009
Location: Bedford, MI
Posts: 2
joshaw2300 is an unknown quantity at this point
Re: CANTimeoutException in Java

hi, I'm one of the mentors for this team. First, thanks for the response. I'm fairly confident that we are using the most up to date plugin for the cRio, and we are using firmware version 2.0 for the 2CAN. I'll get back with you on the exact version of the plugin on the cRio.

As for the node id's, yes. I'm fairly confident that we are addressing the correct node id on the CAN network. We recently used the 2CAN's web interface to flash all of our Jaguars, and in doing this, we confirmed the node id of the Jaguar on our bus. We have removed all but two Jaguars from the CAN network and can confirm we see both of these node ids on the network through the 2CAN web interface.

How this is helpful.
Reply With Quote
  #4   Spotlight this post!  
Unread 26-01-2011, 20:50
ftwpker ftwpker is offline
Registered User
FTC #1014
 
Join Date: Jan 2011
Location: Azeroth
Posts: 1
ftwpker is an unknown quantity at this point
Re: CANTimeoutException in Java

We ran the exact same code again, this time switching out our Version 2.0 2CAN with a Version 1.6 Firmware 2CAN. There were no other changes to wiring, code, network configuration, etc. We only changed the 2CAN Firmware. Whereas with Firmware 2.0, we had CANTimeoutExceptions, there were no such exceptions with Firmware 1.6. Our cRIO version is 25 and all Jaguars are updated to version 2.1.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-01-2011, 11:09
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: CANTimeoutException in Java

Quote:
Originally Posted by ftwpker View Post
We ran the exact same code again, this time switching out our Version 2.0 2CAN with a Version 1.6 Firmware 2CAN. There were no other changes to wiring, code, network configuration, etc. We only changed the 2CAN Firmware. Whereas with Firmware 2.0, we had CANTimeoutExceptions, there were no such exceptions with Firmware 1.6. Our cRIO version is 25 and all Jaguars are updated to version 2.1.
The latest FIRST firmware for the 2CAN is not 2.0 its 2.1. 2.0 is the non-FIRST firmware. Also the correct Jaguar firmware is 92.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #6   Spotlight this post!  
Unread 28-01-2011, 22:54
joshaw2300 joshaw2300 is offline
Registered User
FRC #1023
 
Join Date: Feb 2009
Location: Bedford, MI
Posts: 2
joshaw2300 is an unknown quantity at this point
Re: CANTimeoutException in Java

Thanks for pointing that out! We'll be updating first thing in the morning.
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 15:30.

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