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

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

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

2,205 次查看
terrybogard
Contributor II

Dear NXP expert,

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

thanks.

0 项奖励
回复
5 回复数

2,176 次查看
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 项奖励
回复

2,174 次查看
terrybogard
Contributor II

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

0 项奖励
回复

2,168 次查看
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 项奖励
回复

2,166 次查看
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 项奖励
回复

2,164 次查看
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 项奖励
回复