Keil Logo

µVISION: CAN'T EXECUTE "C:\KEIL\UV2\KSPAWN.EXE" ERROR


Information in this article applies to:

  • uV Version 2.30
  • C51 All Versions

SYMPTOM

When running the HEX2BIX.EXE (supplied by Cypress) using the µVision IDE, I receive the following error message:

User command #1: "c:\keil\c51\bin\hex2bix" hello.hex hello.bin
--- Error: can't execute '"C:\Keil\UV2\KSPAWN.EXE"
           "c:\keil\c51\bin\hex2bix" hello.hex hello.bin'

CAUSE

When µVision detects an execution error while running an external program, the following message displays.

--- Error: can't execute '"C:\Keil\UV2\KSPAWN.EXE" ...

The problem in the example above is that the arguments for HEX2BIX.EXE are incorrectly specified. When the correct arguments are specified, everything works as expected.

RESOLUTION

Change the user command to the following:

"c:\keil\c51\bin\hex2bix" -i hello.hex -o hello.bin

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Thursday, April 22, 2004


Did this article provide the answer you needed?
 
Yes
No
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.