Go to Post I have a pocket full of Gracious Professionalism! How about you? - Schnabel [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2014, 14:36
ShaneKent253 ShaneKent253 is offline
Registered User
FRC #0253
 
Join Date: Jan 2014
Location: United States
Posts: 19
ShaneKent253 is an unknown quantity at this point
cRio won't image/receive code/do anything!!

Hello from Team 253!

We need some help. We are using our old cRio for our programming board and something seems to be going wrong. We were able to program it and use it last night, but now it isn't working.

When we open the Drivers Station we have Communication but we don't have Robot Code. When we try to run a program on NetBeans we get this error...

Code:
ant -f "C:\\Users\\admin\\Documents\\2014 Robot Code v3.5 (Autonomous)" deploy run
clean:
Deleting directory C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build
Created dir: C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build
Created dir: C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\classes
[crio-compile] ./src, C:/Users/admin/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/admin/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/admin/sunspotfrcsdk\lib\squawk.jar -> ./build/classes
Compiling 7 source files to C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\classes
compile:
preverify:
Created dir: C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\preverify
Created dir: C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\preverify.raw.util
[crio-preverify] ./build/classes, , C:/Users/admin/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/admin/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/admin/sunspotfrcsdk\lib\squawk.jar -> ./build/preverify
Expanding: C:\Users\admin\sunspotfrcsdk\lib\wpilibj.jar into C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\preverify
Expanding: C:\Users\admin\sunspotfrcsdk\lib\networktables-crio.jar into C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\preverify
jar:
[crio-jar] ./build/preverify, ./resources -> ./build/app.jar
Building jar: C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\app.jar
suite:
Created dir: C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\suite
[crio-suite] ./build/app.jar -> ./build/suite/image
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
[translating suite image [closed: false, parent: squawk] ...]
### Excluding compile: com.sun.squawk.Method::getParameterTypes
### Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt
[Including resource: META-INF/MANIFEST.MF]
[Including resource: META-INF/maven/edu.wpi.first.wpilib.networktables.java/NetworkTablesAzalea/pom.properties]
[Including resource: META-INF/maven/edu.wpi.first.wpilib.networktables.java/NetworkTablesAzalea/pom.xml]
Romizer processed 394 classes and generated 4 files.
Expanding: C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\app.jar into C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\suite
Moving 1 file to C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\suite
Moving 1 file to C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\suite
Moving 1 file to C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\build\suite
Deleting: C:\Users\admin\Documents\2014 Robot Code v3.5 (Autonomous)\image.suite.api
deploy:
[crio-configure] Configuration files not included in this version of the sdk
[crio-configure] Checking that crio is configured for Java
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Target IP: 10.2.53.2
Network interfaces on host:
    Intel(R) WiFi Link 1000 BGN:  address: 10.2.53.6 netmask: 255.255.255.254
WARNING: Host is not on same subnet as robot. May not be able to complete all communication with robot.
Connecting FTP @10.2.53.2
[crio-deploy] ./build/suite/image.suite -> 10.2.53.2
Sending local file image.suite
run:
[cRIO] [OTA Server] ********* REBOOTING cRIO *********
[cRIO] 
   Waiting for cRIO to reboot (1s)
   Waiting for cRIO to reboot (2s)
   Waiting for cRIO to reboot (3s)
   Waiting for cRIO to reboot (4s)
   Waiting for cRIO to reboot (5s)
   Waiting for cRIO to reboot (6s)
   Waiting for cRIO to reboot (7s)
   Waiting for cRIO to reboot (8s)
   Waiting for cRIO to reboot (9s)
   Waiting for cRIO to reboot (10s)
   Waiting for cRIO to reboot (11s)
[cRIO] 
[cRIO] -> * Loading debug.o: debug
[cRIO] Debugging is up, target server mounted at /tsfs
[cRIO] 
[cRIO] 
[cRIO]                 VxWorks
[cRIO] 
[cRIO] Copyright 1984-2006  Wind River Systems, Inc.
[cRIO] 
[cRIO]              CPU: MPC5200 -- Wind River Lite5200 BSP.
[cRIO]     Runtime Name: VxWorks
[cRIO]  Runtime Version: 6.3
[cRIO]      BSP version: 2.0/10
[cRIO]          Created: May 23 2013, 16:04:29
[cRIO] ED&R Policy Mode: Deployed
[cRIO]    WDB Comm Type: WDB_COMM_END
[cRIO]              WDB: Ready.
[cRIO] 
[cRIO] * Loading nisysrpc.out: nisysrpc
[cRIO] * Loading NiRioRpc.out: NiRioRpc
[cRIO] * Loading nivissvc.out: nivissvc
[cRIO] * Loading nivision.out: nivision
[cRIO] task 0xe473d8 (Service Locator Thread 4) deleted: errno=0 (0) status=0 (0)
[cRIO] NI-RIO Server 13.0 started successfully.
[cRIO] task 0xe38ff8 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
[cRIO] * Loading visa32.out: visa32
[cRIO] * Loading niserial.out: niserial
[cRIO] * Loading FRC_FPGA_ChipObject.out: FRC_FPGA_ChipObject
[cRIO] * Loading FRC_NetworkCommunication.out: FRC_NetworkCommunication
[cRIO] FRC_NetworkCommunication version: p4-1.4.0a18
[cRIO] FPGA Hardware GUID: 0xA14C11BDE4BB64AEF6A86FC52A294CD9
[cRIO] FPGA Software GUID: 0xA14C11BDE4BB64AEF6A86FC52A294CD9
[cRIO] FPGA Hardware Version: 2012
[cRIO] FPGA Software Version: 2012
[cRIO] FPGA Hardware Revision: 1.6.4
[cRIO] FPGA Software Revision: 1.6.4
[cRIO] * Loading FRC_JavaVM.out: FRC_JavaVM
[cRIO] 
[cRIO] 
[cRIO] [OTA Server] Version: 2012 FRC, Jan  5 2012, 17:20:48
[cRIO] 
[cRIO] 
[cRIO] Welcome to LabVIEW Real-Time 13.0
[cRIO] task 0xd14458 (sysapi-rpc) deleted: errno=0 (0) status=0 (0)
[cRIO] 
[cRIO] [Squawk VM] Version: 2011 FRC, Nov  5 2011, 14:34:13
[cRIO] FPGA Hardware GUID: 0xa14c11bde4bb64aef6a86fc52a294cd9
[cRIO] FPGA Software GUID: 0xa14c11bde4bb64aef6a86fc52a294cd9
[cRIO] Default IterativeRobot.disabledInit() method... Overload me!
BUILD STOPPED (total time: 1 minute 16 seconds)
When we try to image the cRio using the imaging tool we receive this error message...

Code:
Unable to complete operation because of unexpected error:
Error 7 occurred at File/Directory Info in NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi->NI_InternetTK_FTP_VIs.lvlib:FTP Store Multiple.vi->ConfigUtility.lvlib:FRC 2012_FTP Put File.vi->ConfigUtility.lvlib:CloseAndUploadRemoteConfiguration.vi->ConfigUtility.lvlib:CurrentLanguageConfig.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlib:Dialog.vi

Possible reason(s):

LabVIEW:  File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.

C:\Users\admin\AppData\Local\Temp\lvtemporaryd_66762\FRC_ImageVersion.ini
...and here is a picture of what the imaging software is noticing.

Any help would be greatly appreciated,

Thank you!!

Shane Kent
  #2   Spotlight this post!  
Unread 15-02-2014, 15:09
Stimpy1901 Stimpy1901 is offline
Registered User
AKA: Bobby
FRC #2348 (Cool Geeks)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2008
Location: Honolulu
Posts: 57
Stimpy1901 will become famous soon enough
Re: cRio won't image/receive code/do anything!!

Kent,

I have had similar problems in the past. I think I have reset the IP on the CRio before attempting to reimage or possibly putting it into safe mode. These are done with the dip switches next to the power supply.

Here is a link to the manual for the CRio-FRC: http://www.bu.edu/bufirst/files/2011/01/cRIO_Manual.pdf

Hope this helps!
__________________
"The person who says it cannot be done should not interrupt the person doing it."
- Chinese Proverb
  #3   Spotlight this post!  
Unread 15-02-2014, 16:15
om_nom_nom om_nom_nom is offline
Registered User
AKA: Nam
FRC #0708 (Hatters Robotics)
Team Role: Alumni
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Pennsylvania
Posts: 6
om_nom_nom is an unknown quantity at this point
Re: cRio won't image/receive code/do anything!!

Your NetBeans console is not displaying anything that seems off to me, so it doesn't seem to be an issue with compiling any code. Did you install the NI updates for 2014?
  #4   Spotlight this post!  
Unread 15-02-2014, 16:47
ShaneKent253 ShaneKent253 is offline
Registered User
FRC #0253
 
Join Date: Jan 2014
Location: United States
Posts: 19
ShaneKent253 is an unknown quantity at this point
Re: cRio won't image/receive code/do anything!!

Quote:
Originally Posted by Stimpy1901 View Post
Kent,

I have had similar problems in the past. I think I have reset the IP on the CRio before attempting to reimage or possibly putting it into safe mode. These are done with the dip switches next to the power supply.

Here is a link to the manual for the CRio-FRC: http://www.bu.edu/bufirst/files/2011/01/cRIO_Manual.pdf

Hope this helps!
Thank you, I am going to be trying this soon.

Thank you for the help,

Shane
  #5   Spotlight this post!  
Unread 15-02-2014, 22:19
ShaneKent253 ShaneKent253 is offline
Registered User
FRC #0253
 
Join Date: Jan 2014
Location: United States
Posts: 19
ShaneKent253 is an unknown quantity at this point
Re: cRio won't image/receive code/do anything!!

Quote:
Originally Posted by ShaneKent253 View Post
Thank you, I am going to be trying this soon.

Thank you for the help,

Shane
This worked the first time I tried it, thanks so much!!

-Shane
Closed Thread


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 02:44.

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