Hex file format generation from codewarrior 10.6

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

Hex file format generation from codewarrior 10.6

5,005 Views
dhankarcdas
Contributor II

Hi

I am using CW V10.6 for S12Z VCA controller. The compiler used is S12Z compiler.

Current output format is ".elf".  How can we generate hex format output.

Where is the settings to change the output format.

Please see the image for current options

111416_111416.pngpjtsettings.png

Thanks in advance

Labels (1)
0 Kudos
6 Replies

2,399 Views
kumarmohan7
Contributor I

Hi,

I am Using K70 MCU,

In My Code warrior 10.6 not generate Hex file in My Project,

But I Create New Empty Project Create then Build the project Hex file is generated,

Both Project Setting is Same,

In My Project I am using Flash+DDR,

In Empty Project is using Flash only,

If Any Configuration changes do for Flash & Flash+DDR....

Please Help to Generate Hex File in Flash+DDR Project..

Thanks,

S.Mohankumar 

0 Kudos

2,399 Views
BlackNight
NXP Employee
NXP Employee

Check if you have custom (file specific) options set in your project, see Traps and Pitfalls: No Hex/Bin/S19 File Created with GNU? | MCU on Eclipse 

Erich

0 Kudos

2,399 Views
kumarmohan7
Contributor I

Hi,

Thank you for your Replay...

I already try this options, But not generate a hex file,

In my Project Flash Size is 800KB May Be any size limitation is available,

But i Build Small Project, generate Hex File,

How to solve this problem....?

And in Freescale Universal Bootloader to load Hex File Any Limitation is Available

I try Many time load Program through UART "Address out of range at Line" Error is coming......   

0 Kudos

2,399 Views
BlackNight
NXP Employee
NXP Employee

I'm not aware of any limitations, I have projects with more than 1 MByte Flash and that works well that way.

Have you specificed objcopy in the postbuild settings?

S-Record Generation with gcc for ARM/Kinetis | MCU on Eclipse 

Erich

0 Kudos

2,399 Views
kumarmohan7
Contributor I

Hi,

Thank you for your Replay...

Finally I Generate Hex File, Thank you for your support,

I Want K70 Serial Boot Loader,

I already have Freescale Universal Boot loader, this Boot loader is not load large hex file,

Kinetis Flash Tool 1.2 & 2.0  is not Connect to K70, If you have any UART Boot loader Elf file for K70 Kinetis Flash Tool,

or give any idea for Upload Hex file to K70 through UART.

Thanks & Regards

S.Mohankumar   

0 Kudos

2,399 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

CW for HCS12Z can generate srecord format file but can't hex

pastedImage_0.png

user can convert it to hex with burner.exe tool. see

S-Record, Intel Hex and Binary Files | MCU on Eclipse

can this help you?


Have a great day,
Jennie Zhang

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

0 Kudos