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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jump to solution
912 Views
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---

Labels (1)
Tags (3)
1 Solution
166 Views
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

View solution in original post

2 Replies
166 Views
robertpoor
Contributor V

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 Kudos
167 Views
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

View solution in original post