Keil™, An ARM® Company

Technical Support

µVISION1: COULD NOT EXECUTE TRANSLATOR


Information in this article applies to:

  • µVision Version 1

QUESTION

When I try to compile with my C51 compiler, I am getting the error message: could not execute translator. How can I fix this?

ANSWER

You need to set your environment pathspecs. In µVision, go to the options menu, choose environment pathspecs. If you installed your compiler in the default directory, the pathspecs should read:

  • C:\C51\BIN
  • C:\C51\INC
  • C:\C51\LIB
  • C:\TMP

Be sure the TMP is a real directory, check by trying to open it. From DOS, you can check your autoexec.bat file. If you installed your tools in a different directory, make sure the correct pathspecs are included. Remember, the path limit is 127 characters total.

Last Reviewed: Wednesday, May 05, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure