cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the firmware as a bin file ?

Carter Lee
Associate III
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?

1 ACCEPTED SOLUTION

Accepted Solutions
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 Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

4 REPLIES 4
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 Venmo
Up vote any posts that you find helpful, it shows what's working..
S.Ma
Principal
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.

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
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 Venmo
Up vote any posts that you find helpful, it shows what's working..