MC56F82748 how can i generate hex file not elf file by CW

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

MC56F82748 how can i generate hex file not elf file by CW

1,693 Views
terrybogard
Contributor II

Dear NXP expert,

forMC56F82748,  how can i generate hex file not elf file by CW?

thanks.

0 Kudos
Reply
5 Replies

1,664 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Adrian,

In CodeWarrior for MCU ver11.x, after you have compiled the project, pls click Project->Properties, the Property Menu will appear as following Fig. You can check the box, then recompile the project, the *.bin or S-Record file will be generated at the directory ...\FLASH_SDM directory or ...\FLASH_LDM

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1634526628016.png

 

0 Kudos
Reply

1,662 Views
terrybogard
Contributor II

only bin file, can't hex file? and I need transfer bin to hex by other tools?

0 Kudos
Reply

1,656 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Terry,

I think the answer is Yes, the CW tools only supports S-Record file and Bin file, it can not generate Hex file, you have to use the other tools to convert the *.bin file to hex file.

BR

XiangJun Rong

0 Kudos
Reply

1,654 Views
terrybogard
Contributor II

Hi xiangjun,

do you have any tools suggested? and if i need update application code by hex file in bootloader, but your bootloader demo code is about S record file, what should i do when hex file used in bootloader?

0 Kudos
Reply

1,652 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose that the bootloader of DSC only supports S-Record file, pls refer to the AN:

https://www.nxp.com.cn/docs/en/application-note/AN4759.pdf

BR

XiangJun Rong

0 Kudos
Reply