Information in this support solution applies to: C51 Version 6.00 I receive the following error when I link a very simple project in the EVAL version: FATAL ERROR L213:I/O ERROR ON WORK FILE: EXCEPTION 0029H: ACCESS TO FILE DENIED I've checked all the Environment Setup settings (TOOLS.INI or BIN/INC/LIB Folder) and everything seems OK. The autoexec.bat file settings: SET TEMP=C:\WINDOWS\TEMP SET TMP=C:\WINDOWS\TEMP Why am I receiving this error message?
I have the same problem. I was building a very simple project... only one .a51 file: MOV R1,#3 END and when I tried to build it I got thhe following message: Build target 'Target 1' linking... BL51 BANKED LINKER/LOCATER V5.01 - SN: Eval Version COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2002 "test.obj" TO "test" RAMSIZE(256) *** FATAL ERROR L213: I/O ERROR ON WORK FILE: EXCEPTION 0029H: ACCESS TO FILE DENIED Target not created I am using win2000 and the version of the program is V7.01 eval...
EXCEPTION 0029H: ACCESS TO FILE DENIED This error is usually an indication of a permissions problem or of a problem with the temp folder. If your temp folder is read-only or if you do not have access to it, you could receive this error. Jon
I switched to using the uVision IDE and it builds just fine. It must have something to do to with the Cygnal front end. Note that the only draw back to this is the cygnal JTAG debug DLL is hideously slow...
I take that back. I updated to 6.23 and the build breaks again. I'm using Win2K as an administrator, if that matters. TEMP and TMP are defined and valid at the system level.
Do you have any write protected files in the project folder?
One more possible reason that happened to a colleague of mine, though with the actual output instead of the "work file": If there's a subdirectory in the target directory (temp, here) that happens to have the same name as what the compiler is trying to create, you'll also get a permission violation error.