Convert .elf to .hex

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

Convert .elf to .hex

1,841 Views
rehabmansour
Contributor III

Hi All ,

I am using MPC5606B ,compiler : CW 2.10 and I want to know how to convert a .elf file to .hex file ?

Something similar to gsrec in greenhills

Thanks

0 Kudos
Reply
1 Reply

1,213 Views
liviosandel
Contributor I

After a successfull compilation, you should have several files: a .elf file, a .map file and a .mot file.

then you can use Srecord (SRecord 1.64 ) or similar tools to convert Motorola mot files to Intel Hex files

0 Kudos
Reply