Go to Post and as you can see, all rumor threads lead to silly, loads of silly - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-01-2012, 16:48
pureFloat pureFloat is offline
Registered User
AKA: Moby
FRC #3506 (Yeti)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Charlotte, NC
Posts: 13
pureFloat is an unknown quantity at this point
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
Network interfaces on host:
    Realtek PCI FE Family Controller: address: 10.35.6.7 netmask: 255.255.255.0 <--- on robot's subnet
Connection FTP @10.35.6.2
And then it stops. It doesn't give an error or anything. Does anyone have any idea what's going on?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2012, 17:02
bdbayes bdbayes is offline
Captain
FRC #2927 (Pi Rho Techs)
Team Role: Leadership
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Tacoma, WA
Posts: 75
bdbayes is a jewel in the roughbdbayes is a jewel in the roughbdbayes is a jewel in the rough
The computer is unable to connect to the robot. There is likely an iphone address set incorrectly somewhere.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2012, 17:27
pureFloat pureFloat is offline
Registered User
AKA: Moby
FRC #3506 (Yeti)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Charlotte, NC
Posts: 13
pureFloat is an unknown quantity at this point
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
Waiting to connect to OTA command server of 10.35.6.2:8001 for past 44s
Waiting to connect to OTA command server of 10.35.6.2:8001 for past 45s
It keeps going on. My friend says it should work in 7 seconds, but now it's at around 700. Does anyone know what this means and how we can fix it? Thanks to anyone who helps.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2012, 19:57
austin1743 austin1743 is offline
Head Programmer - Java
FRC #1743
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Pennsylvania
Posts: 56
austin1743 is an unknown quantity at this point
Re: Java to Crio Downloading Issues

Quote:
Originally Posted by pureFloat View Post
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
Waiting to connect to OTA command server of 10.35.6.2:8001 for past 44s
Waiting to connect to OTA command server of 10.35.6.2:8001 for past 45s
It keeps going on. My friend says it should work in 7 seconds, but now it's at around 700. Does anyone know what this means and how we can fix it? Thanks to anyone who helps.

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...
__________________
Team 1743
Head Programmer

Last edited by austin1743 : 09-02-2012 at 20:10. Reason: added error
Reply With Quote
  #5   Spotlight this post!  
Unread 10-02-2012, 00:49
TravSatEE's Avatar
TravSatEE TravSatEE is offline
Spacecraft Engineer and more
FRC #2035 (Robo Rockin' Bots)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Monterey, CA
Posts: 26
TravSatEE is infamous around these partsTravSatEE is infamous around these parts
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
Reply With Quote
  #6   Spotlight this post!  
Unread 10-02-2012, 01:34
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Java to Crio Downloading Issues

Open up your netbeans settings, click the miscellaneous tab, click the FRC Java tab, and set your team number in there.
Reply With Quote
  #7   Spotlight this post!  
Unread 10-02-2012, 11:20
austin1743 austin1743 is offline
Head Programmer - Java
FRC #1743
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Pennsylvania
Posts: 56
austin1743 is an unknown quantity at this point
Re: Java to Crio Downloading Issues

thanks, we have done that and will test it in a few hours. I will respond back if it works.
when we set it in netbeans we got set remote address to (10.17.43.2) which i am going to assume is correct?

also...
using command prompt and the ipconfig command,

we have the:
IPv4 - 10.10.12.154
subnet - 255.255.0.0
default gateway 10.10.0.1

we are team 1743 so i know it should read (10.17.43.6) there...

but i am unaware of what it should correctly read.... Can someone post up an accurate example of exactly how it should be?
__________________
Team 1743
Head Programmer
Reply With Quote
  #8   Spotlight this post!  
Unread 10-02-2012, 15:35
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: Java to Crio Downloading Issues

Quote:
Originally Posted by austin1743 View Post
thanks, we have done that and will test it in a few hours. I will respond back if it works.
when we set it in netbeans we got set remote address to (10.17.43.2) which i am going to assume is correct?

also...
using command prompt and the ipconfig command,

we have the:
IPv4 - 10.10.12.154
subnet - 255.255.0.0
default gateway 10.10.0.1

we are team 1743 so i know it should read (10.17.43.6) there...

but i am unaware of what it should correctly read.... Can someone post up an accurate example of exactly how it should be?
What is your exact setup? If you use the wireless router on the robot as an access point, you don't need to configure the default gateway on your computer. Disable DHCP on the router and manually change your address to 10.17.43.x, where x is an integer 0~255 and not 1, 2, 4 or 6, or 11 (to be safe).
Reply With Quote
  #9   Spotlight this post!  
Unread 10-02-2012, 15:37
austin1743 austin1743 is offline
Head Programmer - Java
FRC #1743
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Pennsylvania
Posts: 56
austin1743 is an unknown quantity at this point
Re: Java to Crio Downloading Issues

so we fixed the ip address issue (thanks for the help)

now we got another issue (lol)

we are getting an error where it says looking for frc_2012_v43.zip but got frc_2011_v28.zip

we tried looking for where it is calling for this file path but we couldn't find it... our netbeans is updated to the fullest and has all of the plug-ins installed...
__________________
Team 1743
Head Programmer

Last edited by austin1743 : 10-02-2012 at 15:39.
Reply With Quote
  #10   Spotlight this post!  
Unread 10-02-2012, 15:48
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: Java to Crio Downloading Issues

Quote:
Originally Posted by austin1743 View Post
so we fixed the ip address issue (thanks for the help)

now we got another issue (lol)

we are getting an error where it says looking for frc_2012_v43.zip but got frc_2011_v28.zip

we tried looking for where it is calling for this file path but we couldn't find it... our netbeans is updated to the fullest and has all of the plug-ins installed...
Two things you should try:
1. Update your cRio flashing utility. The 2012 version has some major changes done to it.
2. Uninstall, reinstall the plugins in netbeans. Those plugins *should* contain the cRio image files.
Reply With Quote
  #11   Spotlight this post!  
Unread 10-02-2012, 19:40
austin1743 austin1743 is offline
Head Programmer - Java
FRC #1743
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Pennsylvania
Posts: 56
austin1743 is an unknown quantity at this point
Re: Java to Crio Downloading Issues

ok the flash utility is just the cRio imager correct?

our netbeans is currently up to date with all of 2012's updates for frc.

will keep you guys informed..


we are using wired connection right now and trying to get that set-up before wireless...
__________________
Team 1743
Head Programmer

Last edited by austin1743 : 10-02-2012 at 19:44.
Reply With Quote
  #12   Spotlight this post!  
Unread 14-01-2012, 17:29
bdbayes bdbayes is offline
Captain
FRC #2927 (Pi Rho Techs)
Team Role: Leadership
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Tacoma, WA
Posts: 75
bdbayes is a jewel in the roughbdbayes is a jewel in the roughbdbayes is a jewel in the rough
You need to restart your crio and download once more. This happens once after imaging the crio.
Reply With Quote
  #13   Spotlight this post!  
Unread 14-01-2012, 17:48
pureFloat pureFloat is offline
Registered User
AKA: Moby
FRC #3506 (Yeti)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Charlotte, NC
Posts: 13
pureFloat is an unknown quantity at this point
Re: Java to Crio Downloading Issues

Cool! That works. Now we just need to get the actual code working
Reply With Quote
  #14   Spotlight this post!  
Unread 08-02-2012, 22:41
matthysen2 matthysen2 is offline
Registered User
FRC #3735
 
Join Date: Feb 2012
Location: Houston, Texas
Posts: 1
matthysen2 will become famous soon enoughmatthysen2 will become famous soon enough
Re: Java to Crio Downloading Issues

Quote:
Originally Posted by bdbayes View Post
You need to restart your crio and download once more. This happens once after imaging the crio.
I have had this same problem aswell. When you say restart do you mean pressing the button on the or cutting the power off and then turning it back on? And should this be done while the code is trying to run?
Reply With Quote
  #15   Spotlight this post!  
Unread 08-02-2012, 23:16
bdbayes bdbayes is offline
Captain
FRC #2927 (Pi Rho Techs)
Team Role: Leadership
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Tacoma, WA
Posts: 75
bdbayes is a jewel in the roughbdbayes is a jewel in the roughbdbayes is a jewel in the rough
Re: Java to Crio Downloading Issues

Quote:
Originally Posted by matthysen2 View Post
I have had this same problem aswell. When you say restart do you mean pressing the button on the or cutting the power off and then turning it back on? And should this be done while the code is trying to run?
You will need to power cycle the entire robot. You do not want to power cycle the robot while it is running the code.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:11.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi