Go to Post Go with a Big Block. The torque is awesome and you cant beat the sound of a built Big Block with a high lift cam and some open headers. A blower would be a nice addition as well. Good luck getting past the inspector. - GBK [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 17-02-2011, 15:49
TheDark's Avatar
TheDark TheDark is offline
Registered User
FRC #1729 (Plan B)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: New England
Posts: 4
TheDark is an unknown quantity at this point
Unhappy CANExceptionFactory error

I'm just wondering if anyone could help me with the errors that I've been getting. Any help would be greatly appreciated.

The dump of the build process is below.

init:
init:
Deleting directory C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\build
Deleting directory C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\suite
Deleting directory C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\j2meclasses
clean:
Created dir: C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\build
Compiling 8 source files to C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\build
compile:
Created dir: C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\j2meclasses
preverify:
Created dir: C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\suite
Building jar: C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\suite\botmobile_2011_mk2_1.0.0.jar
jar-app:
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
[translating suite image [closed: false, parent: squawk] ...]
### Excluding compile: com.sun.squawk.Method::getParameterTypes
### Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt
[Including resource: META-INF/MANIFEST.MF]
Romizer processed 105 classes and generated 4 files.
Expanding: C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\suite\botmobile_2011_mk2_1.0.0.jar into C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\suite
Moving 1 file to C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\suite
Moving 1 file to C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\suite
Moving 1 file to C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\suite
Deleting: C:\Documents and Settings\Zeb.KAUAI\My Documents\NetBeansProjects\RobotTemplate\botmobile _2011_mk2\image.suite.api
Host OS: Windows XP 5.1, 5.1
Host JVM: Java HotSpot(TM) Client VM 14.2-b01
Target IP: 10.17.29.2
Network interfaces on host:
VMware Virtual Ethernet Adapter for VMnet8: address: 192.168.117.1 netmask: 255.255.255.0
VMware Virtual Ethernet Adapter for VMnet1: address: 192.168.158.1 netmask: 255.255.255.0
Realtek RTL8139/810x Family Fast Ethernet NIC - Packet Scheduler Miniport: address: 10.17.29.6 netmask: 255.0.0.0 <--- on robot's subnet
Connecting FTP @10.17.29.2
upgrade:
Sending local file image.suite
flashapp:
deploy:
init:
[cRIO] [OTA Server] ********* REBOOTING cRIO *********
[cRIO]
Waiting for cRIO to reboot (1s)
Waiting for cRIO to reboot (2s)
Waiting for cRIO to reboot (3s)
Waiting for cRIO to reboot (4s)
Waiting for cRIO to reboot (5s)
Waiting for cRIO to reboot (6s)
Waiting for cRIO to reboot (7s)
Waiting for cRIO to reboot (8s)
[cRIO]
[cRIO] -> * Loading StartupDlls: debug
[cRIO] Entering debug.o StartupLibraryInit
[cRIO] Debugging is up, target server mounted at /tsfs
[cRIO]
[cRIO]
[cRIO] VxWorks
[cRIO]
[cRIO] Copyright 1984-2006 Wind River Systems, Inc.
[cRIO]
[cRIO] CPU: MPC5200 -- Wind River Lite5200 BSP.
[cRIO] Runtime Name: VxWorks
[cRIO] Runtime Version: 6.3
[cRIO] BSP version: 2.0/10
[cRIO] Created: Jul 29 2009, 13:41:47
[cRIO] ED&R Policy Mode: Deployed
[cRIO] WDB Comm Type: WDB_COMM_END
[cRIO] WDB: Ready.
[cRIO]
[cRIO] Leaving debug.o StartupLibraryInit
[cRIO] * Loading StartupDlls: NiRioRpc
[cRIO] * Loading StartupDlls: niorbs
[cRIO] * Loading StartupDlls: NiViSrvr
[cRIO] * Loading StartupDlls: visa32
[cRIO] * Loading StartupDlls: nivissvc
[cRIO] task 0xeccf68 (PAL00f9e360) deleted: errno=0 (0) status=0 (0)
[cRIO] NI-RIO Server 3.2 started successfully.
[cRIO] task 0xc48460 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
[cRIO] * Loading StartupDlls: nivision
[cRIO] * Loading StartupDlls: niserial
[cRIO] * Loading StartupDlls: FRC_FPGA
[cRIO] * Loading StartupDlls: FRC_NetworkCommunication
[cRIO] task 0x1af56b8 (t2) deleted: errno=0 (0) status=0 (0)
[cRIO] FRC_NetworkCommunication was compiled from SVN revision 2258
[cRIO]
[cRIO] NI-VISA Server 4.5 started successfully.
[cRIO] task 0xe4b6f0 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)
[cRIO] FPGA Hardware GUID: 0x2EAA5E59CAF1A8A966853A011B61CC91
[cRIO] FPGA Software GUID: 0x2EAA5E59CAF1A8A966853A011B61CC91
[cRIO] FPGA Hardware Version: 2011
[cRIO] FPGA Software Version: 2011
[cRIO] FPGA Hardware Revision: 1.5.3
[cRIO] FPGA Software Revision: 1.5.3
[cRIO] * Loading StartupDlls: FRC_2CANPlugIn
[cRIO] FRC_2CANPlugIn was compiled from SVN revision 66
[cRIO] * Loading StartupDlls: FRC_JavaVM
[cRIO] C2CAN::receiveMessage waiting for 2CAN to be found...
[cRIO] 2CAN found at IP 192.168.0.17
[cRIO]
[cRIO]
[cRIO] [OTA Server] Version: 2011 FRC, Jan 6 2011, 09:47:42
[cRIO]
[cRIO]
[cRIO] Welcome to LabVIEW Real-Time 8.6.1f3
[cRIO]
[cRIO] [Squawk VM] Version: 2011 FRC, Feb 2 2011, 13:26:47
[cRIO] FPGA Hardware GUID: 0x2eaa5e59caf1a8a966853a011b61cc91
[cRIO] FPGA Software GUID: 0x2eaa5e59caf1a8a966853a011b61cc91
[cRIO] edu.wpi.first.wpilibj.can.CANTimeoutException
[cRIO] at edu.wpi.first.wpilibj.can.CANExceptionFactory.chec kStatus(CANExceptionFactory.java:38)
[cRIO] at edu.wpi.first.wpilibj.can.JaguarCANDriver.receiveM essage(JaguarCANDriver.java:67)
[cRIO] at edu.wpi.first.wpilibj.CANJaguar.receiveMessage(CAN Jaguar.java:579)
[cRIO] at edu.wpi.first.wpilibj.CANJaguar.receiveMessage(CAN Jaguar.java:584)
[cRIO] at edu.wpi.first.wpilibj.CANJaguar.getTransaction(CAN Jaguar.java:634)
[cRIO] at edu.wpi.first.wpilibj.CANJaguar.getFirmwareVersion (CANJaguar.java:1192)
[cRIO] at edu.wpi.first.wpilibj.CANJaguar.initCANJaguar(CANJ aguar.java:240)
[cRIO] at edu.wpi.first.wpilibj.CANJaguar.<init>(CANJaguar.j ava:267)
[cRIO] at edu.wpi.first.wpilibj.templates.IOClass.declareJag s(IOClass.java:73)
[cRIO] at edu.wpi.first.wpilibj.templates.RobotTemplate.robo tInit(RobotTemplate.java:26)
[cRIO] at edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:73)
[cRIO] at edu.wpi.first.wpilibj.RobotBase.startApp(RobotBase .java:154)
[cRIO] in virtual method #10 of javax.microedition.midlet.MIDlet(bci=17)
[cRIO] at javax.microedition.midlet.MIDletTunnelImpl.callSta rtApp(64)
[cRIO] at com.sun.squawk.imp.MIDletMainWrapper.main(110)
[cRIO] in virtual method #95 of com.sun.squawk.Klass(bci=25)
[cRIO] at com.sun.squawk.Isolate.run(1506)
[cRIO] at java.lang.Thread.run(231)
[cRIO] in virtual method #47 of com.sun.squawk.VMThread(bci=42)
[cRIO] in static method #3 of com.sun.squawk.VM(bci=6)
__________________
Never try to idiot-proof something, they will build a better idiot.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2011, 16:50
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: CANExceptionFactory error

A couple of possible causes.

- Jaguars do not have unique ID's (conflict)
- Jags do not have correct firmware.
- Sending to jag ID that is not present on the bus(although I thought this issue was fixed in the last update)
- Poor termination


Some things that you could provide to help diagnose the issue.

- 2CAN firmware version
- 2CAN led state (red, orange, green)
- 2CAN web dash status(main page)
- Jag firmware version
- 2CAN plugin for cRIO version.
__________________
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
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 03:58.

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