Go to Post Patience is the key to FIRST. - Pavan Dave [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
  #16   Spotlight this post!  
Unread 07-02-2011, 16:41
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

Quote:
Originally Posted by adf0221 View Post
make sure you disconnect from the radio on your robot before you attempt to download or else you will receive that error
You can connect through the newest radio from the KOP this year. That's why it has so many Ethernet ports.

You do have the correct subnet mask, it should be the default 225.0.0.0

Last edited by 1168Programmer : 07-02-2011 at 16:46.
Reply With Quote
  #17   Spotlight this post!  
Unread 07-02-2011, 16:48
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

By status light, do you mean the light that goes on the robot or the light on the cRIO, or a completely different light?
Reply With Quote
  #18   Spotlight this post!  
Unread 07-02-2011, 17:21
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

The status light on the cRIO...
Reply With Quote
  #19   Spotlight this post!  
Unread 07-02-2011, 19:24
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

One more thought: do the switches on the cRIO (other than 'Safe Mode') have to be turned on or off?
Reply With Quote
  #20   Spotlight this post!  
Unread 07-02-2011, 20:53
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help needed for loading codes into cRIO (Java)

Quote:
Originally Posted by RoboElite640 View Post
One more thought: do the switches on the cRIO (other than 'Safe Mode') have to be turned on or off?
All of them, SAFE MODE included, should be off to start with.

The CONSOLE OUT switch can be turned on if you want to attach a terminal to the cRIO's serial port (but don't do that if you're using a serial-to-CAN converter such as a Black Jaguar). The NO APP switch has no effect on anything other than LabVIEW programs. The USER1 switch can be read by software and can be set to whatever you want it to be.

Last edited by Alan Anderson : 08-02-2011 at 10:03. Reason: fixed spelling
Reply With Quote
  #21   Spotlight this post!  
Unread 07-02-2011, 21:53
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

So basically everything should be off, and what if the error still shows? any other suggestions?
Reply With Quote
  #22   Spotlight this post!  
Unread 08-02-2011, 07:41
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

Quote:
Originally Posted by Alan Anderson View Post
All of them, SAFE MODE included, should be off to start with.

The CONSOLE OUT switch can be turned on if you want to attach a terminal to the cRIO's serial port (but don't do that if you're using a serial-to-CAN converter such as a Black Jaguar). The NO APP switch has no affect on anything other than LabVIEW programs. The USER1 switch can be read by software and can be set to whatever you want it to be.
I had everything turned off including SAFE MODE. Tried downloading the code into the cRIO and still got the same error.
Reply With Quote
  #23   Spotlight this post!  
Unread 08-02-2011, 08:09
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

The 'Power' light is on green, but the 'Status' light on the cRIO is blinking yellow. Shouldn't it be green and not blinking? What does this mean?
Reply With Quote
  #24   Spotlight this post!  
Unread 08-02-2011, 17:25
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

Do you have your team number set in NetBeans? I know it sounds stupid, but we forgot to set it when we installed NetBeans on an auxiliary laptop and then when we tried to download code we got a long error, possibly the one in your original post...
Reply With Quote
  #25   Spotlight this post!  
Unread 08-02-2011, 18:07
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

Yes we have the team number set there. so we reinstalled everything and when we try to run the code, we get stuck here.





init:
init:
clean:
Created dir: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\build
Compiling 1 source file to C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\build
compile:
Created dir: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\j2meclasses
preverify:
Created dir: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite
Building jar: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite\FRC2011Team640_1.0.0.jar
jar-app:
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]
Romizer processed 137 classes and generated 4 files.
Expanding: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite\FRC2011Team640_1.0.0.jar into C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite
Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite
Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite
Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\suite
Deleting: C:\Users\Developer\Documents\NetBeansProjects\FRC2 011Team640\image.suite.api
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) Client VM 19.0-b09
Target IP: 10.6.40.2
Network interfaces on host:
Realtek RTL8102E/RTL8103E Family PCI-E Fast Ethernet NIC (NDIS 6.20): address: 10.6.40.6 netmask: 255.255.255.255 or hidden by IPv6 address (due to Java on Windows Bug:6707289)
Connecting FTP @10.6.40.2
upgrade:
Sending local file image.suite
flashapp:
deploy:
init:
[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)
[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: visa32
[cRIO] * Loading StartupDlls: nivissvc
[cRIO] task 0xee4b28 (PAL00fb5ec8) deleted: errno=0 (0) status=0 (0)
[cRIO] NI-RIO Server 3.2 started successfully.
[cRIO] task 0xc5ffb8 (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] task 0x1b0d7e8 (t2) deleted: errno=0 (0) status=0 (0)
[cRIO] FRC_NetworkCommunication was compiled from SVN revision 2258
[cRIO]
[cRIO] NI-VISA Server 4.5 started successfully.
[cRIO] task 0xe63238 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)
[cRIO] FPGA Hardware GUID: 0x2EAA5E59CAF1A8A966853A011B61CC91
[cRIO] FPGA Software GUID: 0x2EAA5E59CAF1A8A966853A011B61CC91
[cRIO] FPGA Hardware Version: 2011
[cRIO] FPGA Software Version: 2011
[cRIO] FPGA Hardware Revision: 1.5.3
[cRIO] FPGA Software Revision: 1.5.3
[cRIO] * Loading StartupDlls: FRC_JavaVM
[cRIO]
[cRIO]
[cRIO] [OTA Server] Version: 2011 FRC, Jan 6 2011, 09:47:42
[cRIO]
[cRIO]
[cRIO] Welcome to LabVIEW Real-Time 8.6.1f3
[cRIO]
[cRIO] [Squawk VM] Version: 2011 FRC, Feb 2 2011, 13:26:47
[cRIO] FPGA Hardware GUID: 0x2eaa5e59caf1a8a966853a011b61cc91
[cRIO] FPGA Software GUID: 0x2eaa5e59caf1a8a966853a011b61cc91
[cRIO] Default robotInit() method running, consider providing your own
[cRIO] Default disabled() method running, consider providing your own
BUILD STOPPED (total time: 2 minutes 35 seconds
Reply With Quote
  #26   Spotlight this post!  
Unread 08-02-2011, 18:20
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

Does your robot run? From the output it appears that it should...
Reply With Quote
  #27   Spotlight this post!  
Unread 08-02-2011, 18:55
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

When we went to the driver station, there is Robot Communication and the 'Robot Code' light is green. However, nothing runs and it says that the 'Watchdog' is unfed.
Reply With Quote
  #28   Spotlight this post!  
Unread 08-02-2011, 20:23
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

Do you have any timers starting in teleopInit() besides the Watchdog? Because that would certainly cause a Watchdog unfed error.

Last edited by 1168Programmer : 09-02-2011 at 16:43.
Reply With Quote
  #29   Spotlight this post!  
Unread 09-02-2011, 17:54
RoboElite640 RoboElite640 is offline
Registered User
FRC #0640
 
Join Date: Nov 2010
Location: NY
Posts: 36
RoboElite640 is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

We dont have any other timer starting in teleopInit
Reply With Quote
  #30   Spotlight this post!  
Unread 09-02-2011, 19:34
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Help needed for loading codes into cRIO (Java)

Ok. Make sure you're feeding the Watchdog in both teleop and autonomous. There's another thread on Watchdog errors ... Watchdog errors

My best recommendation for now is to see if there's anything useful on there. Please post back if something develops.
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 05:24.

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