Go to Post Multitasking is a myth. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 07-02-2009, 18:11
dan_h dan_h is offline
EE Grad Student
AKA: Dan Huizenga
#0518
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Grand Rapids, MI
Posts: 20
dan_h is an unknown quantity at this point
Can't "undeploy" default code

Help! When I try to "undeploy" the default code from the FIRST menu in WorkBench, I get an "Unable to delete the UserProgram from the robot." error. However, when I try to download my own code and run it, I see the following error in the console (I have the target IO redirected to a target console):

"Error: Other robot code is still running... Unload it and then try again" (see below)

Does anybody know what's going on here?! I do have my team number set for the FIRST utils in WorkBench ... I'm stuck. Help!

__________________
--
Team 518 Home Page
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2009, 18:55
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: Can't "undeploy" default code

are you FIRST>Download(F>D) or Run Kernel Task (RKT)?

you have to either F>D, Reboot, test, F>Undeploy, modify code, Build, and repeat

OR

RKT, test, reboot, modify code, and repeat
__________________
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
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2009, 19:33
csshakka csshakka is offline
Registered User
FRC #0818
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Warren, MI
Posts: 21
csshakka is an unknown quantity at this point
Send a message via AIM to csshakka Send a message via MSN to csshakka
Re: Can't "undeploy" default code

Not 100% sure, but i think you can go under the remote connection that you've created and look through the processes running on your robot. You can delete whatever your program was called.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2009, 19:49
dan_h dan_h is offline
EE Grad Student
AKA: Dan Huizenga
#0518
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Grand Rapids, MI
Posts: 20
dan_h is an unknown quantity at this point
Re: Can't "undeploy" default code

rkt, as described here: http://thinktank.wpi.edu/article/137
__________________
--
Team 518 Home Page
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2009, 20:02
dan_h dan_h is offline
EE Grad Student
AKA: Dan Huizenga
#0518
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Grand Rapids, MI
Posts: 20
dan_h is an unknown quantity at this point
Re: Can't "undeploy" default code

It finally undeployed (I don't know why, exact same procedure I tried on Saturday) >:-(, but it's running now
__________________
--
Team 518 Home Page
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2009, 23:46
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Can't "undeploy" default code

If all else fails you can FTP into the cRio and delete the file.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
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
"Why Johnny can't code" Astronouth7303 Programming 19 22-10-2006 03:08
Modified default code gives "code violation" scottmso Programming 8 10-02-2006 23:17
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 10-01-2006 18:07
"Thunderbirds" Vs. "Team America" Which one will rule the box office? Elgin Clock Chit-Chat 3 07-09-2004 19:53
Can't Compile the Default Code pressurex1 Programming 4 25-01-2004 20:26


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

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