Go to Post To the ball knockers, I salute you. - Brandon Holley [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 20-09-2011, 00:08
~Cory~'s Avatar
~Cory~ ~Cory~ is offline
Student
AKA: Cory Rypkema
FRC #0706
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Worcester MA
Posts: 216
~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold
Re: Get code from cRIO

Slow your horses people. If you really really really want your code (and provided its in c++ or another one of the mentioned languages) You can "Somewhat" get the code from the cRIO. You can ftp and fecth the FRC_UserProgram.out file from the /ni-rt/system/ directory. This code can be be then decompiled using a tool such as ollydebug. This technique should be reserved for times when the amount of work to recreate what ever the old coder made is greater than about 10000000000000000 hours
__________________
corin.rypkema.org
WPI Class of '17
'12 Dean's List Finalist, Mentor of 706 - Cyberhawks
  #2   Spotlight this post!  
Unread 20-09-2011, 10:13
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Get code from cRIO

Quote:
Originally Posted by ~Cory~ View Post
This code can be be then decompiled using a tool such as ollydebug.
Ollydbg contains a disassembler, not a "decompiler". You can't get your original C++ code back.


  #3   Spotlight this post!  
Unread 20-09-2011, 10:42
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Get code from cRIO

Quote:
Originally Posted by Ether View Post
Ollydbg contains a disassembler, not a "decompiler". You can't get your original C++ code back.
It also appears to be x86 only, which won't help you with the cRIO's ppc target.

Quote:
Originally Posted by mesamb1 View Post
Creating a zip file of the folder of your code and uploading it to a folder on your teams website is another easy way to back up your code.
Another option would be to use ftp to upload it to your robot.
  #4   Spotlight this post!  
Unread 20-09-2011, 17:47
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Get code from cRIO

Quote:
Originally Posted by Joe Ross View Post
Another option would be to use ftp to upload it to your robot.
Great idea! Also, let's put a compiler and an AI on it so it'll write its own 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 23:40.

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