View Single Post
  #14   Spotlight this post!  
Unread 17-02-2010, 22:12
imcmahon01 imcmahon01 is offline
Registered User
FRC #1143
 
Join Date: Feb 2010
Location: Scranton, PA
Posts: 8
imcmahon01 has a spectacular aura aboutimcmahon01 has a spectacular aura aboutimcmahon01 has a spectacular aura about
Re: cRIO v20 Update Problems

Hi Derek, our team seems to be experiencing similar problems to those which have been posted in this thread. We updated the cRIO and Netbeans and experienced OTA errors, but believed power cycling had solved our issue until netbeans began to hang and not communicate with the cRIO at all. Listed are the steps we took to remedy this problem since the update:

1) Updated cRIO & netbeans to v20
2) Tried to deploy & run code from netbeans
3) Waiting to connect to OTA command server error
4) Power cycled the robot
5) Deployed and ran code twice to the cRIO without issue
6) Code would not deploy the third time - communications would hang
7) Re-imaged the cRIO & attempted to run the code - communications would hang
8) Left it over night
9) Attempted to program today, received "Waiting to connect to OTA command server" error
10) Power cycled the robot
11) The code deployed and ran twice without issue
12) The third time code was attempted, communications just hung, again. Here is the output from that attempt:

Code:
init:
init:
No to.jar.file specified.
Using "suite/FRC_2010_Team1143_1.0.0.jar"
Deleting directory /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/build
Deleting directory /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/suite
Deleting directory /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/j2meclasses
clean:
Created dir: /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/build
Compiling 1 source file to /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/build
compile:
Created dir: /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/j2meclasses
preverify:
Created dir: /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/suite
Building jar: /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/suite/FRC_2010_Team1143_1.0.0.jar
jar-app:
Using "suite/FRC_2010_Team1143_1.0.0.jar"
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
Romizer processed 136 classes and generated these files:
  /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/image.sym
  /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/image.suite
  /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/image.suite.metadata
  /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/image.suite.api
Expanding: /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/suite/FRC_2010_Team1143_1.0.0.jar into /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/suite
Moving 1 file to /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/suite
Moving 1 file to /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/suite
Moving 1 file to /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/suite
Deleting: /Users/imcmahon01/Documents/FIRST Robotics/Java Development/Java Programs/NetBeansProjects/FRC_2010_Team1143/image.suite.api
Connecting FTP @10.11.43.2
/Users/imcmahon01/sunspotfrcsdk/build.xml:95: The following error occurred while executing this line:
/Users/imcmahon01/sunspotfrcsdk/ant/upgrade.xml:39: 
java.net.ConnectException: Operation timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
        at java.net.Socket.connect(Socket.java:525)
        at java.net.Socket.connect(Socket.java:475)
        at java.net.Socket.<init>(Socket.java:372)
        at java.net.Socket.<init>(Socket.java:186)
        at org.apache.commons.net.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:53)
        at org.apache.commons.net.SocketClient.connect(SocketClient.java:162)
        at org.apache.commons.net.SocketClient.connect(SocketClient.java:250)
        at com.sun.spot.sdk.tool.ftp.JakartaFtpWrapper.connectAndLogin(JakartaFtpWrapper.java:37)
        at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(UpgradeTask.java:114)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:498)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
BUILD FAILED (total time: 1 minute 22 seconds)
Finally, I took your advice intended for 1168Programmer and rebooted the robot while using the ant echo command while in the robot project directory:

Code:
imcmahon01$ ant echo
Buildfile: build.xml

-pre-init:

-do-init:

-post-init:

-warn-jar-file:

init:

-prim-find-spots:

-checkhasremoteaddress:

-do-find-spots:

-local-echo:
  [frcecho] [cRIO] * Loading StartupDlls: niserial
  [frcecho] [cRIO] * Loading StartupDlls: FRC_FPGA
  [frcecho] [cRIO] * Loading StartupDlls: FRC_NetworkCommunication
  [frcecho] [cRIO] FRC_NetworkCommunication was compiled from SVN revision 2123
  [frcecho] [cRIO] FPGA Hardware GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
  [frcecho] [cRIO] FPGA Software GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
  [frcecho] [cRIO] FPGA Hardware Version: 2010
  [frcecho] [cRIO] FPGA Software Version: 2010
  [frcecho] [cRIO] FPGA Hardware Revision: 1.3.0
  [frcecho] [cRIO] FPGA Software Revision: 1.3.0
  [frcecho] [cRIO] * Loading StartupDlls: FRC_JavaVM
  [frcecho] [cRIO] ...FRC_JavaVM failed to load.
  [frcecho] [cRIO] 
  [frcecho] [cRIO] Welcome to LabVIEW Real-Time 8.6.1f2
  [frcecho] [cRIO] task 0x1308700 (t2) deleted: errno=0 (0) status=0 (0)
  [frcecho] [cRIO] 
  [frcecho] [cRIO] NI-VISA Server 4.5 started successfully.
  [frcecho] [cRIO] task 0xe62f30 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)
Do you have any advice for us moving forward? Thanks in advance!
Reply With Quote