Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12367 Discussions

Linker Question: How to make a HEX file?

Altera_Forum
Honored Contributor I
793 Views

Using the linker, I end up with a .out file. I need to make either a HEX file (Intel format) or a binary image that can be used by a Flash programmer. 

 

John
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
60 Views

John, 

 

> I need to make either a HEX file (Intel format) 

 

nios2-elf-objcopy -O ihex --gap-fill=0xff a.out a.ihex 

 

> or a binary image that can be used by a Flash programmer. 

 

nios2-elf-objcopy --gap-fill=0xff -O binary a.out a.bin 

 

Regards, 

--Scott
Reply