Go to Post Back in MY day, we had full metal to metal contact. Not any of this wussy bumper stuff! - Michael Hill [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 21-01-2011, 19:05
dan2915 dan2915 is offline
Registered User
None #2915
 
Join Date: Nov 2008
Location: Oregon
Posts: 5
dan2915 is an unknown quantity at this point
Windriver - Can't Undeploy Code

Our team is having difficulty with deploying/undeploying code to our cRio. We are using Windriver, and we can connect to the cRio. However, whenever we try to undeploy the code to deploy new code, we get the error:

"Unable to delete the UserProgram from the robot."

Has anyone else had this issue and been able to resolve it? We have already seen this, but none of the solutions have worked for us so far. Any help would be appreciated.
  #2   Spotlight this post!  
Unread 22-01-2011, 00:40
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Windriver - Can't Undeploy Code

2 things-

1: You don't have to undeploy old code first. At least, I never do and I don't have a problem.

2: If you try to undeploy twice in a row, you get that error. You can only undeploy one time.
  #3   Spotlight this post!  
Unread 22-01-2011, 00:44
kwojcik kwojcik is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2009
Location: California
Posts: 24
kwojcik is a splendid one to beholdkwojcik is a splendid one to beholdkwojcik is a splendid one to beholdkwojcik is a splendid one to beholdkwojcik is a splendid one to beholdkwojcik is a splendid one to behold
Re: Windriver - Can't Undeploy Code

If you are loading code onto the robot via a debug dialog, then you do not need to undeploy the code. Simply restart the robot and this will clear the RAM and the program will be gone. If you put code onto the robot by doing FIRST->Download (Which really needs to be changed to say Deploy....) then you will need to do FIRST->Undeploy to get rid of the code.
  #4   Spotlight this post!  
Unread 22-01-2011, 00:45
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Windriver - Can't Undeploy Code

I always use the First -> Download without undeploying first. As long as you reboot the robot, I have found you are fine.
  #5   Spotlight this post!  
Unread 22-01-2011, 00:47
kwojcik kwojcik is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2009
Location: California
Posts: 24
kwojcik is a splendid one to beholdkwojcik is a splendid one to beholdkwojcik is a splendid one to beholdkwojcik is a splendid one to beholdkwojcik is a splendid one to beholdkwojcik is a splendid one to behold
Re: Windriver - Can't Undeploy Code

This is true, as FIRST->Download will write the code to the flash and will only be loaded on start up. However if you want to download the code via debug so that you can real time debug the code, you will need to do FIRST->Undeploy, restart, then debug the code.
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 00:54.

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