Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#54 Wrong file extension from Create Flash Image

Version 0.5.4
closed-fixed
Interface (13)
5
2013-10-18
2012-10-20
Przemyslaw W
No

Changing Output file format to binary produces binary file with "*.hex" extension. (Project properties->C/C++ Build->ARM Sourcery Windows GNU Flash Image->Output: Output file format (-O): [binary] )
This is not very serious problem but very misleading for people who are new in ARM processors world ;)

Console Log:
<code>
Invoking: ARM Sourcery Windows GNU Create Flash Image
arm-none-eabi-objcopy -O binary Led-Blink1.elf "Led-Blink1.hex"
Finished building: Led-Blink1.hex
</code>
Plugin: GNU ARM C/C++ Development Support - 0.5.4.201202210114
Eclipse: Eclipse IDE for C/C++ Developers, Version: Juno Service Release 1, Build id: 20120920-0800
Toolchain: Sourcery CodeBench Lite 2012.03-56 - 4.6.3
OS: Win7x64

Discussion

  • Confirm. It's annoying bug, because when you load this file to some third-party tools they suppose intel hex format from file extension.

    Workaround: edit "command line pattern" on "Create Flash Image" page, replace ${OUTPUT_PREFIX}${OUTPUT} with ${ProjName}.bin (or specific file name).
    Example: "${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${ProjName}.bin ${INPUTS}"

     
  • fixed in 0.5.5.201309281715

     
    • status: open --> closed
     
    • status: closed --> closed-fixed