Log in

View Full Version : IFI Loader doesnt open .hex file


travmizer
30-09-2006, 15:53
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
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
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
76 -- Path not found

ScottWalls
01-10-2006, 11:56
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
Errr, it didn't work, can you maybe give step by step directions?

Would be very appreciated :rolleyes:

travmizer
02-10-2006, 13:41
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
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
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
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
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.)