Forum Discussion
Altera_Forum
Honored Contributor
20 years agoNios 5.1, elf2flash ignores base address?
I have just upgraded from Version 5 to Version 5.1 The generated command line is this: elf2flash --input=LynxApp.elf --flash=IC2 --boot=c:/altera/kits/nios2_51/components/altera_nios2/boot_...
Altera_Forum
Honored Contributor
20 years agoHi JasonDiplomat,
> Have I missed something, or is there something wrong with elf2flash? You missed something -- you're specifying a boot copier -- so your elf sections get translated into boot records that follow the boot copier code. > S325000000003A700100 ... This is the boot copier code at offset 0 in your flash device. To get a better feel for what's going on, compare the outputs of the following: $ elf2flash --input=LynxApp.elf --flash=IC2 --base=0x100000 --end=0x1FFFFF --reset=0x100000 --output=boot.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec $ elf2flash --input=LynxApp.elf --flash=IC2 --base=0x100000 --end=0x1FFFFF --reset=0x100000 --output=noboot.flash Regards, --Scott