|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
Quote:
You do have the correct subnet mask, it should be the default 225.0.0.0 Last edited by 1168Programmer : 07-02-2011 at 16:46. |
|
#17
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
By status light, do you mean the light that goes on the robot or the light on the cRIO, or a completely different light?
|
|
#18
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
The status light on the cRIO...
|
|
#19
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
One more thought: do the switches on the cRIO (other than 'Safe Mode') have to be turned on or off?
|
|
#20
|
|||||
|
|||||
|
Re: Help needed for loading codes into cRIO (Java)
Quote:
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. Last edited by Alan Anderson : 08-02-2011 at 10:03. Reason: fixed spelling |
|
#21
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
So basically everything should be off, and what if the error still shows? any other suggestions?
|
|
#22
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
Quote:
|
|
#23
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
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?
|
|
#24
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
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...
|
|
#25
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
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\FRC2 011Team640\build Compiling 1 source file to C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\build compile: Created dir: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\j2meclasses preverify: Created dir: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite Building jar: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\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\FRC2 011Team640\suite\FRC2011Team640_1.0.0.jar into C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite Deleting: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\image.suite.api Host OS: Windows 7 6.1, 6.1 Host JVM: Java HotSpot(TM) 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 |
|
#26
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
Does your robot run? From the output it appears that it should...
|
|
#27
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
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.
|
|
#28
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
Do you have any timers starting in teleopInit() besides the Watchdog? Because that would certainly cause a Watchdog unfed error.
Last edited by 1168Programmer : 09-02-2011 at 16:43. |
|
#29
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
We dont have any other timer starting in teleopInit
|
|
#30
|
|||
|
|||
|
Re: Help needed for loading codes into cRIO (Java)
Ok. Make sure you're feeding the Watchdog in both teleop and autonomous. There's another thread on Watchdog errors ... Watchdog errors
My best recommendation for now is to see if there's anything useful on there. Please post back if something develops. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|