Go to Post My guess is you all are planning on being overweight......interesting strategy.....i like it - Stephen Kowski [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 04-04-2006, 14:23
jasmun jasmun is offline
Registered User
no team
 
Join Date: Apr 2006
Location: Colorado
Posts: 5
jasmun is an unknown quantity at this point
master .bin before .hex?

Hello all!

I'm new to the VEX robots and I'm trying to work my way through some of the programming stuff. Is it always necessary to download the master .bin file before downloading a new .hex file? If I try to just download .hex file, the robot doesn't do anything. Thanks!
  #2   Spotlight this post!  
Unread 04-04-2006, 14:47
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: master .bin before .hex?

Quote:
Originally Posted by jasmun
Hello all!

I'm new to the VEX robots and I'm trying to work my way through some of the programming stuff. Is it always necessary to download the master .bin file before downloading a new .hex file? If I try to just download .hex file, the robot doesn't do anything. Thanks!
Typically you would only download the Master.bin file one time. Currently version 6 is the latest version. Once it is downloaded, the default, or what ever code you have built, will need to be added back in. This will be a *.hex file. After the .hex has been loaded, your robot will behave exactly as the .hex file tells it to. As you create or edit code, compile it into a new .hex file and load it. You don't have to load the master.bin file first, you already did it.
Think of the master.bin as the operating system on your PC. The .hex files are like a program that runs by using the master.bin as an OS.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #3   Spotlight this post!  
Unread 04-04-2006, 15:08
jasmun jasmun is offline
Registered User
no team
 
Join Date: Apr 2006
Location: Colorado
Posts: 5
jasmun is an unknown quantity at this point
Re: master .bin before .hex?

That's kind of what I thought. So, any idea why I have to download the bin file before I can get a hex file to work? Any how I can fix it? Thanks!
  #4   Spotlight this post!  
Unread 04-04-2006, 15:32
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: master .bin before .hex?

Quote:
Originally Posted by jasmun
That's kind of what I thought. So, any idea why I have to download the bin file before I can get a hex file to work? Any how I can fix it? Thanks!
Think of it like this: Your PC will not run a program unless an operating system is loaded. Once the operating system is loaded, you can then add programs to the system and run the programs. (Now just substitute the .bin for OS and the .hex for program.)

Why do you have to reload your .hex file when you upgrade the .bin? The install process of the .bin over-rights the space where the .hex file lived, or something like that. Basically, the .hex file gets erased. So, you must reload it. Got it?
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #5   Spotlight this post!  
Unread 05-04-2006, 00:39
jasmun jasmun is offline
Registered User
no team
 
Join Date: Apr 2006
Location: Colorado
Posts: 5
jasmun is an unknown quantity at this point
Re: master .bin before .hex?

I've got that part...I guess I wasn't being clear in my original question. I have to redownload the bin file every time before I download a new hex file. Otherwise the robot doesn't do anything. The way that I understand it, I should be able to download the latest master bin file and then download a hex file, make changes to hex file, download the updated hex file, make changes to hex file, download the updated hex file, etc. What I have to do is this: download master bin file, download hex file, make changes to hex file, download master bin file, download hex file, make changes to hex file, download master bin file, download hex file, etc. I'm assuming that this isn't the norm... sorry if I wasn't being clear before!
  #6   Spotlight this post!  
Unread 05-04-2006, 02:10
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: master .bin before .hex?

Quote:
Originally Posted by jasmun
I've got that part...I guess I wasn't being clear in my original question. I have to redownload the bin file every time before I download a new hex file. Otherwise the robot doesn't do anything. The way that I understand it, I should be able to download the latest master bin file and then download a hex file, make changes to hex file, download the updated hex file, make changes to hex file, download the updated hex file, etc. What I have to do is this: download master bin file, download hex file, make changes to hex file, download master bin file, download hex file, make changes to hex file, download master bin file, download hex file, etc. I'm assuming that this isn't the norm... sorry if I wasn't being clear before!
Wow, your right, that isn't normal.

Your explanation definitely makes a big difference. Let me ask a couple questions:
1) Which programming platform are you using, MPLAB/C18/IFI Loader or EasyC?
2) Which versions of what you are using?
3) What Master code version?
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #7   Spotlight this post!  
Unread 05-04-2006, 17:31
jasmun jasmun is offline
Registered User
no team
 
Join Date: Apr 2006
Location: Colorado
Posts: 5
jasmun is an unknown quantity at this point
Re: master .bin before .hex?

Quote:
Originally Posted by billbo911
Wow, your right, that isn't normal.

Your explanation definitely makes a big difference. Let me ask a couple questions:
1) Which programming platform are you using, MPLAB/C18/IFI Loader or EasyC?
2) Which versions of what you are using?
3) What Master code version?
1) MPLAB/C18/IFI
2) MPLAB - 7.20, C18 -2.4 Student Edition, IFI - 1.1.0
3) version 6
  #8   Spotlight this post!  
Unread 06-04-2006, 11:17
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: master .bin before .hex?

Quote:
Originally Posted by jasmun
1) MPLAB/C18/IFI
2) MPLAB - 7.20, C18 -2.4 Student Edition, IFI - 1.1.0
3) version 6
All your versions look correct.
At this point there are so many possibilities ranging from something in your code to corruption in one of the IDE/compiler/loader applications or even just a configuration issue. So, my suggestion now is to ask IFI.
I'll bet when you find the answer you'll say something like "Oops, I knew not to do that" or "How simple, why didn't I think of that".
Please re-post what ever you find out, good or bad, so the rest of us will be able to handle this if it ever happens to us.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
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
.BIN format Rickertsen2 Programming 10 04-01-2006 12:22
Duel Results including Master Volunteer Nominations Mr MOE Off-Season Events 0 27-10-2005 14:11
Master Code 11? SteveO Programming 5 22-04-2005 19:48
2005 RC Master Code or yaniv Programming 8 12-01-2005 12:05
Making .Hex files dddriveman Programming 4 11-03-2004 13:47


All times are GMT -5. The time now is 22:59.

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