It is at the one week mark, and we are having some serious issues.
This morning we stiched together some code and a bot and we were expecting to be off and going.
Whilst compiling and deploying, we are having some continueing failure. The code will compile, but when downloading, it appears to be unable to comunicate.
We have confirmed that all the addressing is correct, all of our programs are up to date, and we are able to communicate with our bot via the driver station; the only problem seems to be in NetBeans.
In the proccess of doing diagnostics, we have accumulated some error messages. Here are some of the ones we have:
NETBEANS:
“Realtek PCIe FE Family Controller: address: 10.41.89.5 netmask: 255.0.0.0 <— on robot’s subnet
Realtek RTL8191SE Wireless LAN 802.11n PCI-E NIC: address: 10.41.89.9 netmask: 255.255.255.254
Connecting FTP @10.41.89.2
C:\Users\Developer\sunspotfrcsdk\build.xml:78: The following error occurred while executing this line:
C:\Users\Developer\sunspotfrcsdk\ant\configure.xml:41:
java.net.SocketException: Software caused connection abort: socket write error
[A bunch of irrelevent text later]
BUILD FAILED (total time: 46 seconds)”
DIAGNOSTICS Tab in DS:“Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad Driver Station”
NetConsole for cRIO:
“* Loading FRC_JavaVM
…FRC_JavaVM failed to load.”
We will continue to experiment, but does anyone have any ideas as to what is happening?
Hi - It may have nothing to do with it, but if you are using Windows for your development platform, make sure you disable the Microsoft firewall. We had similar problems with one of our students laptops this afternoon, and finally figured out that was the problem - you could ping the robot, but it would fail right at the connecting via FTP line.
Today we went and took a serious look at the windows firewall, and made certain that it was off and that the ftp port was good and open, as well as carefully setting up and monitoring the ethernet and WiFi configurations; we were able to proceed without a hitch. Thanks much.
Are you using a new laptop or a new version of netbeans that you haven’t previously used to upload code.
If so you may need to set your team number in the preferences.
You should also make sure that the IP you’ve set for the adapter is 10.x.y.(Make this something between 5 and 9 or so). You may have to adjust the last number.
Your default gateway should be 10.x.y.2 or whatever IP the cRIO is on.
I agree that you should never have both the wireless and local connection enabled at the same time. Although it has worked for me in the past.
If all else fails always reboot the cRIO and your computer.
The problem looks like it could be with NetBeans too. In which case things can only get more painful.
Good Luck, this probably won’t help much but I hope it all works out in the end.
We concluded that we would just force our outbound ftp to be open. Here is our solution:
Control Panel/System and Security/Administrative Tools/Window Firewall with advaced security
2)Left Side - Outbound Rules
3)Right Side - Add New
4)Rule type - “port”
5)Protocol and ports - TCP & Specific Remote ports 20,21
6)Action - “Allow the connection”
7)Profile - Check all
8)Name - “FRC FTP Force open” or something obvious of the like
9)Finish
This will force FTP out to be open. Thanks to ‘java4first’ for the suggestion.