Go to Post I bet if anyone took a look at the 118's Bill of Materials the only thing that would be on there is hard work and that's priceless. - rcmolloy [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 16-03-2010, 09:52
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: For teams having trouble downloading code

Doug gave us the same advice. We were having random sucess with our deployment, more failures than successes. IMO, the NoApp switch is a better solution than a cRIO re-image for a few reasons ... with the primary reason being the chance of lobotomizing the cRIO if the re-image goes bad.

Here are some steps I posted in the "Deployment Issues" thread ...

Quote:

1) on the cRIO, set the No App dipswitch to TRUE (this prevents user code from running when the cRIO boots, regardless of the SW settings)

2) reset the cRIO and feel free to deploy/run/build/set-as-startup, whatever ... As long as that dip-switch is set, it'll never run the startup apps when it boots, and the deployents (or just hitting RUN in the RobotMain.VI) works every time.

3) when you are done debugging and/or troubleshooting and want to try it out in a "realistic" fashion, do a final build and Set as Startup.

4) when the upload to the cRIO is complete, there's a window to close and then it asks you to reboot the cRIO. Before you click the Reboot button, UNSET that dip-switch

He said that they are looking into why this is occurring, but apparently they've got a pretty good workaround until we get a patch.

After I learned this trick, I never saw those errors again, and we were slinging code onto our 'bot all day today (Practice day at the AZ regionals)
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
 


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
Having trouble with Deploying code Hatefulhippo Programming 2 15-02-2009 14:02
Having trouble building example code pagemauck C/C++ 5 30-01-2009 21:19
Trouble downloading from LabView MikePres NI LabVIEW 9 24-01-2009 08:53
Trouble Downloading from LabView to cRio MikePres FRC Control System 0 15-01-2009 16:17
I am having trouble finding parts PartsMan General Forum 2 12-02-2008 11:07


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