Forum Discussion
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 ...
Altera_Forum
Honored Contributor
20 years agoHi m_fox,
> (XXXX<<4) + YYYY > > is it correct? Yes. > but it's funny, why objcopy sometimes generates records 05 and sometimes 03? I don't know why this happens -- record type 05 (start linear address) is certainly more appropriate for Nios (and virtually everything other than x86 in real mode). But from a practical point-of-view, it probably doesn't matter -- since device programmers don't use the start records. Regards, --Scott