![]() |
Java to Crio Downloading Issues
My team is using Java to program our robot, and we want to put a simple project we created onto the Crio. We have imaged our Crio and have set the laptop's IP address. When loading the code, Netbeans gives us this message:
Code:
Target IP: 10.35.6.2 |
The computer is unable to connect to the robot. There is likely an iphone address set incorrectly somewhere.
|
Re: Java to Crio Downloading Issues
Ok, we got it. It turns out I overlooked firewall. Stupid firewall. However, now we're running into a new issue. Netbeans is now giving us this message:
Code:
Waiting to connect to OTA command server of 10.35.6.2:8001 for past 43s |
You need to restart your crio and download once more. This happens once after imaging the crio.
|
Re: Java to Crio Downloading Issues
Cool! That works. Now we just need to get the actual code working :)
|
Glad to hear it works. You should try some of the examples.
|
Re: Java to Crio Downloading Issues
We are having a similiar problem when we try to deploy the code onto the CRio the program stops without a build error at
[cRIO] Default disabled() method running, consider providing your own [cRIO] task 0x25c7a58 (System Web Services Load Thread) deleted: errno=0 (0) status=0 (0) [cRIO] task 0x2869f70 (mDNS resolve) deleted: errno=0 (0) status=0 (0) [cRIO] task 0x2bff0d0 (mDNS resolve) deleted: errno=0 (0) status=0 (0) I have tried almost everything i can think of so any help would be strongly appreciated. Thanks, F.I.R.S.T. Team #4021 |
That is displayed whenever you finish deploying the code.
|
Re: Java to Crio Downloading Issues
Quote:
|
Re: Java to Crio Downloading Issues
Quote:
|
Re: Java to Crio Downloading Issues
Quote:
SOP for flashing/updating the crio: 1. Flash it 2. Upload code 3. Reboot the crio 4. Pretend nothing happened and upload code 5. Success. |
Quote:
|
Re: Apparent "hangs" in code deploy to cRIO...
The deploy process is not supposed to "finish". It stays connected to your robot in order to display any output that your robot or the cRIO prints out.
This message is printed by WPILibJ if you haven't overridden the disabled() method (which isn't a requirement by the way): Quote:
This message is printed by the cRIO for some reason. I think it is an ordinary status message though, not any real problem: Quote:
|
Re: Java to Crio Downloading Issues
Quote:
hello, we are having the same problem as you, we dont have any firewall running that we know of and have had 3 people check it. Can you tell us what you did so we can try to fix ours? we try to send code but get the same error that says connection has timed out and we can't figure out why.... heres what we get... Target IP: 10.0.0.2 Network interfaces on host: Intel(R) 82567LM Gigabit Network Connection: address: 10.17.43.5 netmask: 255.0.0.0 <--- on robot's subnet Intel(R) WiFi Link 5100 AGN: address: 10.10.12.154 netmask: 255.255.255.254 Connecting FTP @10.0.0. we are thinking we need to change the target ip address to the 10.17.43.5 but are unsure of how to do this and are trying to figure out if this is the real reason for our problem... |
Re: Java to Crio Downloading Issues
There is a netbeans configuration option to change, in the menu:
Tools -> Options -> Miscellaneous -> FRC Configuration Change your team number. This step is missing from [1]. Their section on Netbeans is a little sparse and references an older version (6.7). No one took credit as author on that document to suggest this change. [1] http://www.usfirst.org/sites/default...20System_2.pdf |
| All times are GMT -5. The time now is 12:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi