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

User command #1: C:\Keil\ARM\BIN31\fromelf.exe --bin -o Example01_LED.bin Example01_LED.axf

While i was running my program, i am getting this error.

User command #1: C:\Keil\ARM\BIN31\fromelf.exe --bin -o Example01_LED.bin Example01_LED.axf
--- Error: User Command terminated, Exit-Code = 1

i found that this is not that neither from Compiler nor from linker.
this is generated from external command "fromelf"

as my knowledge concern fromelf is used to convert .hex file to .bin file.

why i am getting this ? how to avoid this ? plz help me
how do i get the .bin file.

Parents
  • Hi all, finally i found the problem.
    actually durning keil4 installation the command path was wrong. seeeee below
    go to
    1>properties of the target
    2>select user tab
    3> change BIN31 to BIN 40 ---> C:\Keil\ARM\BIN31\fromelf.exe --bin -o Example01_LED.bin Example01_LED.axf
    4>C:\Keil\ARM\BIN40\fromelf.exe --bin -o Example01_LED.bin Example01_LED.axf
    now compile, now there are no errors.

Reply
  • Hi all, finally i found the problem.
    actually durning keil4 installation the command path was wrong. seeeee below
    go to
    1>properties of the target
    2>select user tab
    3> change BIN31 to BIN 40 ---> C:\Keil\ARM\BIN31\fromelf.exe --bin -o Example01_LED.bin Example01_LED.axf
    4>C:\Keil\ARM\BIN40\fromelf.exe --bin -o Example01_LED.bin Example01_LED.axf
    now compile, now there are no errors.

Children