Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   ifi_loader problem: run-time error '70' (http://www.chiefdelphi.com/forums/showthread.php?t=61986)

Samuel H. 18-01-2008 18:18

ifi_loader problem: run-time error '70'
 
Hello, I have been having a problem when attempting to select the .hex file to download in ifi_loader v.1.1.0. After I select ok, I get the following error:

Run-time error '70': Permission denied

I am downloading a file from the bottom of the directory tree, so the path is less than 20 characters long.

The memory gauge in MPLAB shows that the file takes up less than 1/4 of the program memeory.

I am using a non-administrator account (school computer). I will be trying with an admin account tomorrow. If it works, though, I would like to avoid having to use it anyway as it would involve having a mentor log in every time I wanted to download to the robot.

Do you have any ideas what is causing this error, or what could be done to fix it?

EDIT:
I have tested on an admin account, and it works. Is there a way to avoid having to use an admin account, though?

Thank you,
Samuel Harrington

Team 931

Shinigami2057 20-01-2008 01:45

Re: ifi_loader problem: run-time error '70'
 
I'm guessing Windows will not let you open the serial port device (COM1, COM2, or whatever) as a limited user (like most operating systems) - I'm not sure if there is a way around it. Try using a USB serial adapter if you have one.

I know how to get around it on Unix, but changing device permissions in Windows is beyond my experience...

Kingofl337 20-01-2008 08:59

Re: ifi_loader problem: run-time error '70'
 
Try modifying the permissions on the folder to Read/Write/Modify for the Users group.

Samuel H. 20-01-2008 21:45

Re: ifi_loader problem: run-time error '70'
 
Thank you Kingofl337, that works.

I think the problem was that ifi_loader keeps the path to the last '.hex' file loaded in a text file in the install directory, instead of in the registry, and it crashes if it cannot write to it.

I had a similar problem with MPLAB, fixed the same way.

Many thanks,
Sam


All times are GMT -5. The time now is 23:13.

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