Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Code loading issue (http://www.chiefdelphi.com/forums/showthread.php?t=141436)

aaronjeline 11-01-2016 10:28

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?

origamitaco 11-01-2016 14:54

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

frcStuff 12-01-2016 15:55

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

aaronjeline 12-01-2016 21:51

Re: Code loading issue
 
Orig, I got it to work, I can try to help you as well. What's your setup?

powster 14-01-2016 17:27

Re: Code loading issue
 
Hi, I think I'm having the exact same issue now. How did you guys fix this?

origamitaco 14-01-2016 23:25

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

fsilberberg 15-01-2016 08:53

Quote:

Originally Posted by origamitaco (Post 1524002)
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?

origamitaco 15-01-2016 11:41

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.

fsilberberg 15-01-2016 14:13

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.

Ultrabaconator 16-01-2016 16:46

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!
:ahh:


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

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