Do you need to call an external utility to create a HEX file in KDS?

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

Do you need to call an external utility to create a HEX file in KDS?

跳至解决方案
2,354 次查看
ocmonte
Contributor III

Hi,

 

I've been playing with KDS and am having a hard time finding where to create an output HEX file like in CW. Is there an option or do I need to run an external utility on the .elf file to generate a HEX, S19, etc.

 

TIA!

 

Monte---

标签 (1)
标记 (3)
1 解答
1,608 次查看
BlackNight
NXP Employee
NXP Employee

Hi Monte,

see section 'Creating Binary Files with GNU ARM Eclipse Plugins' in

Binary Files for the mbed Bootloader with Eclipse and GNU ARM Eclipse Plugins | MCU on Eclipse

Erich

在原帖中查看解决方案

2 回复数
1,608 次查看
robertpoor
Senior Contributor I

For anyone who has come here recently, things have changed a bit in kds_v3.  To enable the generation of .srec files (e.g. as input to a ROM or flash-resident bootloader), navigate to:

Projects => Properties => C/C++ Build => Settings => Toolchains

... and check the [ ] Create Flash Image box.  (While there, you might want to enable the [ ] Print size box as well.)

0 项奖励
回复
1,609 次查看
BlackNight
NXP Employee
NXP Employee

Hi Monte,

see section 'Creating Binary Files with GNU ARM Eclipse Plugins' in

Binary Files for the mbed Bootloader with Eclipse and GNU ARM Eclipse Plugins | MCU on Eclipse

Erich