Skip to main content
jeff.lee
Associate II
December 27, 2018
Question

how to make *.bin file in atollic TrueSTUDIO program ?

  • December 27, 2018
  • 2 replies
  • 1927 views

hello.

i want to make *.bin file for download into stm32L433 chip.

so,

i have to change below option or

 0690X000006CvItQAK.png

i just change below check option

 0690X000006CvJ8QAK.png

please give me information

thanks a lot

This topic has been closed for replies.

2 replies

S.Ma
Principal
December 27, 2018

If the goal to program the flash of mcu, a bin file is a contiguous block of bytes. If you use s19 or hex file text format generated after linker step, the absolute addresses and non contiguous memory areas will be taken care of and supported by programmers tool. Generally these file are either produced by linker setting or file generator after link, regardless of toolchain brand.

RomainR.
ST Employee
December 30, 2018

Hello jeff.lee

With 1st method Post-Build Step):

You can invoke oblcopy command

arm-atollic-eabi-objcopy -O ihex ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.hex; arm-atollic-eabi-objcopy -O binary ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.bin

Or select Binary format converter into Output converter

Regard.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.