Go to Post I'd like to think that I'm at least a sometimes useful mentor. - artdutra04 [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 26-02-2004, 14:14
HuskieRobotics HuskieRobotics is offline
Registered User
#1352
 
Join Date: Feb 2004
Location: Stratford NorthWestern
Posts: 34
HuskieRobotics has a little shameless behaviour in the past
Exclamation HELP!!!!

How do we convert a modified user routines file into a valid .HEX file
When we tried we got an error saying that the file was not vaild. HELP US PLEASE!!! Thanks!
  #2   Spotlight this post!  
Unread 26-02-2004, 14:34
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: HELP!!!!

Quote:
Originally Posted by HuskieRobotics
How do we convert a modified user routines file into a valid .HEX file
When we tried we got an error saying that the file was not vaild. HELP US PLEASE!!! Thanks!
You need to use the provided MPLab software and compiler to compile it. Using the "Build All" feature.
  #3   Spotlight this post!  
Unread 26-02-2004, 14:46
HuskieRobotics HuskieRobotics is offline
Registered User
#1352
 
Join Date: Feb 2004
Location: Stratford NorthWestern
Posts: 34
HuskieRobotics has a little shameless behaviour in the past
Re: How do we convert a modified user routines file into a valid .HEX file

We tried that and we still got the same error is there anything else that we have to do in order for it to work????
  #4   Spotlight this post!  
Unread 26-02-2004, 15:11
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: How do we convert a modified user routines file into a valid .HEX file

Please carefully describe the steps that led to the error.
  #5   Spotlight this post!  
Unread 26-02-2004, 15:14
HuskieRobotics HuskieRobotics is offline
Registered User
#1352
 
Join Date: Feb 2004
Location: Stratford NorthWestern
Posts: 34
HuskieRobotics has a little shameless behaviour in the past
Re: How do we convert a modified user routines file into a valid .HEX file

we changed the code so that our motors both went the same way at the same speed because we mounted one of the moters backwards and it went though the compiler and everytihng fine but then when we went to download it to the robot controller it just gave us an error saying that it was an invaild format.
  #6   Spotlight this post!  
Unread 26-02-2004, 15:23
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: How do we convert a modified user routines file into a valid .HEX file

Quote:
Originally Posted by HuskieRobotics
we changed the code so that our motors both went the same way at the same speed because we mounted one of the moters backwards and it went though the compiler and everytihng fine but then when we went to download it to the robot controller it just gave us an error saying that it was an invaild format.
Hmmm.... I take it that you used the IFI Loader program on your PC connected via a serial port to the controller, and that you used the IFI Loader's "BROWSE" button to select the new .hex file for download, and before you could hit the "DOWNLOAD" button, IFI Loader said the file was invalid. Is that right?

I tried downloading a .hex file designed for one controller board to a different type of controller board and got a message about the processor being the wrong type (or something). But I think that is different than what you are seeing.

Try the IFI website -- browse their FAQs. You could try calling them (number below) -- they are nice guys, but be extra nice to them today as I expect they are getting overloaded with help requests.

IFI Technical Support Hotline - 903-454-1978, hours are 9am to noon, 1pm to 5pm CST.
  #7   Spotlight this post!  
Unread 26-02-2004, 19:57
HuskieRobotics HuskieRobotics is offline
Registered User
#1352
 
Join Date: Feb 2004
Location: Stratford NorthWestern
Posts: 34
HuskieRobotics has a little shameless behaviour in the past
Exclamation Re: How do we convert a modified user routines file into a valid .HEX file

You are correct that is what we did but we could not click on the download button. It was hidden and in it's place was the message saying that the .HEX file we were tring to use was not vaild and that was all it said and i still can't figure out why we did everything that we were sopposed to.
  #8   Spotlight this post!  
Unread 26-02-2004, 20:16
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: How do we convert a modified user routines file into a valid .HEX file

Did the previous version work?
  #9   Spotlight this post!  
Unread 26-02-2004, 20:27
HuskieRobotics HuskieRobotics is offline
Registered User
#1352
 
Join Date: Feb 2004
Location: Stratford NorthWestern
Posts: 34
HuskieRobotics has a little shameless behaviour in the past
Re: How do we convert a modified user routines file into a valid .HEX file

Yes the default code works
  #10   Spotlight this post!  
Unread 26-02-2004, 20:36
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: How do we convert a modified user routines file into a valid .HEX file

Can you tell us the part you changed? A quote?
  #11   Spotlight this post!  
Unread 26-02-2004, 20:43
anupalsingh anupalsingh is offline
Anupal Singh
#1219 (Iron Eagle)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Toronto, Ontario, Canada
Posts: 15
anupalsingh is an unknown quantity at this point
Re: How do we convert a modified user routines file into a valid .HEX file

i believe what possibily could be the problem is that when they browse for the file, they choose FrcDefault_code instead of just Frccode. That could be the wrong format the computer keeps outputting, but u should also keep building it because we had the problem before and we had to build it a couple of times before it started working.
  #12   Spotlight this post!  
Unread 26-02-2004, 20:49
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: How do we convert a modified user routines file into a valid .HEX file

The only way that could happen is that FrcDefault_code.hex got corrupted. It's just the default code. What you described would be characterized by the fact that changes seem to have no effect. I did that Wed. night.
  #13   Spotlight this post!  
Unread 27-02-2004, 17:07
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: How do we convert a modified user routines file into a valid .HEX file

Quote:
Originally Posted by Astronouth7303
The only way that could happen is that FrcDefault_code.hex got corrupted. It's just the default code. What you described would be characterized by the fact that changes seem to have no effect. I did that Wed. night.
Yeah, I've done that sort of thing: spend hours making changes and wondering why it still wouldn't work, only to find out I wasn't actually changing the output file that I thought I was changing.

Try this: rename or delete the .hex file you think you are creating, then build it again. If the file doesn't reappear (i.e. the new file), then you are not creating the file you thought you were. Use Windows Explorer and "sort by date" (click the date heading), and see which .hex file is newest -- that's the file you just created (check the date/time of the file.)

I hope that helps -- I could just be misunderstanding something.
  #14   Spotlight this post!  
Unread 28-02-2004, 12:12
HuskieRobotics HuskieRobotics is offline
Registered User
#1352
 
Join Date: Feb 2004
Location: Stratford NorthWestern
Posts: 34
HuskieRobotics has a little shameless behaviour in the past
Exclamation Re: How do we convert a modified user routines file into a valid .HEX file

I tryed that and the same .HEX file came back so that is not the problem. All that we changed was the direction that the motor starts going at the beginning so i really don't know what the problem is.
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 15: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