cancel
Showing results for 
Search instead for 
Did you mean: 

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

jeff.lee
Associate III

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

2 REPLIES 2
S.Ma
Principal

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

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.