Go to Post The purpose of this forum is for us to communicate our ideas, so that we can collectively strengthen our ability to inspire others. - Jaine Perotti [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 11-02-2012, 10:49
BoltAction BoltAction is offline
Registered User
FRC #1009
 
Join Date: Jan 2012
Location: Toronto
Posts: 4
BoltAction is an unknown quantity at this point
Java to CRIO connection problems

We have been trying to upload the code to the CRIO for 3 days now. We keep getting errors. We have already tried reimaging the CRIO but still getting the error.
We are using direct connection between the CRIO and the laptop.
The laptop's ip: 10.10.9.6
subnet: 255.0.0.0
Gateway: 10.10.9.4

This is the error we keep getting:
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) 64-Bit Server VM 22.0-b10
Target IP: 10.10.9.2
Network interfaces on host:
Intel(R) 82579LM Gigabit Network Connection: address: 10.10.9.6 netmask: 255.0.0.0 <--- on robot's subnet
1x1 11b/g/n Wireless LAN PCI Express Half Mini Card Adapter: address: 192.168.2.7 netmask: 255.255.255.254
Connecting FTP @10.10.9.2
C:\Users\Karan Thukral\sunspotfrcsdk\build.xml:96: The following error occurred while executing this line:
C:\Users\Karan Thukral\sunspotfrcsdk\ant\upgrade.xml:40:
java.net.SocketException: Software caused connection abort: recv failed

Someone please help.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2012, 13:26
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 connection problems

This seems like an issue with communicating with the cRIO.

Troubleshooting steps I would take:
1. Turn off the firewall, all of them.
2. ping 10.10.9.2
3. ftp 10.10.9.2
4. Reinstall the Netbeans plugins (completely remove and reinstall) or upgrade them. It might be the case that the cRio is updated and the plugins are old. Or maybe the plugins are updated and the cRio is old. Make 100% sure that both of them are updated to the newest version. (You'd be surprised how many people with problems will tell you that everything's updated and they're not.)

If all this fails, then I would suggest trying to isolate the cause of the problem by putting the code on another computer and trying to upload from there OR to upload onto another cRio (if you have one).
Reply With Quote
  #3   Spotlight this post!  
Unread 11-02-2012, 13:52
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 connection problems

Try changing your netmask to 255.255.255.0.
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 09:56.

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