Skip to main content
Carter Lee
Associate III
November 7, 2017
Solved

How to make the firmware as a bin file ?

  • November 7, 2017
  • 2 replies
  • 1795 views
Posted on November 07, 2017 at 04:50

I'd like to make and upload the firmware file into STM32F103C8 board by using UART.

Especially, STM32F103C8 board have boot mode switch and uart connect.

How to make firmware *.bin file to upload to STM32F103C8 by using MDK?

    This topic has been closed for replies.
    Best answer by Tesla DeLorean
    Posted on November 07, 2017 at 05:23

    After Build/Rebuild, Run ♯ 1

    , figure you are processing the .AXF after the linker has generated it. Pretty sure there is documentation.0690X00000604CFQAY.jpg

    2 replies

    Tesla DeLorean
    Guru
    November 7, 2017
    Posted on November 07, 2017 at 04:59

    Keil has a FromELF utility, you can run it from the user tab to build a .BIN file.

    $K\ARM\ARMCC\bin\fromelf.exe --bin --output=@L.bin !L

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Carter Lee
    Associate III
    November 7, 2017
    Posted on November 07, 2017 at 05:14

    Would you mind let me know what should I do for applying ''

    $K\ARM\ARMCC\bin\fromelf.exe --bin --output=@L.bin !L''?

    0690X00000608r7QAA.png
    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    November 7, 2017
    Posted on November 07, 2017 at 05:23

    After Build/Rebuild, Run ♯ 1

    , figure you are processing the .AXF after the linker has generated it. Pretty sure there is documentation.0690X00000604CFQAY.jpg
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    S.Ma
    Principal
    November 7, 2017
    Posted on November 07, 2017 at 05:02

    Go to your toolchain project settings, probably as linker or post linker option where you can generate optionally a MAP, BIN, HEX or SREC/S19 files.