Go to Post If you guys ever need anything, just let us know. Just remember you have the FIRST family behind you.<3 - hayleybayley217 [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
  #7   Spotlight this post!  
Unread 12-08-2007, 06:23
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: extracting code from robot

The format for the microcontroller I was speaking of is the .hex. IIRC the C18 compiler takes the code and compiles it to a COF (common object format) file which is then linked into a .hex file. Since that is what you send to the RC you should be able to dump it from the RC using the tool Alan provided. That will allow you to get the current .hex file which you can save in case you ever need it again. The executable format the microcontroller uses probably has a disassembler somewhere if not the format is generally not to bad from my experience working with Linux ELF files. Once disassembled you will have the original code in assembly language which will show you the logic you used assuming you have someone who knows PIC18 assembly.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
 


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
Download code from robot Luminous Programming 4 25-05-2005 13:32
Recovering code from the RC Orborde Programming 15 04-12-2004 20:02
Extracting Individual bits in C Noah Programming 7 08-01-2004 15:53
Autonomous Code From Experience EbonySeraphim Programming 7 14-03-2003 21:56


All times are GMT -5. The time now is 19:39.

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