Go to Post There is more to our team than my hair, you know. :P - thefro526 [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 10-02-2010, 22:14
brianelite brianelite is offline
Registered User
FRC #2898
 
Join Date: Feb 2009
Location: oregon
Posts: 36
brianelite has a spectacular aura aboutbrianelite has a spectacular aura aboutbrianelite has a spectacular aura about
Code dowloading doesn't work

Currenly I can run code from windriver and it works perfectly. However when I download/reply code the crio doesn't run the new code; instead it runs some other code... This code also takes a very long time to start after it is enabled nd behaves unpredictably, skipping printfs... The weird thing is that the code executes perfectly when I only "run" the code.
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2010, 22:57
SteveGarward's Avatar
SteveGarward SteveGarward is online now
Red 5, standing by...
AKA: 7 years already
FRC #0111 (WildStang), FRC #3132 (Thunder Down Under)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Gurnee, IL
Posts: 173
SteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud of
Re: Code dowloading doesn't work

Make sure you Undeploy before downloading the new code.

Also, one thing I've noticed is that if it seems to be slow downloading the code, then it typically doesn't actually download it. Weird, but that's what happens.

We've sometimes had to restart Workbench - not sure why, but sometimes it seems to get a little tripped up after downloading a few times, or even just switching workspaces to import one of the sample programs.

If all else fails, re-flash the cRIO. We did this last night, as it was getting unreliable. We would run some code successfully, make a change, wouldn't run, back out the code change back to the original working code, download, and it wouldn't work! Why? Who knows.. But re-flashing it seems to have fixed our issues on more than one occasion.
__________________
FRC Team 111 - WildStang (Mentor, Drive Coach)
FTC Team 7458 - Full Force! (Mentor, Coach)
FRC Team 3132 - Australia's FIRST FRC Team! (Holy crazy first year, Batman!)

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
Deploy doesn't work Haragorn Control System 1 20-01-2010 18:45
Code for sensor still doesn't work Ianuser Programming 3 14-02-2007 10:17
even simple autonomous code doesn't work?? colman77 Programming 4 17-02-2006 23:58
sensor doesn't work PBoss Programming 7 29-01-2003 18:39


All times are GMT -5. The time now is 10:04.

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