Go to Post I am the person I am because I have come to accept the mistakes I have made, not because I try to change them. - IronicDeadBird [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 01-29-2011, 03:30 PM
colinchocolate colinchocolate is offline
Java Programmer
AKA: Colin Hood
FRC #1559 (Devil Tech)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Victor, New York
Posts: 5
colinchocolate is an unknown quantity at this point
Our C++ is not running out of debug

Whenever I try downloading the code from winriver, it only allows us to download through debug. Whenever I go through the deploy option, it gives me the no code in robot error on the driver's station. Any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 01-29-2011, 03:37 PM
Austinh100's Avatar
Austinh100 Austinh100 is offline
Registered User
FRC #3695 (Foximus-Prime)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Yorkville, IL
Posts: 6
Austinh100 is an unknown quantity at this point
Re: Our C++ is not running out of debug

We are having the exact same problem, any help would be appreciated
Reply With Quote
  #3   Spotlight this post!  
Unread 01-30-2011, 06:42 AM
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Our C++ is not running out of debug

Hook up the debug console to see what failed. We had a similar problem last year and found out our code was exceeding the 16-bit "call" distance so we had to add -mlongcall in the linker option to get the code to load.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 02-01-2011, 08:16 PM
colinchocolate colinchocolate is offline
Java Programmer
AKA: Colin Hood
FRC #1559 (Devil Tech)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Victor, New York
Posts: 5
colinchocolate is an unknown quantity at this point
Re: Our C++ is not running out of debug

-mlongcall worked great! Thanks!
Reply With Quote
  #5   Spotlight this post!  
Unread 02-01-2011, 10:16 PM
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Our C++ is not running out of debug

Quote:
Originally Posted by colinchocolate View Post
-mlongcall worked great! Thanks!
Pro tip: In Window->Preferences you can set default build properties so you never have to worry about these things
Reply With Quote
  #6   Spotlight this post!  
Unread 02-05-2011, 11:53 AM
colinchocolate colinchocolate is offline
Java Programmer
AKA: Colin Hood
FRC #1559 (Devil Tech)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Victor, New York
Posts: 5
colinchocolate is an unknown quantity at this point
Re: Our C++ is not running out of debug

Hooray! Another error. we are getting a "Relocation value does not fit in 24 bits" message. I added the -mlongcall tag in the build properties>build command. Anyone have any ideas? It worked before after we added the tag, but stopped working suddenly this weekend.
Reply With Quote
  #7   Spotlight this post!  
Unread 02-05-2011, 11:56 AM
HutchScout HutchScout is offline
Programming Mentor
AKA: Steve Hutchinson
FRC #0617 (The Enginerds)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Richmond, VA
Posts: 9
HutchScout is an unknown quantity at this point
Re: Our C++ is not running out of debug

We are also getting the same "Relocation value does not fit in 24 bits" message on our NetConsole when the bot attempts to load FRC_UserProgram at startup. Trying to find a solution.
__________________
Don't panic ... it's only ones and zeroes
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


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

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