|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
IFI Loader problem - "Invalid HEX file"
I was just trying to download our code to the robot, but when I opened up IFI_Loader, it said "Invalid HEX file - Unable to download...". I'm sure the hex file is valid, and I have also tried using the default hex files... Any ideas?
[edit] I was originaly using version 1.0.2, but I get the same thing with 1.0.7 [/edit] Last edited by wun : 21-09-2004 at 16:32. |
|
#2
|
|||||
|
|||||
|
Re: IFI Loader problem - "Invalid HEX file"
Quote:
If you would like a second tester email or post the hex file and I'll try it too. [edit] got the error with certain random characters Last edited by Mark McLeod : 21-09-2004 at 17:32. |
|
#3
|
|||||
|
|||||
|
Re: IFI Loader problem - "Invalid HEX file"
Allright, thanks.
Any idea how that could have happened thou? I did a freash compile of one of the files, and the other is the default... Ill take a look at it when I go in tomorrow thou, thanks. |
|
#4
|
|||||
|
|||||
|
Re: IFI Loader problem - "Invalid HEX file"
Quote:
Quote:
No idea why the default hex file would have become corrupted, but there are lots of ways. What you really want to do at this stage is to continue to break the failure down into discrete tests to localize the problem. Your testing the default hex file was one. Trying different IFI_Loaders was another. I'd test the two hex files on a different computer (that you know works correctly, like mine) to determine for sure if it’s the hex files or a computer/IFI_Loader problem. You can also visually inspect the file, it's ASCII, but only gross problems will be obvious. If the hex file still doesn’t work I’d download the default code again to be sure of having a pristine hex file and try loading the FRC_default.hex file again. I’ll also try to repeat the error in other ways. Last edited by Mark McLeod : 21-09-2004 at 21:03. |
|
#5
|
|||||
|
|||||
|
Re: IFI Loader problem - "Invalid HEX file"
At what point does the error appear? If it's after you tell the loader to download the program, it could be that either the controller is reporting a problem with the checksum, or the loader is detecting a discrepancy in the data echoed back by the controller. (I don't remember, for sure that the controller echoes the data, but I think it does.)
In either case, it could be a communications problem. If you are using a USB/serial adapter, that is a potential error source. |
|
#6
|
|||||
|
|||||
|
Re: IFI Loader problem - "Invalid HEX file"
I get the problem as soon as I click "Ok" when I'm selecting the hex file (via the "BROWSE" button). The combo-box does not even change to the path of the hex file (I get the same message when I type the file path by hand).
I also just had the guy send me the files from his laptop (the one I was using today) and they seem to work just fine on my machine. I will work more on it when I get back to school on thursday thou, Thanks for all your help |
|
#7
|
|||||
|
|||||
|
Re: IFI Loader problem - "Invalid HEX file"
Just a thought -- had you ever done anything with the problematic files using a Linux or Macintosh system? I don't know the loader's quirks, but it's possible that it requires a CR/LF pair between lines, and the files you're trying to use might have only a CR (Mac convention) or LF (Unix convention).
I mention this mostly because of the prominent penguin avatar. ![]() |
|
#8
|
|||||
|
|||||
|
Re: IFI Loader problem - "Invalid HEX file"
Quote:
Last edited by Mark McLeod : 22-09-2004 at 10:04. |
|
#9
|
|||||
|
|||||
|
Re: IFI Loader problem - "Invalid HEX file"
Quote:
A cheaper way to convert Unix-style line breaks to Windows-style is to use WordPad. It will recognize LFs alone, and will write out CR/LF pairs when saving the file. |
|
#10
|
|||||
|
|||||
|
Re: IFI Loader problem - "Invalid HEX file"
Quote:
I chose binary on purpose to test the various CR/LF mixes in IFI_Loader on a windows machine. I used ftp in ASCII mode transferring to UNIX and binary coming back to maintain the UNIX style. I verified the file difference on windows. I didn't want ftp changing the UNIX style I'd created back to Windows style. P.S. I was able to get identical symptoms to the ones David described, where the file path doesn't even appear, when I used non-ASCII characters at the beginning of the file. A pure ASCII corrupted file still displays the filename path while showing the error message. Last edited by Mark McLeod : 22-09-2004 at 13:16. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IFI Loader problems | billstu | Programming | 22 | 23-03-2004 11:39 |
| IFI loader help! | ShadowKnight | Programming | 7 | 10-02-2004 17:46 |
| White Paper Discuss: IFI Loader for Linux with compiling instructions | CD47-Bot | Extra Discussion | 1 | 09-02-2004 16:46 |
| IFI Loader Doc's | Raven_Writer | Programming | 0 | 21-01-2004 17:53 |
| Bug in IFI Loader | rwaliany | Programming | 2 | 06-01-2004 21:26 |