View unanswered posts | View active topics It is currently Sat Aug 02, 2014 2:40 am






Reply to topic  [ 6 posts ] 
Retreiving .c file from brick 
Author Message
Rookie

Joined: Sun Feb 24, 2013 11:42 am
Posts: 1
Post Retreiving .c file from brick
Hello everyone,

I've been working on this project for a serious amount of time now, and today both my hard drives failed and I lost my programs, and they still need some debugging before I can use them. Is there anyway to get the .c files from the brick back to my PC ? please reply ASAP


Thu Apr 25, 2013 6:05 pm
Profile
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: Retreiving .c file from brick
When you put a program on the NXT, it's compiled into a .rxe file and that's pretty much a one-way process. A lot of the original structure and coding is gone, and it's optimized as well. AFAIK there's no way this can be done; you'll just have to recreate the programs. :-(

EDIT: 6 minutes. How that for ASAP? :wink:

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.


Thu Apr 25, 2013 6:11 pm
Profile WWW
Expert

Joined: Thu Sep 29, 2011 11:09 pm
Posts: 184
Location: Michigan USA
Post Re: Retreiving .c file from brick
NeXT-Generation is right, there's no way to get the .c programs from the NXT (since they aren't stored on the NXT).

If I were you I'd look into failed HDD data recovery. I also suggest that from now on, you always store those types of files in a place that get's backed up to remote servers (like DropBox, Google Drive, SkyDrive, etc.).

_________________
Matt


Thu Apr 25, 2013 9:23 pm
Profile WWW
Expert
User avatar

Joined: Fri Nov 02, 2012 12:07 am
Posts: 164
Location: California, USA
Post Re: Retreiving .c file from brick
Can't you do a "download program" form the File Management Utility? :?

_________________
string Robored = "Awesome"
~~Neil Balch~~


Sun Jun 02, 2013 9:00 pm
Profile WWW
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: Retreiving .c file from brick
Yes, but it's the compiled .rxe file, which you can't edit.

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.


Sun Jun 02, 2013 9:29 pm
Profile WWW
Professor
User avatar

Joined: Sat May 18, 2013 1:24 pm
Posts: 272
Location: Olympia, WA
Post Re: Retreiving .c file from brick
mattallen37 wrote:
[...] store those types of files in a place that get's backed up to remote servers (like DropBox, Google Drive, SkyDrive, etc.).

GitHub is another great site for your projects!

A compiled file (.rxe) is machine code; translating it back is impossible (at least in a recognizable form).

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

and also quadrotors. Quadrotors!


Mon Jun 03, 2013 12:01 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.