Altera_Forum
Honored Contributor
20 years agonios2-elf-objcopy BUG??
we are using nios2-elf-objcopy.exe to produce hex file after building a project.
in ihex file 03 record, that points to program entry point, should be MSB. for example we are have 0x00020000 as base address of RAM. after project building process has complete we are call objcopy: nios2-elf-objcopy.exe -O ihex debug\project.elf project.hex program entry point is 0x0000201C8 (proofed in debugger and we are have boot address in another memory). objcopy it produce an ihex file and set program entry point with 03 record type to address 0x200001C8 this is produced string: :04000003200001C810 WHY??? it should be :04000003000201C82E does it bug in objcopy or in elf file?