How to create .hex file for ARM gcc in Freescale_MQX_4_2,

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to create .hex file for ARM gcc in Freescale_MQX_4_2,

1,309 Views
manigandanpapai
Contributor I

For an example project in Freescale_MQX_4_2, "mfs_nandflash_twrk60f120m", I need to create ".hex" as a output in order to load into my device and check the functionality, I tried by changing the settings but even then it is throwing error. Could any help me to get rid from this issue? Reply me soon.

0 Kudos
1 Reply

368 Views
soledad
NXP Employee
NXP Employee

Hello Manigandan,

Open the project setting using the menu Project > Properties and go to C/C++ Build > Settings > Additional Tools and enable’Create Flash Image‘:

pastedImage_0.png

Now you need to press the Apply button:

pastedImage_1.png

Pressing the Apply button will show up an additional ‘Create Flash Image’ group.

pastedImage_2.png

Now you can specify hex as output format:

pastedImage_3.png

Pressing OK, and building your project again, you will show up the hex file together with the application file:

pastedImage_4.png


Have a great day,
Sol

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

0 Kudos