Go to Post Honesty and integrity should always be taken seriously. It's the lubrication that makes the world go round. - rsisk [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 02-04-2009, 18:34
jamie_1930's Avatar
jamie_1930 jamie_1930 is offline
Registered User
FRC #2228 (Cougartech)
Team Role: Student
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Rush-Henrietta
Posts: 371
jamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to behold
Ripping Code (2008)

I was wondering does anyone remember how to take code of the robot and put it in a file to fix. We lost last year's code and we might be making some changes for an upcoming demo.
  #2   Spotlight this post!  
Unread 02-04-2009, 18:44
tsiersema tsiersema is offline
Tyler Siersema
FRC #1918 (NC GEARS (Newaygo County Enthused About Robotic Solutions))
Team Role: Communications
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Fremont
Posts: 12
tsiersema is an unknown quantity at this point
Re: Ripping Code (2008)

i may let me get back with you
  #3   Spotlight this post!  
Unread 02-04-2009, 19:12
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Ripping Code (2008)

Quote:
Originally Posted by jamie_1930 View Post
I was wondering does anyone remember how to take code of the robot and put it in a file to fix. We lost last year's code and we might be making some changes for an upcoming demo.
The code in an IFI Robot Controller is compiled bits for the PIC processor. There is a utility that will allow you to pull the bits out and make a file of data that you can put back in later, but there is no reasonable way to turn that file into C source code.
  #4   Spotlight this post!  
Unread 02-04-2009, 22:24
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Ripping Code (2008)

You can turn the binary you pull off the IFI controller into assembly code if you're feeling adventurous...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 07-04-2009, 19:29
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: Ripping Code (2008)

Quote:
Originally Posted by Mark McLeod View Post
You can turn the binary you pull off the IFI controller into assembly code if you're feeling adventurous...
Really? So there's no code protection on PICs then?
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #6   Spotlight this post!  
Unread 07-04-2009, 20:13
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,829
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: Ripping Code (2008)

Code protection on PICs (at least most of them, if not all of them) is an option that you set when you program the chip.

Jason
  #7   Spotlight this post!  
Unread 07-04-2009, 20:27
Chris27's Avatar
Chris27 Chris27 is offline
Registered User
AKA: Chris Freeman
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Mountain View
Posts: 196
Chris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant future
Re: Ripping Code (2008)

Well now's a good time as any to learn how to read assembly .
  #8   Spotlight this post!  
Unread 07-04-2009, 22:56
keehun's Avatar
keehun keehun is offline
Team Captain
AKA: Keehun Nam
FRC #2502 (EP Robotics)
Team Role: Leadership
 
Join Date: May 2008
Rookie Year: 2008
Location: Eden Priaire
Posts: 474
keehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond repute
Send a message via AIM to keehun
Re: Ripping Code (2008)

Or rewrite!
__________________
For by grace you have been saved through faith, and that not of yourselves; it is the gift of God, not of works, lest anyone should boast. -- Ephesians 2:8-9
2010: Quarter Finalist (MN 10,000 Lakes)
2010: Website Award (MN 10,000 Lakes)
2009: Quarter Finalist (MN 10,000 Lakes)
2009: GM Industrial Award (MN 10,000 Lakes)
  #9   Spotlight this post!  
Unread 08-04-2009, 12:16
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 685
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: Ripping Code (2008)

Real programmers program down to the metal!

Quote:
Originally Posted by Chris27
Well now's a good time as any to learn how to read assembly.
Well, once you get it translated from hexadecimal code. I don't know if this PDF is the correct one, but it is from the same PIC family and shows you the instruction set. Maybe if you google some more you can find a Hex to Assembler translator. Or write your own? Here's an on-line lesson on the instruction set.

Now, after writing all that, I still don't remember the method to get the code off the robot, but I do remember it was possible. And desperate. Writing new code is easier.
  #10   Spotlight this post!  
Unread 13-04-2009, 21:47
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Ripping Code (2008)

No, real programmers use butterflies
__________________
Get yer robot source code here!
  #11   Spotlight this post!  
Unread 16-04-2009, 12:56
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 685
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: Ripping Code (2008)

Yeah, but is it haiku-compliant?

But I'm rather partial to the International Obfuscated C Code Contest.

I wonder if jamie_1930 got the code out of the robot?
  #12   Spotlight this post!  
Unread 20-04-2009, 01:25
jamie_1930's Avatar
jamie_1930 jamie_1930 is offline
Registered User
FRC #2228 (Cougartech)
Team Role: Student
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Rush-Henrietta
Posts: 371
jamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to behold
Re: Ripping Code (2008)

Quote:
Originally Posted by Roger View Post
Yeah, but is it haiku-compliant?

But I'm rather partial to the International Obfuscated C Code Contest.

I wonder if jamie_1930 got the code out of the robot?
Actually looking around forever I finally realized that under the download for the ifi loader on www.ifirobotics.com there is a link to download the device reader and this is, I'm pretty sure, what I'm looking for. Although I'm not sure now because I'm trying to upload new code onto the board so I can test out the programming, but I'm getting a no programming board found error on the ifi loader. I'll let you guys know if I get it working
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Team 39, 2008 LabVIEW Beta Code BornaE General Forum 17 10-10-2008 17:21
2008 Gyro Code FireJet Programming 13 14-02-2008 17:06
2008 Omni Drive Code Help Vasily Zaitsev Technical Discussion 5 27-01-2008 00:57
2008 Default Code? Demothesis Programming 11 11-01-2008 21:50
'Accidently' ripping other robots apart Vipersna Rumor Mill 6 04-01-2002 23:27


All times are GMT -5. The time now is 01:11.

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