Keil Logo



I'm trying to compile a simple program, and I'm getting a fatal error, creating workfile, can't create workfile. What's wrong?


This can be caused by a problem with the TMP directory. In µVision, pull down options, select environmental pathspecs. The default is to have a TMP directory off your root. Make sure you have a real TMP directory off your C directory, make sure it is a real directory that can be opened. Then set the pathspec to C:\TMP. Also, make sure you don't have a file named TMP, or the compiler will get confused and give you that fatal error again.

Another cause is having over 256 temporary files. If you have a large number of temporary files, close any open applications and delete the remaining temporary files.

Last Reviewed: Saturday, May 8, 2004

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.