Go to Post And trust me, the very last thing you want to see is me with time on my hands and access to power tools. - dlavery [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 01-20-2010, 08:41 AM
mark.amber mark.amber is offline
Registered User
FRC #2039
 
Join Date: Jan 2010
Location: Rockford IL
Posts: 12
mark.amber is an unknown quantity at this point
Netbeans 6.8 Ftp to cRIO communication issue

First let me start of saying this, there are two things that will not communicate to the cRIO, the first, all laptops on the network, set up with netbeans 6.8, and the classmate with netbeans 6.7.1

I should also say that on monday, the exact same setup was working, and I was able to download code for some basic joystick controll through netbeans 6.7.1 on the classmate, but not on my ubuntu 9.10 laptop running netbeans 6.8, with frc plugins, or a windows laptop with 6.8 running frc plugins (yes we did set the team number)

We have flashed the robot twice with the v19 image, from the classmate, and bear in mind that it was working perfectly one day before.

also we can login to the robot with ftp (ftp://10.20.39.2) sucessfully

now what is wrong:
on the classmate, where the code was sucessfully downloading the day before using the same (while I do know it is NOT the same, because somthing is obviously different) it will compile the code, then start downloading it to the cRIO, and it will do this (not word for word)

connnecting ftp 10.20.39.2
init
ready to RUN
crio-->
some stuff
rebooting crio 1
2
3
4
5
6
7
8
crio-->nisomthin
lots of stuff on ftp
crio-->somthing about no user supplyed robotMain()
then it dose somthing like this...
cRIO-->
cRIO-->
cRIO-->
cRIO-->
cRIO-->
cRIO-->
cRIO-->
for 5 min
then it dose somthing like this
ftp_LT_Rtimeout
then (supprisingly)
BUILD SUCESSFULL 10 min
(it is not sucessfull, because the driver station shows no code, and the program will not run, that was running the day before)

I would like to also download code from other laptops, but they all stop at
READY TO RUN after the ftp init
I can get the full output of the error on thursday, I have to go to school, and will not be able to respond till tonight

Mark
Reply With Quote
  #2   Spotlight this post!  
Unread 01-20-2010, 10:11 AM
Belly's Avatar
Belly Belly is offline
Registered User
FRC #1340
 
Join Date: Feb 2008
Location: Team 1340 John Adams
Posts: 4
Belly is an unknown quantity at this point
Re: Netbeans 6.8 Ftp to cRIO communication issue

I am having a very similiar error where it hangs : waiting to connect to ota command server 10.13.40:8001. I think your using an alternate method which Id like to give a try.After your code is ready Whats your process of downloading to the cRio?
__________________

---The best inventions in life happened by accident---
Reply With Quote
  #3   Spotlight this post!  
Unread 01-20-2010, 02:02 PM
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Netbeans 6.8 Ftp to cRIO communication issue

Mark,

Your issue is a bit puzzling. Make sure that your development machine has it's firewall turned off. The later out indicates that "some" robot program is running, but is it yours? Try adding some println statements in your robot constructor, operatorcontrol, and autonomous methods to see if it's your current program running or an older version.

Other possibilities include another team member downgrading the robot, etc?

Belly,

"waiting to connect to ota command server" indicates that you're using an older version of the SDK.

Try updating the SDK (and the cRIO image if needed) as described here:
http://first.wpi.edu/FRC/frcjava.html
Reply With Quote
  #4   Spotlight this post!  
Unread 01-20-2010, 03:53 PM
mark.amber mark.amber is offline
Registered User
FRC #2039
 
Join Date: Jan 2010
Location: Rockford IL
Posts: 12
mark.amber is an unknown quantity at this point
Re: Netbeans 6.8 Ftp to cRIO communication issue

I use the play (arrow) button
Reply With Quote
  #5   Spotlight this post!  
Unread 01-20-2010, 05:10 PM
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Netbeans 6.8 Ftp to cRIO communication issue

Quote:
Originally Posted by mark.amber View Post
First let me start of saying this, there are two things that will not communicate to the cRIO, the first, all laptops on the network, set up with netbeans 6.8, and the classmate with netbeans 6.7.1

I should also say that on monday, the exact same setup was working, and I was able to download code for some basic joystick controll through netbeans 6.7.1 on the classmate, but not on my ubuntu 9.10 laptop running netbeans 6.8, with frc plugins, or a windows laptop with 6.8 running frc plugins (yes we did set the team number)

We have flashed the robot twice with the v19 image, from the classmate, and bear in mind that it was working perfectly one day before.

also we can login to the robot with ftp (ftp://10.20.39.2) sucessfully

now what is wrong:
on the classmate, where the code was sucessfully downloading the day before using the same (while I do know it is NOT the same, because somthing is obviously different) it will compile the code, then start downloading it to the cRIO, and it will do this (not word for word)

connnecting ftp 10.20.39.2
init
ready to RUN
crio-->
some stuff
rebooting crio 1
2
3
4
5
6
7
8
crio-->nisomthin
lots of stuff on ftp
crio-->somthing about no user supplyed robotMain()
then it dose somthing like this...
cRIO-->
cRIO-->
cRIO-->
cRIO-->
cRIO-->
cRIO-->
cRIO-->
for 5 min
then it dose somthing like this
ftp_LT_Rtimeout
then (supprisingly)
BUILD SUCESSFULL 10 min
(it is not sucessfull, because the driver station shows no code, and the program will not run, that was running the day before)

I would like to also download code from other laptops, but they all stop at
READY TO RUN after the ftp init
I can get the full output of the error on thursday, I have to go to school, and will not be able to respond till tonight

Mark
I don't know much about the first error, but my team solved the "READY TO RUN" error by giving the development PC(s) a static IP address. I don't think this is supposed to matter, but when we used DHCP it didn't work.
__________________
Go directly to queue. Do not pass pit.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetBeans not talking to the cRio scottbot95 Java 21 02-07-2010 02:19 PM
Downloading code: Netbeans does not reset cRIO ellisk Java 8 01-31-2010 07:02 PM
cRIO Application Loader Issue 7-11number1 C/C++ 3 01-28-2009 10:20 PM
Issue with debugging/running code on cRio 114Klaatu0x72 Programming 5 01-27-2009 02:02 PM
FTP Issue Eugenia Gabrielov General Forum 7 02-27-2005 05:07 AM


All times are GMT -5. The time now is 07:35 AM.

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