Hi everyone! I´m looking how to generate a .bin file from my little aplication in CW10. I don´t know how to use the "Post-build Steps" in the CW10

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Hi everyone! I´m looking how to generate a .bin file from my little aplication in CW10. I don´t know how to use the "Post-build Steps" in the CW10

830 次查看
jorgehoraciogon
Contributor II

Like I said before, I still can´t generate the .bin file. I followed the instructions of the next link: https://mcuoneclipse.com/2012/09/13/s-record-generation-with-gcc-for-armkinetis/

I´m stuck in the last step I don´t know which one command I need to use.

I tried to generate a s19 file also ..... without success.

I attached the photo.

 

Thanks and regards!

标签 (1)
2 回复数

733 次查看
TICS_Fiona
NXP Employee
NXP Employee

Hello Jorge,

Are you using GCC build tools in your project or Freescale ARM build tools?  For GCC tools, please:

1) Open the project setting using the menu Project > Properties and go to C/C++ Build > Settings > Additional Tools and enable "Create Flash Image".

pic1.png

2) Now press the [OK] button, then reopen the project setting,  it will show up an additional "Create Flash Image" group. Many other formats are available in the drop down, now user can specify Binary as output format.

pic2.png

For Freescale ARM build tools, please refer to:

http://mcuoneclipse.com/2012/09/27/s-record-intel-hex-and-binary-files/

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励

733 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Jorge,

About the generate .bin file or S19 file , only use the steps you mentioned

without the last step can generate .bin file .

After you done these steps,  you can find the .bin file or S19 file under your project :

pastedImage_1.png

The last step is another method.

And if you want know more about the " post-build steps" , i think you can refer to here :\

https://mcuoneclipse.com/2014/09/23/executing-multiple-commands-as-post-build-steps-in-eclipse/  

Hope it helps

Alice