Forum Discussion
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