Go to Post The only tool that will work to get our robot done in time will be a prayer rug. - Rick TYler [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 09-02-2013, 19:16
theface3352's Avatar
theface3352 theface3352 is offline
Registered User
AKA: Luke
FRC #3352 (Flaming Monkeys)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2010
Location: Belvidere
Posts: 13
theface3352 is an unknown quantity at this point
Crio II won't download program

Hi,
I've been having trouble downloading programs to the Crio II lately. When I try to download the program in labview to the Crio it just says that it can't connect to the Crio even though were still able to connect to the robot from the driver station and I've found that I can only download a program to it after I've redownloaded the firmware, which is extremely slow. Also I've never had this problem with our old 8-slot Crio. So is there something else I'm supposed to do when downloading the firmware? Or is it something else entirely?
Any help appreciated!
  #2   Spotlight this post!  
Unread 09-02-2013, 19:28
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,745
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Crio II won't download program

How are you connected to the cRIO? The most stable, least problem prone method is a wired connection from your laptop to a port on the bridge, and have the wireless on your laptop turned off. Also, you probably want to disable windows firewall.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #3   Spotlight this post!  
Unread 09-02-2013, 19:36
theface3352's Avatar
theface3352 theface3352 is offline
Registered User
AKA: Luke
FRC #3352 (Flaming Monkeys)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2010
Location: Belvidere
Posts: 13
theface3352 is an unknown quantity at this point
Re: Crio II won't download program

I've tried both wireless and wired but I've never had any problems with the type of connection and even when i couldn't download the program I could still connect to the robot and e=use an old program on the Crio.
  #4   Spotlight this post!  
Unread 09-02-2013, 20:50
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Crio II won't download program

You don't mention what language you are using. The DS determines the IP address from the team number entered on the Setup page. The programming environments need to know the IP as well. If it is LV, it is set on the properties for the target and shown next to the target type/name.

Greg McKaskle
  #5   Spotlight this post!  
Unread 09-02-2013, 21:02
theface3352's Avatar
theface3352 theface3352 is offline
Registered User
AKA: Luke
FRC #3352 (Flaming Monkeys)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2010
Location: Belvidere
Posts: 13
theface3352 is an unknown quantity at this point
Re: Crio II won't download program

I'm using labview and i put 10.33.52.2 for the programs target
  #6   Spotlight this post!  
Unread 09-02-2013, 21:04
treeturtle1 treeturtle1 is offline
Registered User
FRC #1780
 
Join Date: Feb 2013
Location: Henderson
Posts: 6
treeturtle1 is an unknown quantity at this point
Re: Crio II won't download program

Are you using WindRiver? I just had this problem, and it was a fresh install so I didn't set the FRC Downloader to work with the robot yet. Under Window -> Preference, under FRC Downloader, set your team number, and as long as your IP Address is 10.te.am.(and anything over 10 for the last part) (te.am means the IP address for your team robot) it should communicate. If you aren't using WindRiver then my apologies.
  #7   Spotlight this post!  
Unread 09-02-2013, 21:06
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Crio II won't download program

How do you download the LV SW and what does it do? What dialogs or messages?

Greg McKaskle
  #8   Spotlight this post!  
Unread 09-02-2013, 21:27
theface3352's Avatar
theface3352 theface3352 is offline
Registered User
AKA: Luke
FRC #3352 (Flaming Monkeys)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2010
Location: Belvidere
Posts: 13
theface3352 is an unknown quantity at this point
Re: Crio II won't download program

I go to frc boot up deployment then build and deploy but I get the error message: failed to connect to real time target, but I know i'm downloading the program right because it works after I image the Crio for labview again but it only works once.
  #9   Spotlight this post!  
Unread 09-02-2013, 21:32
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Crio II won't download program

For normal development, I'd suggest opening the RobotMain and pushing the run button.

If your code is complete and you don't need any debugging features, go to the popup on the build specification, build, and then Run As Startup.

Perhaps what is happening is that you are deploying the app and you didn't choose to make the startup application always run when you imaged it.

It is possible to have an app on the cRIO but not have it set as startup, and that is actually what deploy does. The special FRC imaging option will launch it anyway. The better way to do this is to image it with the checkbox set and Run as Startup.

Greg McKaskle
  #10   Spotlight this post!  
Unread 09-02-2013, 23:08
theface3352's Avatar
theface3352 theface3352 is offline
Registered User
AKA: Luke
FRC #3352 (Flaming Monkeys)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2010
Location: Belvidere
Posts: 13
theface3352 is an unknown quantity at this point
Re: Crio II won't download program

I will try running from the robot main vi tomorrow but I always make sure to hit the run at start up button.
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:20.

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