We do have the most recent plugins for java. I dont think theres anything that would cause the connection to be timed out because i tried using simple codes and it still said connection timed out. I’ll try wireless tomorrow but if the connection is interrupted then wont the cRIO be corrupted or is that only when you reimage it?
Did you reimage it to the right programming language?
Definitely try pinging it and let us know what happens.
I tried pinging it and i got 4 packages sent and 4 packages received. I also tried using a crossover cable and still got the same error. I have the cRIO IP address at 10.6.40.2, but what exactly should the subnet be at 255.0.0.0?
make sure you disconnect from the radio on your robot before you attempt to download or else you will receive that error
We have the Dlink router disconnected the entire time.
we also have it saying waiting to connect to OTA command server of 10.6.40.2:8001
I was also wondering if the status light is supposed to be blinking yellow.
You can connect through the newest radio from the KOP this year. That’s why it has so many Ethernet ports.
You do have the correct subnet mask, it should be the default 225.0.0.0
By status light, do you mean the light that goes on the robot or the light on the cRIO, or a completely different light?
The status light on the cRIO…
One more thought: do the switches on the cRIO (other than ‘Safe Mode’) have to be turned on or off?
All of them, SAFE MODE included, should be off to start with.
The CONSOLE OUT switch can be turned on if you want to attach a terminal to the cRIO’s serial port (but don’t do that if you’re using a serial-to-CAN converter such as a Black Jaguar). The NO APP switch has no effect on anything other than LabVIEW programs. The USER1 switch can be read by software and can be set to whatever you want it to be.
So basically everything should be off, and what if the error still shows? any other suggestions?
I had everything turned off including SAFE MODE. Tried downloading the code into the cRIO and still got the same error.
The ‘Power’ light is on green, but the ‘Status’ light on the cRIO is blinking yellow. Shouldn’t it be green and not blinking? What does this mean?
Do you have your team number set in NetBeans? I know it sounds stupid, but we forgot to set it when we installed NetBeans on an auxiliary laptop and then when we tried to download code we got a long error, possibly the one in your original post…
Yes we have the team number set there. so we reinstalled everything and when we try to run the code, we get stuck here.
init:
init:
clean:
Created dir: C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\build
Compiling 1 source file to C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\build
compile:
Created dir: C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\j2meclasses
preverify:
Created dir: C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\suite
Building jar: C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\suite\FRC2011Team640_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 137 classes and generated 4 files.
Expanding: C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\suite\FRC2011Team640_1.0.0.jar into C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\suite
Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\suite
Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\suite
Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\suite
Deleting: C:\Users\Developer\Documents\NetBeansProjects\FRC2011Team640\image.suite.api
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot™ Client VM 19.0-b09
Target IP: 10.6.40.2
Network interfaces on host:
Realtek RTL8102E/RTL8103E Family PCI-E Fast Ethernet NIC (NDIS 6.20): address: 10.6.40.6 netmask: 255.255.255.255 or hidden by IPv6 address (due to Java on Windows Bug:6707289)
Connecting FTP @10.6.40.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)
[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 0xee4b28 (PAL00fb5ec8) deleted: errno=0 (0) status=0 (0)
[cRIO] NI-RIO Server 3.2 started successfully.
[cRIO] task 0xc5ffb8 (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 0x1b0d7e8 (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 0xe63238 (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_JavaVM
[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] Default robotInit() method running, consider providing your own
[cRIO] Default disabled() method running, consider providing your own
BUILD STOPPED (total time: 2 minutes 35 seconds
Does your robot run? From the output it appears that it should…
When we went to the driver station, there is Robot Communication and the ‘Robot Code’ light is green. However, nothing runs and it says that the ‘Watchdog’ is unfed.
Do you have any timers starting in teleopInit() besides the Watchdog? Because that would certainly cause a Watchdog unfed error.