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

Generating custom BIN file

Hi,
There is a problem with my batch file compilation which was working with uvision3. I have a bootloader and application code.

I am trying to generate .bin file by coping code to my ER_IROM1 area.
I am getting some error which i have mentioned below.

C:\Development\midas\Project Config>del /q ..\\Bin
C:\Development\midas\Project Config>move ..\\Objects\midas.bin\ER_IROM1 ..\\Bin\ER_IROM1
The directory name is invalid.
C:\Development\midas\Project Config>rmdir ..\\Objects\midas.bin/s/q
The directory name is invalid.
C:\Development\midas\Project Config>ren ..\\Bin\ER_IROM1 midas.bin
The system cannot find the file specified.
"..\Objects\midas.axf" - 0 Error(s), 0 Warning(s).

And this is my batch file,

C:\Keil\ARM\ARMCC\bin\fromelf.exe --bin ..\\Objects\midas.axf --output ..\\Objects\midas.bin
del /q ..\\Bin
move ..\\Objects\midas.bin\ER_IROM1 ..\\Bin\ER_IROM1
rmdir ..\\Objects\midas.bin/s/q
ren ..\\Bin\ER_IROM1 midas.bin

So the bin file is not generated..

Any inputs?

Parents
  • May be you should get some file viewing tools (hex editors, file managers, etc) and inspect the file for yourself?

    Compare the output with similar output from the prior tool chain, or prior releases of the binary for your product.

    No one here knows enough about your product, or can inspect it or the binary produced to given you a remote diagnosis.

    If you're incapable of inspecting the file, and evaluating it's correctness, you are in a better position than us to test it, and try an upgrade.

Reply
  • May be you should get some file viewing tools (hex editors, file managers, etc) and inspect the file for yourself?

    Compare the output with similar output from the prior tool chain, or prior releases of the binary for your product.

    No one here knows enough about your product, or can inspect it or the binary produced to given you a remote diagnosis.

    If you're incapable of inspecting the file, and evaluating it's correctness, you are in a better position than us to test it, and try an upgrade.

Children
No data