|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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
|
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||
|
|||
|
Re: Code loading issue
Orig, I got it to work, I can try to help you as well. What's your setup?
|
|
#5
|
|||
|
|||
|
Re: Code loading issue
Hi, I think I'm having the exact same issue now. How did you guys fix this?
|
|
#6
|
|||
|
|||
|
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
|
|
#7
|
|||
|
|||
|
What do you mean the wrong JRE? Was it the wrong version? How did you fix that?
|
|
#8
|
|||
|
|||
|
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. |
|
#9
|
|||
|
|||
|
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.
|
|
#10
|
|||
|
|||
|
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! ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|