Go to Post Careful what words you use here; we take them literally. - DonRotolo [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-01-2016, 10:28
aaronjeline aaronjeline is offline
Aaron
FRC #1719 (Umbrella Corporation)
Team Role: Programmer
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Baltimore
Posts: 18
aaronjeline is an unknown quantity at this point
Code loading issue

Is anyone else having issue getting robot code to start.
Robot was provisioned with the 2016 image, then loaded the JRE, then uploaded code. Code uploaded fine, with no errors.
On the driver station, the communication light turns on, but the robot code light never goes green. No errors have been presented, and there is nothing in the logs. The uploaded code is the example code provided by WPI.

We have tried connecting to the RoboRIO over the USB, and over ethernet (no radio)

The only place that I have deviated from the manual, is that the manual says to use 2014/imager.exe, and there was no 2014 folder. Instead I used 2015/imager.exe. I did install the most recent NI tools.

Any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 11-01-2016, 14:54
origamitaco origamitaco is offline
Registered User
FRC #4328
 
Join Date: Nov 2015
Location: Richmond, TX
Posts: 39
origamitaco is an unknown quantity at this point
Re: Code loading issue

Same here except comm light is red and i get remote code 1 error. I'm going crazy because I need a functional robot by tonight
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2016, 15:55
frcStuff's Avatar
frcStuff frcStuff is offline
フォスタ--
FRC #4268 (Beehive Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Salt Lake City
Posts: 10
frcStuff is an unknown quantity at this point
Re: Code loading issue

You might have have not updated the JRE. Follow this guide:
https://wpilib.screenstepslive.com/s...ller-java-only

Last edited by frcStuff : 12-01-2016 at 16:02.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2016, 21:51
aaronjeline aaronjeline is offline
Aaron
FRC #1719 (Umbrella Corporation)
Team Role: Programmer
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Baltimore
Posts: 18
aaronjeline is an unknown quantity at this point
Re: Code loading issue

Orig, I got it to work, I can try to help you as well. What's your setup?
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2016, 17:27
powster powster is offline
Registered User
FRC #1148
Team Role: Leadership
 
Join Date: Jan 2016
Rookie Year: 2013
Location: LA
Posts: 19
powster is an unknown quantity at this point
Re: Code loading issue

Hi, I think I'm having the exact same issue now. How did you guys fix this?
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2016, 23:25
origamitaco origamitaco is offline
Registered User
FRC #4328
 
Join Date: Nov 2015
Location: Richmond, TX
Posts: 39
origamitaco is an unknown quantity at this point
I fixed by installing the correct JRE. Have done this a hundred times and so I felt pretty defeated when it was just the wrong JRE. Installer should have safeguard for wrong JRE deploy though... Just a thought
Reply With Quote
  #7   Spotlight this post!  
Unread 15-01-2016, 08:53
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Quote:
Originally Posted by origamitaco View Post
I fixed by installing the correct JRE. Have done this a hundred times and so I felt pretty defeated when it was just the wrong JRE. Installer should have safeguard for wrong JRE deploy though... Just a thought
What do you mean the wrong JRE? Was it the wrong version? How did you fix that?
Reply With Quote
  #8   Spotlight this post!  
Unread 15-01-2016, 11:41
origamitaco origamitaco is offline
Registered User
FRC #4328
 
Join Date: Nov 2015
Location: Richmond, TX
Posts: 39
origamitaco is an unknown quantity at this point
Re: Code loading issue

I installed the HardFP instead of the SoftFP. In the JRE installer it's the middle link, Endian2, not the top link. It will install regardless of it being the wrong JRE and will not run on the RIO. https://www.dropbox.com/s/ojejgo58zl...itled.png?dl=1
Install the one that's circled.
Reply With Quote
  #9   Spotlight this post!  
Unread 15-01-2016, 14:13
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Hmm, we removed the hard check from the installer this year because that caused the installer to break halfway through last year when Oracle updated the version. Perhaps there's something we can do to detect that you're downloading the HardFP version. Do make sure to follow the instructions in the installer and on ScreenSteps though.
Reply With Quote
  #10   Spotlight this post!  
Unread 16-01-2016, 16:46
Ultrabaconator Ultrabaconator is offline
Registered User
FRC #3577
 
Join Date: Jan 2016
Location: Arizona
Posts: 1
Ultrabaconator is an unknown quantity at this point
Re: Code loading issue

Ugh! Having the same issue as you. We have the correct JRE loaded (soft FP). When code compiles, I get:
Host OS: Windows 10 10.0, 10.0
Host JVM: Java HotSpot(TM) 64-Bit Server VM 25.66-b18
Target IP: 10.35.77.2
Network interfaces on host:
Realtek PCIe GBE Family Controller: address: 10.35.77.2 netmask: 255.0.0.0 <--- on robot's subnet
National Instruments USBLAN Adapter: address: 172.22.11.1 netmask: 255.255.255.248
Realtek RTL8188CU Wireless LAN 802.11n USB 2.0 Network Adapter: address: 10.19.9.46 netmask: 255.255.0.0
Connecting FTP @10.35.77.2
C:\Users\SaintsRobotics\sunspotfrcsdk\build.xml:79 : The following error occurred while executing this line:
C:\Users\SaintsRobotics\sunspotfrcsdk\ant\configur e.xml:41:
java.net.ConnectException: Connection refused: connect

We've tried going to usb and CATS into the roboRio. Any suggestions?
Thanks!
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 12: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