Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   IFI Loader doesnt open .hex file (http://www.chiefdelphi.com/forums/showthread.php?t=49230)

travmizer 30-09-2006 15:53

IFI Loader doesnt open .hex file
 
Ok, so we have till the end of monday to get the robot to work,

I'm the new replacement programmer, and I cant get the loader to work. It's been really bugging me.

It opens, and I click "Browse". When I click on the camera.hex file and press open, I get an alert message. This is about what it reads:

Run-Time Error "76"

:mad: :mad:

Then when I press "OK" It closes IFI Loader.

Could someone please at least give me a hint as to what I should do?
Any help you give would be, well... helpful.

Thank You! :D

MattD 30-09-2006 16:07

Re: IFI Loader doesnt open .hex file
 
Try moving the camera.hex file to a different directory. I believe that Runtime Error 76 in VB6 means that the directory wasn't found. It could be because it's too long of a path.

travmizer 30-09-2006 21:56

Re: IFI Loader doesnt open .hex file
 
Thanks Matt!

I've had problems like that before, so your probably right.

Now I'm ganna burn with anxiety waiting till monday to try it out. :ahh:

chris31 30-09-2006 23:28

Re: IFI Loader doesnt open .hex file
 
76 -- Path not found

ScottWalls 01-10-2006 11:56

Re: IFI Loader doesnt open .hex file
 
Yes, move the hex file to a shallower directory. IFI_Loader can't read long file names. I would recommend moving your whole programming folder further down the file tree.

travmizer 02-10-2006 13:33

Re: IFI Loader doesnt open .hex file
 
Errr, it didn't work, can you maybe give step by step directions?

Would be very appreciated :rolleyes:

travmizer 02-10-2006 13:41

Re: IFI Loader doesnt open .hex file
 
btw: the file with the location is 31 characters long:
C:\mcc18\frc_camera\camera.hex

and the full alert message is:

Run-time error '76':
Path not found

after this alert comes up, it exits the Ifi_loader program :o

travmizer 02-10-2006 14:20

Re: IFI Loader doesnt open .hex file
 
Ok, sorry for posting 3 times in a row, but i just found this link:

http://www.ifirobotics.com/forum/viewtopic.php?t=96

It's about how the loader only accepts files under 32k. I have a feeling mine is 70k, but I'm working on that.

If anyone's got suggestions, they would be appreciated A LOT AND BUNCH!

travmizer 02-10-2006 14:26

Re: IFI Loader doesnt open .hex file
 
or... maybe not?
program memory utilization is 19%

well.. the .hex file is 70k, but the program is apparently not

but i figured the problem, i was using another copie of IFI_loader, so i have that down.

but now, when i press download, (ive pressed the prog button) it says "device found" untill i get an alert-

Runtime error "11"
Division by Zero

any ideas about what this means? :confused:

(sorry about all the posts)

chris31 02-10-2006 16:17

Re: IFI Loader doesnt open .hex file
 
Im glad you have found a solution but please learn to use the edit button. 5 posts is a little much.

Astronouth7303 02-10-2006 20:45

Re: IFI Loader doesnt open .hex file
 
Quote:

Originally Posted by travmizer
any ideas about what this means? :confused:

It means exactly what it says - IFI_Loader attempted to divide by zero. Why it is dividing, I don't know.

If you're feeling brave, you can try PICLoader or pycloader (C vs. Python). http://sf.net/projects/ifi-picloader I wrote pycloader, so any problems you have with it I'd love to hear about. (I think it might be better implemented than the original IFI loader.)


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi