View Full Version : cRIO v20 Update Problems
PaulRevere
13-02-2010, 19:59
Today we had an interesting issue crop up with our cRIO. While attempting to get our camera working, I realized that out Driver Station and Development machines were out of date. So I updated our DS with the 1.1 update. Then I upgraded our development machine with the LabVIEW for FRC 2.1 Update. Once that was completed, I updated WPILibJ in NetBeans. (We are using Java for FRC.) Next, using our development machine, I formatted and imaged our cRIO with v20. (It was on v19). I then went into NetBeans and did a Clean and Compile of our robot’s code. It compiled, but when I tried to deploy it, Ant threw an exception stating that the file update.xml claimed there was a mismatch between our cRIO’s OS Version, and the one it wanted. I was unsure of the cause of this, but after looking at the file in question with Notepad, there indeed was a line that claimed v19 was needed. So I said “what the heck, let’s try changing it to v20 and see if it works.” So I changed v19 to v20, saved, and attempted a deploy in NetBeans. Sure enough, it worked fine, camera code included!
On a side note, during the 3+ hours of troubleshooting this issue, I downgraded our cRIO from v20 to v19 without editing the XML file. It would compile, and begin to deploy, but would get the stage just before the cRIO was to be rebooted. Just before it reached there, the cRIO’s FTP server crashed out for no apparent reason. I used a program called WireShark to capture the raw network packets going over our robot’s network, and everything appeared fine until that step, where the FTP server just stopped responding to my machine. (My machine was literally spamming the cRIO with FTP packets, and the cRIO just sat there, not even replying.) Oddly enough, I could still mount the FTP share MS-DOS (Even after it said the server had crashed. As soon as I pinged the cRIO, or did an FTP mount is DOS, the traffic in WireShark would resume, but NetBeans was still throwing, “Waiting for OTA Server…”)
If someone could let the WPILibJ team know of this issue, it’d be good. Hopefully if anyone else has this issue, this post will offer some insight. If anyone would find the packet capture dumps useful, I can post a ZIP Archive of them.
JasonStern
14-02-2010, 19:17
This information was very helpful. Thank you for sharing it!
PaulRevere
14-02-2010, 20:24
yea, no problem. I also noticed while going though the packet captures that a lot of the different components love to announce random UPnP events. I'd say roughly 25% of what I captured was not even robot traffic, but useless stuff like Windows SMB File sharing announcements from the DS and Dev. machine. There was also random DNS traffic that was either broadcast on the entire subnet (as in sent to 10.31.83.255)or was directed at some random machine that had an Internet IP address (I don't remember the address, and the machine is back at our shop.)
Daniel Jones
15-02-2010, 17:48
There is a new java update available which should fix this issue. Make sure that the update site in NetBeans is set to http://first.wpi.edu/FRC/java/netbeans/update/updates.xml
This update also includes support for the KOP I2C Accelerometer.
Note that this will not work with previous images, so you must image the CRio with the v20 image to use this update.
Twisted eric
16-02-2010, 14:37
I am having that problem i have read what you guys have posted but I can't figure out what to do pleas put into simple terms because we did not have this problem last year.
BradAMiller
16-02-2010, 15:50
I am having that problem i have read what you guys have posted but I can't figure out what to do pleas put into simple terms because we did not have this problem last year.
You can keep your copy of NetBeans current in one of two ways:
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.
Twisted eric
16-02-2010, 17:17
Thanks it helped a lot.
good luck everybody :D
1168Programmer
16-02-2010, 18:28
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?
1168Programmer
16-02-2010, 18:32
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
1168Programmer
16-02-2010, 20:36
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.
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.
I had this exact same problem today after I reformatted and programmed the crio with v20. The only thing I did was reboot the crio to "fix" the problem. I have not seen that problem again since.
1168Programmer
16-02-2010, 21:47
I had this exact same problem today after I reformatted and programmed the crio with v20. The only thing I did was reboot the crio to "fix" the problem. I have not seen that problem again since.
Thanks for the response.
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.
Thanks for the response.
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.
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?
1168Programmer
16-02-2010, 21:56
Try reformatting the crio and programming it with v20. Are you using 802.11 to program the crio? Or are you using an either cable?
We are using an ethernet crossover cable for programming. We have already reimaged the cRIO twice with v20, but I suppose it can't hurt to try again. I don't have access to the robot until tomorrow though.
Thanks again.
EDIT: Any other ideas on what could be causing this or how to fix it?
We are using an ethernet crossover cable for programming. We have already reimaged the cRIO twice with v20, but I suppose it can't hurt to try again. I don't have access to the robot until tomorrow though.
Thanks again.
EDIT: Any other ideas on what could be causing this or how to fix it?
Did you also reformat the crio when you reimaged it? I'm also assuming that you ran the latest updates for the DS and LabView? I can't think of anything else at the moment. Try reformatting/reimaging of the crio and tell us what happens.
derekwhite
16-02-2010, 23:48
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.
1168Programmer
17-02-2010, 10:30
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.
We will do so tonight. Thank you for your input.
1168Programmer
17-02-2010, 18:37
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.
imcmahon01
17-02-2010, 22:12
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:
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(PlainSoc ketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava: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.create Socket(DefaultSocketFactory.java:53)
at org.apache.commons.net.SocketClient.connect(Socket Client.java:162)
at org.apache.commons.net.SocketClient.connect(Socket Client.java:250)
at com.sun.spot.sdk.tool.ftp.JakartaFtpWrapper.connec tAndLogin(JakartaFtpWrapper.java:37)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Upgr adeTask.java:114)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:288)
at sun.reflect.GeneratedMethodAccessor76.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:35 7)
at org.apache.tools.ant.Target.performTasks(Target.ja va:385)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1337)
at org.apache.tools.ant.helper.SingleCheckExecutor.ex ecuteTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1189)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java :416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(C allTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:288)
at sun.reflect.GeneratedMethodAccessor76.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:35 7)
at org.apache.tools.ant.Target.performTasks(Target.ja va: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.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.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(Run ClassThread.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:
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!
1168Programmer
17-02-2010, 22:19
Hi all,
I reformatted and reimaged the cRIO with v20. I then attempted to download code onto the cRIO and encountered the OTA server error. After that I power cycled the cRIO and the code downloads and runs normally now. I don't know what we did differently than yesterday (maybe we were not reformatting yesterday?) but it seems to work now.
Thanks for all the help.
EDIT: imcmahon01, I will post again if we encounter the problem that you described. Unfortunately I can't offer you any advice right now.
derekwhite
18-02-2010, 15:10
imcmahon01,
The 2nd error may be due to FRC_JavaVM somehow being deleted from the cRIO. You can ftp to the cRIO, and see if there's a file named /ni-rt/system/FRC_JavaVM.out.
I'm still trying to figure out why it works for a while then falls apart. But a work-around may be to use an ftp tool to delete FRC_JavaVM.out, squawk.out, squawk.suite, and robot.suite. Then reboot the cRio and try to deploy your code from netBeans normally.
imcmahon01
18-02-2010, 16:16
Thanks for your input, Derek. We ftp:// 'ed into the cRIO only to find that the ni-rt/system/ folder did not contain FRC_JavaVM.out, squawk.out, squawk.suite, or robot.suite. So these files are somehow deleting upon programming?
derekwhite
18-02-2010, 16:32
I don't know why those files are being deleted. But doing a (successful) "Run Project" will copying them all back to the cRIO.
FYI. Here is the contents of my cRIO. If you notice other files missing then there's a bigger problem.
150 Opening data connection for listing of /ni-rt/system/
-rw-r--r-- 1 owner group 0 Feb 17 00:13 02030143322010
-rw-r--r-- 1 owner group 0 Feb 17 00:13 07151721542009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11031747302009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11031747322009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11031747342009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11031747362009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11031747382009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11031747402009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11031747422009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11031747442009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11031747462009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 11061526482009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 12111415542009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 12121537562009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 12142126022009
-rw-r--r-- 1 owner group 0 Feb 17 00:13 12142130182009
-rw-r--r-- 1 owner group 19176 Feb 17 00:13 config.cdf
-rw-r--r-- 1 owner group 0 Feb 17 00:13 config.old
-rw-r--r-- 1 owner group 366436 Feb 17 00:13 criosd.out
-rw-r--r-- 1 owner group 2632 Feb 17 00:13 debug.o
-rw-r--r-- 1 owner group 185302 Feb 17 00:13 FRC_FPGA.out
-rw-r--r-- 1 owner group 959207 Feb 17 00:13 FRC_FPGA_invariant.bit
-rw-r--r-- 1 owner group 959207 Feb 17 00:13 FRC_FPGA_runtime.bit
-rw-r--r-- 1 owner group 112401 Feb 17 00:13 FRC_NetworkCommunication.out
-rw-r--r-- 1 owner group 51902 Feb 17 00:13 ftpserve.out
-rw-r--r-- 1 owner group 73645 Feb 17 00:13 libexpat.out
-rw-r--r-- 1 owner group 53928 Feb 17 00:13 libiconv.out
-rw-r--r-- 1 owner group 112274 Feb 17 00:13 lvalarms.out
-rw-r--r-- 1 owner group 866415 Feb 17 00:13 lvanlys.out
-rw-r--r-- 1 owner group 77751 Feb 17 00:13 lvblas.out
-rw-r--r-- 1 owner group 3915564 Feb 17 00:13 lvrt.out
-rw-r--r-- 1 owner group 1696 Feb 17 00:13 lvuste.out
-rw-r--r-- 1 owner group 44760 Feb 17 00:13 nbfifo.out
-rw-r--r-- 1 owner group 10760 Feb 17 00:13 NetConsole.out
-rw-r--r-- 1 owner group 45396 Feb 17 00:13 ni_emb.out
-rw-r--r-- 1 owner group 110068 Feb 17 00:13 NiFpga.out
-rw-r--r-- 1 owner group 640 Feb 17 00:13 niorba.ocm
-rw-r--r-- 1 owner group 118751 Feb 17 00:13 niorbs.out
-rw-r--r-- 1 owner group 389577 Feb 17 00:13 nipals.out
-rw-r--r-- 1 owner group 68644 Feb 17 00:13 niriorpc.out
-rw-r--r-- 1 owner group 427260 Feb 17 00:13 niriosrv.out
-rw-r--r-- 1 owner group 101600 Feb 17 00:13 nirpcs.out
-rw-r--r-- 1 owner group 177 Feb 18 20:54 niserial.dbs
-rw-r--r-- 1 owner group 900 Feb 17 00:13 niserial.ini
-rw-r--r-- 1 owner group 207317 Feb 17 00:13 niserial.out
-rw-r--r-- 1 owner group 36484 Feb 17 00:13 nisvcloc.out
-rw-r--r-- 1 owner group 3813943 Feb 17 00:13 nivision.out
-rw-r--r-- 1 owner group 61279 Feb 17 00:13 NiViSrvr.out
-rw-r--r-- 1 owner group 1246518 Feb 17 00:13 nivissvc.out
-rw-r--r-- 1 owner group 92088 Feb 17 00:13 NiViSv32.out
-rw-r--r-- 1 owner group 48 Feb 18 20:54 nvdata.bin
-rw-r--r-- 1 owner group 47512 Feb 17 00:13 registry.out
-rw-r--r-- 1 owner group 197190 Feb 17 00:13 rtapp.rsc
-rw-r--r-- 1 owner group 99856 Feb 17 00:13 rtvarsup.out
-rw-r--r-- 1 owner group 2368 Feb 17 00:13 settime.out
-rw-r--r-- 1 owner group 47781 Feb 17 00:13 startuppatch.out
-rw-r--r-- 1 owner group 101592 Feb 17 00:13 target.out
-rw-r--r-- 1 owner group 155960 Feb 17 00:13 tdms.out
-rw-r--r-- 1 owner group 43110 Feb 17 00:14 ts_dio.out
-rw-r--r-- 1 owner group 36480 Feb 17 00:14 ts_rtc.out
-rw-r--r-- 1 owner group 61394 Feb 17 00:14 ts_sntp.out
-rw-r--r-- 1 owner group 85575 Feb 17 00:14 tsengine.out
-rw-r--r-- 1 owner group 59557 Feb 17 00:14 visa32.out
-rw-r--r-- 1 owner group 285 Feb 17 00:14 VisaCtrl.ocm
-rw-r--r-- 1 owner group 16252 Feb 17 00:14 VisaCtrl.out
-rw-r--r-- 1 owner group 424825 Feb 17 00:14 vx_exec.out
-rw-r--r-- 1 owner group 2256 Feb 17 00:14 vxfpsup.out
-rw-r--r-- 1 owner group 4161889 Feb 17 00:14 vxWorks
drwxr-xr-x 1 owner group 8192 Feb 17 00:14 errors
drwxr-xr-x 1 owner group 8192 Feb 17 00:14 ethernet
drwxr-xr-x 1 owner group 8192 Feb 17 00:14 vxipnp
drwxr-xr-x 1 owner group 8192 Feb 17 00:14 www
-rw-r--r-- 1 owner group 1020 Feb 17 00:15 errlog.txt
-rw-r--r-- 1 owner group 3564728 Feb 17 00:23 FRC_JavaVM.out
-rw-r--r-- 1 owner group 209938 Feb 17 00:23 squawk.out
-rw-r--r-- 1 owner group 922788 Feb 17 00:23 squawk.suite
-rw-r--r-- 1 owner group 84668 Feb 18 20:53 robot.suite
imcmahon01
18-02-2010, 17:33
We looked through the contents of the /ni-rt/system/ folder, and all of the files are present except those previously mentioned that deal with java. We went through comparing the lists side by side. For the next step, we are updating some other computers with the v20 netbeans update and going to attempt to reprogram the robot using one of those new computers (the idea being that our programming computer somehow corrupted/deleted the files on the cRIO). We will let you know the results.
imcmahon01
18-02-2010, 22:08
So we tried uploading code using two other computers, and so far so good. First, we reimaged the cRIO to Java for good measure. Then we programmed with other computers receiving OTA error like before, but after a quick reset the cRIO programmed successfully. However, we have only had a chance to program it twice before the hardware guys needed to mount everything on the robot. I am cautiously optimistic that the switch of computers solved our problem. Hopefully I can figure out what was wrong with our first computer, but until then we will be using one of our backups.
PaulRevere
20-02-2010, 17:21
As far as I know, doing any updates to the cRIO over 802.11 or 802.3 (Ethernet) won't matter, as the machine that is sending the update is simply sending the data as UDP packets to the cRIO. I've upgraded ours over wifi, over a LAN, and directly connected to our development machine. (On a side note, if you are using a separate developer's machines [NOT the Classmate], that has a Gigabit Ethernet port, then using a standard CAT-5 cable vs. a crossover would make no difference as Gigabit standards require that the Ethernet port itself can make any cable into whatever kind needed. [i.e. a crossover can be used where a standard cable should normally go, and vice versa.])
phencer42
20-02-2010, 18:07
When we updated the cRIO and got the Netbeans update everything just stopped working. We got the OTA error that people above got but we also started to get an "uncaught exception" error that was mentioned in another thread but the fix the other thread suggested, to change "\resources\META-INF\MANIFEST.MF" to fit the new package and worked then, isn't even applicable in this situation and thus isn't working. I see a lot of problems but few fixes here. Does anyone have any fixes we could use? Please?
phencer42
20-02-2010, 21:11
Okay, we started from scratch and added pieces back one-by-one to our program. Apparently our limit switch was the problem. So yeah... our problem is fixed.
BBHSrobotics
20-02-2010, 21:13
We finally found a solution to our problem as well. The perpetrator was the Digital Input the entire time. For whatever reason simply declaring a Digital Input was stopping our code from downloading to our robot correctly. :ahh:
derekwhite
22-02-2010, 11:48
Hi BBHSrobotics,
I'm not sure if the Digital Input thing was coincidental or not. Can you tell me what sort of code you were using (or send me the code?) Thanks!
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.