Go to Post FIRST is an opportunity for me to tackle problems that have long been solved. - Madison [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 17-01-2010, 16:44
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
2010 346 Programming team problem log

This is a log of our problems we have encountered in the 2010 build season. The topics will remain open until a solution is found. At that time I will update the post with the solution. The hope is that if anyone has the same problem thay can use this as a refrance for their own problems or if someone has had one of our problems and they have a solution they can post it.

A) Problem: Dashboard will not show after update
Status: Closed
Solution: 1) Open C:\Documents and Settings\All Users\Shared Documents\FRC DS Data Storage.ini
2) Locate DashboardcmdLine=
3 change to DashboardcmdLine="c:\\program files\\frc dashboard\\dashboard.exe"

B) Problem: cRio will not update to v19 properly
Status: Open
Steps done so far: 1) Updated DS
2) Did Manditory Labview Update
3) used crossover cable (pink) opened image tool
4) selected Java. checked format. clicked apply
5) image tool indicated cRIO was in safe mode
6) shut down cRIO toggled safe mode switch and tried again
7) image tool indicated cRIO was in safe mode
8) repeated 6 and 7 several times
9) got frusterated
10) put cRIO in safe mode and allowed image tool to format
11) took cRIO out of safe mode and clicked java but NOT format
12) image tool said cRIO updated
13) cRIO's status light blinks 3 times pauses and repeats

todo: take a break. register labview and try updating again

C)Problem: Netbeans not uploading code to cRIO
Note: may be related to (B) or (B) may be related to (C)
Status: Open
Steps: 1) created new project in netbeans with the simple robot template
2) clicked build main project (basicly a blank program for the robot)
3) netbeans build error no rout to host 10.0.0.2
4) made sure DS set to team
5) netbeans came up with same error

EDIT (1/18/10 7:19est)

D) Problem: Driver station sometimes shows black screen when logging off from driver account
Status: Open
Steps: 1) research - probably a common windows problem
2) Possible solution http://support.microsoft.com/?kbid=328934
More to come and solutions hopefully sooner then later

Last edited by drakesword : 17-01-2010 at 19:31.
  #2   Spotlight this post!  
Unread 17-01-2010, 17:33
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: 2010 346 Programming team problem log

Quote:
Originally Posted by drakesword View Post
3) used crossover cable (pink) opened image tool
Don't use crossover cable
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #3   Spotlight this post!  
Unread 17-01-2010, 17:34
Lucretius Lucretius is offline
#395 Mentor, #1884 Alumnus
FRC #0395 (2 Train Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: New York, NY
Posts: 42
Lucretius is an unknown quantity at this point
Re: 2010 346 Programming team problem log

The 10.0.0.2 error occurs when you haven't set your team number in the FRC Plugin options in NetBeans.
__________________

  #4   Spotlight this post!  
Unread 17-01-2010, 17:35
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: 2010 346 Programming team problem log

also, when imaging, did you set your Team #?
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #5   Spotlight this post!  
Unread 17-01-2010, 17:38
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,587
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: 2010 346 Programming team problem log

Quote:
Originally Posted by drakesword View Post
B) Problem: cRio will not update to v19 properly
10) put cRIO in safe mode and allowed image tool to format
11) took cRIO out of safe mode and clicked java but NOT format
12) image tool said cRIO updated
13) cRIO's status light blinks 3 times pauses and repeats
The one time I had to put it in safe mode to format, I also had to format the second time. Hopefully that works for you.


Quote:
Originally Posted by drakesword View Post
C)Problem: Netbeans not uploading code to cRIO
Note: may be related to (B) or (B) may be related to (C)
Status: Open
Steps: 1) created new project in netbeans with the simple robot template
2) clicked build main project (basicly a blank program for the robot)
3) netbeans build error no rout to host 10.0.0.2
4) made sure DS set to team
5) netbeans came up with same error
Make sure to set your team number in the the netbeans options. You won't be able to successfully upload code until the cRIO is imaged.
  #6   Spotlight this post!  
Unread 17-01-2010, 19:15
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: 2010 346 Programming team problem log

Quote:
Originally Posted by byteit101 View Post
Don't use crossover cable
We will try. it connects fine but the instructions say to use xover


Quote:
The 10.0.0.2 error occurs when you haven't set your team number in the FRC Plugin options in NetBeans.
Thanks I will look into that

Quote:
also, when imaging, did you set your Team #?
Yes and device name to team346

when i went to image the second time the cRIO did show up with the ip as 10.3.46.2

Last edited by drakesword : 17-01-2010 at 19:17.
  #7   Spotlight this post!  
Unread 22-01-2010, 22:02
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: 2010 346 Programming team problem log

So we still have no success with re-imaging. Followed the steps on http://delta.ni.com/content/message/3242.

Status light starts off with 3 flashes

1. Do an IP Reset
set the IP Reset DIP switch on the cRIO to ON
push reset button on cRIO
Set the IP Reset DIP switch on the cRIO to OFF


At this point the cRIO's status light flashes once

2. Power off the cRIO, then Power it back on
2a. Turn off your computer's firewall
3. Connect to computer to the cRIO using the crossover cable
IP Address on computer 10.0.0.6 SubNet 255.0.0.0
4. Run MAX (Measurement and Automation) to reset IP address (it is now 0.0.0.0) on the cRIO
Tools\NI-Serial\Ethernet Device Configuration
This should find the cRIO and show the MAC address
5. Click Properties and set the IP Address to 10.0.0.2 SubNet 255.0.0.0
6. In MAX, click Remote Systems and then F5 to refresh and you should now see the cRIO.
7. Expand the cRIO under Remote Systems,click on Software, and click on Add/Remove software
Reload the NI-RIO 2.4.1 software


The software was NI-RIO 3. something. Figured it was part of upddate and reloaded anyway.

Afterwords we are back to one flash

1. Flip the cRIO Safe Mod DIP switch into the ON position.

2. Reset the cRIO so that it boots into safe mode.

3. Disable safe mode by flipping the DIP switch to OFF.

4. Using the FRC cRIO Imaging Tool, format the controller by checking the "Format Controller" checkbox. See the tutorial Using the FRC cRIO Imaging Tool for more information.


At this point in the imaging process we checked the format checkbox and filled in the rest of the information selecting the LABVIEW language.
The program starts by extracting the image then says connecting at which point the lan connection in the tray says cable disconnected. once it reconnects the image program says the cRIO is in safe mode. Power down switch to safe mode run the program again. we proceed with the format this time but even after 20 minutes it still says its formatting. Reset in safe mode off still having 3 flashes and go back to the image tool. try to image and it says its in safe mode.

HALP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!

5. The FRC cRIO should automatically reboot and then you will be off and running again.
  #8   Spotlight this post!  
Unread 22-01-2010, 22:09
Tom Line's Avatar
Tom Line Tom Line is online now
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,535
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: 2010 346 Programming team problem log

We ran into this exact same issue when formatting ours earlier this week. The formatting tool does NOT error out when it cannot connect! I discovered that our firewall was blocking it. The program sat and said "formatting" for more than 30 minutes. When the students told me what was going on, I went over, took the Crio out of safe mode, turned off the programming computer's firewall, and imaged the Crio with no problem.

Do you have ALL firewalls turned off on the programming computer?
  #9   Spotlight this post!  
Unread 22-01-2010, 22:15
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: 2010 346 Programming team problem log

I will check it again if all else fails we will also try the solution posted on http://decibel.ni.com/content/message/3360


Windows firewall is Off
in advanced it was checked for LAN now its unchecked
in advanced settings all services were unchecked now they are checked
same with ICMP
AVG webshield disabled
Internet properties local internet security set to low
Anything i missed???

Last edited by drakesword : 22-01-2010 at 22:39.
  #10   Spotlight this post!  
Unread 22-01-2010, 23:55
Tom Line's Avatar
Tom Line Tom Line is online now
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,535
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: 2010 346 Programming team problem log

Did I read it incorrectly, or have you not tried turning off safe mode and imaging?
  #11   Spotlight this post!  
Unread 23-01-2010, 07:59
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: 2010 346 Programming team problem log

i may not have been as clear as i thought.

first attempt safe mode was OFF.
---error popped up saying it was in safe mode
second attempt safe mode was ON
---error popped up saying it was in safe mode
third attempt safe mode was OFF
---still same error
fourth attempt safe mode was ON
---allowed it to format which never completed
  #12   Spotlight this post!  
Unread 23-01-2010, 19:17
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,113
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: 2010 346 Programming team problem log

Quote:
Originally Posted by Tom Line View Post
Did I read it incorrectly, or have you not tried turning off safe mode and imaging?
Quote:
Originally Posted by drakesword View Post
i may not have been as clear as i thought.
Your detailed description of what you did made it sound like you just turned off the "safe mode" switch without rebooting. It's hard to be sure what really happened from what you said.
  #13   Spotlight this post!  
Unread 23-01-2010, 20:20
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: 2010 346 Programming team problem log

Are you imaging using your own laptop, or by using the supplied Classmate PC?

We were unsuccessful getting it to reimage using my personal laptop - even with all AV and firewalls turned off. But on the first try using the Classmate via the supplied pink crossover cable, it worked fine.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #14   Spotlight this post!  
Unread 24-01-2010, 00:20
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: 2010 346 Programming team problem log

we got it. apparently the safe mode switch was off its rocker (literally). we pushed down really hard while switching it and click its not in safe mode anymore. Imaged fine after a format through MAX. Now to get it to run linux jk jk... maybe later
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tips for C++ programming the 2010 control system woodk C/C++ 12 23-01-2010 21:38
Thank You Teams 346 and 88 JAZAD1 Thanks and/or Congrats 4 23-03-2009 19:14
Keeping an updated log of electrical team progress DavidB Electrical 4 31-12-2008 18:14
C programming problem... wasabi824 Programming 5 08-02-2004 01:04
Omg!!!!! #$#@$ 346 QP Dima Regional Competitions 2 08-03-2003 10:18


All times are GMT -5. The time now is 21: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