This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil error filename.axf, cannot find path, echo off

When I click on build I get the following error:

C:\Users....STM32F4x>echo off The system cannot find the given path "..... filename.axf" Target not created

In the Output tab of Options for Target I have checked the boxes 1. Debug information 2. Create HEX file 3. Browse information

What is the problem here?

Parents
  • Hello sok,

    The batch file, ".\Common\buildsteps.bat", runs before the automated build. It may contain an invalid path. You can "follow the error" and check if it contains valid paths.

    It looks like the project might be trying to run two separate, sequential builds.

    I recommend starting without a batch file, especially if this is your first project.
    You can later use "Create Batch File" to automatically generate a batch file, by enabling it in Options for Target => Output tab. The user should either use a build button or use a batch file to start the build, but they probably don't want to do both.

    Thanks,
    Zack

Reply
  • Hello sok,

    The batch file, ".\Common\buildsteps.bat", runs before the automated build. It may contain an invalid path. You can "follow the error" and check if it contains valid paths.

    It looks like the project might be trying to run two separate, sequential builds.

    I recommend starting without a batch file, especially if this is your first project.
    You can later use "Create Batch File" to automatically generate a batch file, by enabling it in Options for Target => Output tab. The user should either use a build button or use a batch file to start the build, but they probably don't want to do both.

    Thanks,
    Zack

Children
No data