|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: cRIO v20 Update Problems
Quote:
1. The easiest and best works if your development system is connected to the Internet. You should follow the directions in the "Getting Started with Java" document. But basically, start NetBeans, select Tools -> Plugins. In the "Settings" tab be sure that there is an Update Center listed (left pane) that has a URL of "http://first.wpi.edu/FRC/java/netbeans/update/updates.xml". In my case, it's called "FRC Tools" in the left window - you can call it anything you'd like. If you just added the WPILib update center for the first time, look at the "Available Plugins" tab and check everything starting with FRC (there will be 5 plugins). Then click install. If you are just updating, look in the "Updates" tab, check, and install all the FRC plugins that are listed. 2. If you are not connected to the Internet, you must go to a machine that is on the Internet and go to the URL: http://first.wpi.edu/FRC/java/netbeans/update and copy all the .NBM files onto some removable storage, like a USB flash drive. Plug the flash drive into your development computer. In NetBeans, go to the "Tools->Plugins" window and select the "Downloaded" tab. Click "Add Plugins..." and select the location where the .NBM files are located. Select all the files and click "Install". Either of these techniques will update your system to the current version of the NetBeans plugins. The current version requires the V20 image file that installs with the most recent NI LabVIEW update. |
|
#2
|
||||
|
||||
|
Re: cRIO v20 Update Problems
Thanks it helped a lot.
good luck everybody ![]() |
|
#3
|
|||
|
|||
|
Re: cRIO v20 Update Problems
We are having the exact same problem. We are updating from the correct address and have done everything previously posted and still nothing works. Has anyone gotten the cRIO to work? Does anyone have any other suggestions?
|
|
#4
|
|||
|
|||
|
Re: cRIO v20 Update Problems
We have the same exact problem. We are updating from the correct address and have done all the steps posted above and our cRIO still doesn't work. Has anyone gotten their cRIO to work? If so, how? Is there anything that can be done that hasn't already been posted?
Thanks in advance |
|
#5
|
|||
|
|||
|
Re: cRIO v20 Update Problems
As an addition, the output that we are seeing when we try to upload the code to the cRIO is as follows:
... Connecting FTP @10.11.68.2 upgrade: Sending local file image.suite flashapp: deploy: init: Waiting to connect to OTA command server of 10.11.68.2:8001 for past 11s Waiting to connect to OTA command server of 10.11.68.2:8001 for past 12s Waiting to connect to OTA command server of 10.11.68.2:8001 for past 13s Waiting to connect to OTA command server of 10.11.68.2:8001 for past 14s Waiting to connect to OTA command server of 10.11.68.2:8001 for past 15s Waiting to connect to OTA command server of 10.11.68.2:8001 for past 16s Waiting to connect to OTA command server of 10.11.68.2:8001 for past 17s Waiting to connect to OTA command server of 10.11.68.2:8001 for past 18s Waiting to connect to OTA command server of 10.11.68.2:8001 for past 19s Waiting to connect to OTA command server of 10.11.68.2:8001 for past 20s ... and it will continue to print the "waiting to connect to OTA command server" line until we halt it. Any help is appreciated. |
|
#6
|
|||
|
|||
|
Re: cRIO v20 Update Problems
Quote:
|
|
#7
|
|||
|
|||
|
Re: cRIO v20 Update Problems
Quote:
I have tried power cycling the cRIO and using the reset button - neither of those actions solved the problem. Is there anything else that we can try? Thank you. |
|
#8
|
|||
|
|||
|
Re: cRIO v20 Update Problems
Try reformatting the crio and programming it with v20. Are you using 802.11 to program the crio? Or are you using an ethernet cable?
Last edited by urg8rb8 : 16-02-2010 at 21:54. |
|
#9
|
|||
|
|||
|
Re: cRIO v20 Update Problems
Quote:
Thanks again. EDIT: Any other ideas on what could be causing this or how to fix it? |
|
#10
|
|||
|
|||
|
Re: cRIO v20 Update Problems
Quote:
|
|
#11
|
||||
|
||||
|
Re: cRIO v20 Update Problems
1168Programmer,
The run command is failing after deploying the app but either before rebooting the crio or before connecting to the netconsole output. So in theory your program is on the cRIO and will run on the next reboot. To find out what is going on, go to a command line: - change the directory to the directory of your robot project - reboot the cRIO - enter the command "ant echo" You should then see a stream of text as the cRIO boots up, starts Java, and runs your robot code. Please post what you find. |
|
#12
|
|||
|
|||
|
Re: cRIO v20 Update Problems
Quote:
|
|
#13
|
|||
|
|||
|
Re: cRIO v20 Update Problems
Ok, I just reformatted and reimaged the cRIO with v20. The first attempt to load code onto it resulted in the OTA command server error. I then rebooted the cRIO and attempted to load the code again - it now works. I don't know what I did differently than we were doing yesterday - maybe we were not reformatting when we reimaged the cRIO.
Thanks everyone for your help. |
|
#14
|
|||
|
|||
|
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)
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) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cRio problems | blazingshadow | Programming | 2 | 31-01-2010 17:18 |
| cRio problems | tanguma26 | Programming | 4 | 21-01-2010 21:09 |
| cRIO Firmware Update? | Sauce | Programming | 10 | 19-01-2010 23:05 |
| cRIO update 3.0 problems | Two-Face | Programming | 3 | 14-02-2009 10:06 |
| crio update file | nickmagus | Programming | 1 | 28-11-2008 19:20 |