Go to Post When mentors and students battle it's the team that loses. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 06-02-2010, 17:14
tutkows1's Avatar
tutkows1 tutkows1 is offline
Registered User
FRC #2077
 
Join Date: Jan 2010
Location: wisconsin
Posts: 44
tutkows1 is an unknown quantity at this point
No Robot Code After downloading Code

I'm programming in Java and when we download code the driver station does not reconize that there is code. I am very perplexed to why this problem suddenly occured. The reason i'm posting in the control system fourm is because it seems like many teams are haveing this problem, reguardless of what langauge there coding in. This makes be beilve that there is a problem with the control system that needs to be fixed. If anyone has any ideas please share. I will be makeing a list of solutions and trying them all.


More information:
Crio Image:Verson 19
Latest Driver Station Update

Problem seemed to occur at the same time we add compresser code, but didn't go away when that code was commented out.

Compiler Output:
Quote:
init:
init:
No to.jar.file specified.
Using "suite\RobotMain_1.0.0.jar"
Deleting directory C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\build
Deleting directory C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite
Deleting directory C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\j2meclasses
clean:
Created dir: C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\build
Warning: edu\wpi\first\wpilibj\templates\ManageJoy.java modified in the future.
Warning: edu\wpi\first\wpilibj\templates\Pneumatics.java modified in the future.
Compiling 7 source files to C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\build
compile:
Created dir: C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\j2meclasses
preverify:
Created dir: C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite
Building jar: C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite\RobotMain_1.0.0.jar
jar-app:
Using "suite\RobotMain_1.0.0.jar"
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
Romizer processed 128 classes and generated these files:
C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\image.sym
C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\image.suite
C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\image.suite.metadata
C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\image.suite.api
Expanding: C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite\RobotMain_1.0.0.jar into C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite
Moving 1 file to C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite
Moving 1 file to C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite
Moving 1 file to C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite
Deleting: C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\image.suite.api
Connecting FTP @10.20.77.2
upgrade:
Sending local file image.suite
flashapp:
deploy:
init:
Setting up for RUN
[cRIO]
Waiting for prompt "-> "
[cRIO] ->
[cRIO] -> xdelete "/ni-rt/system/SQUAWK_DEBUG_ENABLED"
[cRIO] deleting file /ni-rt/system/SQUAWK_DEBUG_ENABLED
[cRIO] /ni-rt/system/SQUAWK_DEBUG_ENABLED: S_relFsLib_FILE_NOT_FOUND
Waiting for prompt "-> "
[cRIO] value = -1 = 0xffffffff
Waiting for prompt "-> "
[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)
[cRIO] ->
[cRIO] -> * Loading StartupDlls: debug
[cRIO] Entering debug.o StartupLibraryInit
[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: Jul 29 2009, 13:41:47
[cRIO] ED&R Policy Mode: Deployed
[cRIO] WDB Comm Type: WDB_COMM_END
[cRIO] WDB: Ready.
[cRIO]
[cRIO] Leaving debug.o StartupLibraryInit
[cRIO] * Loading StartupDlls: NiRioRpc
[cRIO] * Loading StartupDlls: niorbs
[cRIO] * Loading StartupDlls: NiViSrvr
[cRIO] * Loading StartupDlls: nivissvc
[cRIO] task 0xee4148 (PAL00fb54e8) deleted: errno=0 (0) status=0 (0)
[cRIO] NI-RIO Server 3.2 started successfully.
[cRIO] task 0xc5f598 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
[cRIO] * Loading StartupDlls: nivision
[cRIO] * Loading StartupDlls: niserial
[cRIO] * Loading StartupDlls: FRC_FPGA
[cRIO] * Loading StartupDlls: FRC_NetworkCommunication
[cRIO] FRC_NetworkCommunication was compiled from SVN revision 2064
[cRIO] FPGA Hardware GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
[cRIO] FPGA Software GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
[cRIO] FPGA Hardware Version: 2010
[cRIO] FPGA Software Version: 2010
[cRIO] FPGA Hardware Revision: 1.3.0
[cRIO] FPGA Software Revision: 1.3.0
[cRIO] * Loading StartupDlls: FRC_JavaVM
[cRIO] task 0x1d84bd8 (t2) deleted: errno=0 (0) status=0 (0)
[cRIO]
[cRIO] NI-VISA Server 4.5 started successfully.
[cRIO] task 0xe62770 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)
[cRIO]
[cRIO]
[cRIO] [OTA Server] Version: 2010 FRC, Dec 30 2009, 15:22:08
[cRIO]
[cRIO] [OTA Server] Starting...
[cRIO]
[cRIO] [OTA Command Server] In serverSocketListener()
[cRIO]
[cRIO] [OTA Redirector] In serverSocketListener()
[cRIO]
[cRIO]
[cRIO] Welcome to LabVIEW Real-Time 8.6.1f2
[cRIO] [OTA Server] Restarting Java VM
[cRIO]
[cRIO] [Squawk VM] Starting up...
[cRIO]
[cRIO]
[cRIO] [Squawk VM] Version: 2010 FRC, Jan 11 2010, 23:01:10
[cRIO]
[cRIO] [Squawk VM] File SQUAWK_DEBUG_ENABLED not found, starting squawk in normal mode...
[cRIO] [Squawk VM] arg: squawk.out
[cRIO] [Squawk VM] Squawk command line file SQUAWK_CMD_LINE not found, using default args...
[cRIO] [Squawk VM] arg: -suite:robot
[cRIO] [Squawk VM] arg: -Xmxnvm:1M
[cRIO] Bootstrap suite loaded
[cRIO] In Startup
[cRIO] Looking for implementation class com.sun.squawk.platform.posix.vxworks.natives.Sele ctImpl
[cRIO] Looking for implementation class com.sun.squawk.platform.posix.vxworks.natives.LibC Impl
[cRIO] FPGA Hardware GUID: 0xad9a5591cc64e4df756d77d1b57a549e
[cRIO] FPGA Software GUID: 0xad9a5591cc64e4df756d77d1b57a549e
[cRIO] #####################################INIT
[cRIO] Information: No user-supplied robotMain()
[cRIO] connect: S_errno_ETIMEDOUT
The Reason for the ################init is beacuse we added that to tell us when code is started.

I can add more code if asked for. But i beieive it is not a code problem.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2010, 17:23
tutkows1's Avatar
tutkows1 tutkows1 is offline
Registered User
FRC #2077
 
Join Date: Jan 2010
Location: wisconsin
Posts: 44
tutkows1 is an unknown quantity at this point
Re: No Robot Code After downloading Code

I was reading though the compiler output and got confused by the following lines

Quote:
Moving 1 file to C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite
Moving 1 file to C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite
Moving 1 file to C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\suite
Deleting: C:\Documents and Settings\2077 Robotics\Desktop\2010 Code\ASDF\image.suite.apiConnecting FTP @10.20.77.2
upgrade:
Sending local file image.suite

Is it compiling the image, deleting the image, tries to send the image but the image is deleted?
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2010, 00:51
goodsky's Avatar
goodsky goodsky is offline
Programming Mentor
AKA: Skyler
FRC #1902 (Exploding Bacon)
Team Role: College Student
 
Join Date: Sep 2007
Rookie Year: 2005
Location: Orlando
Posts: 55
goodsky has a spectacular aura aboutgoodsky has a spectacular aura aboutgoodsky has a spectacular aura about
Re: No Robot Code After downloading Code

We were having this issue earlier and our only 'fix' was that if we stopped using the DriverStationLCD object then it would say there was code. I have heard a couple of rumors that other people have had this issue as well, although I still am perplexed because I could use this object earlier in the season to print to the driver station's user message screen (and the issue of the crio saying 'no code' for us began before the Feb 3rd update). We have been using Windriver, but I am curious if this could be your problem too.
__________________
OINK OINK BOOM!!!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading code DS says "No Code" jnutzmann Programming 11 27-01-2009 14:04
Downloading code- DS says "No Code" Bryan Herbst Programming 6 05-01-2009 19:46
Code malfunction after robot reset? jgannon Programming 6 01-03-2006 14:42
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 10-01-2006 18:07


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

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