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

956件の閲覧回数
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 返答(返信)

859件の閲覧回数
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 件の賞賛

859件の閲覧回数
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