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?

0