Go to Post I can't believe it someone is talking about next years game rationally! - jamie_1930 [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 18-01-2008, 18:18
Samuel H. Samuel H. is offline
Registered User
no team
 
Join Date: Dec 2005
Rookie Year: 1000
Location: World
Posts: 40
Samuel H. has a spectacular aura aboutSamuel H. has a spectacular aura about
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

Last edited by Samuel H. : 19-01-2008 at 10:54. Reason: Further testing
  #2   Spotlight this post!  
Unread 20-01-2008, 01:45
Shinigami2057 Shinigami2057 is offline
Slackware Is Your New God (Mentor)
AKA: Harry Bock
FRC #1350 (Rambots)
Team Role: Programmer
 
Join Date: Oct 2006
Rookie Year: 2006
Location: Johnston, RI
Posts: 106
Shinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really nice
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...
__________________
One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
  #3   Spotlight this post!  
Unread 20-01-2008, 08:59
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: ifi_loader problem: run-time error '70'

Try modifying the permissions on the folder to Read/Write/Modify for the Users group.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #4   Spotlight this post!  
Unread 20-01-2008, 21:45
Samuel H. Samuel H. is offline
Registered User
no team
 
Join Date: Dec 2005
Rookie Year: 1000
Location: World
Posts: 40
Samuel H. has a spectacular aura aboutSamuel H. has a spectacular aura about
Smile 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
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
IFI_Loader Problem, please help. winners Programming 9 18-01-2006 17:54
IFI_Loader problem(new to C, newb) FormatteD_C Programming 3 20-02-2004 11:38
Basic Run Error BBFIRSTCHICK Programming 10 02-04-2003 22:43
Basic Run Error Ulibrium Programming 12 21-02-2002 01:02
Basic Run Error BinaryBob0001 Programming 3 24-01-2002 02:09


All times are GMT -5. The time now is 18:37.

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