Forum Discussion
Altera_Forum
Honored Contributor
10 years ago"elftoflash" reporting error while programming the NIOS CPU on Cyclone V device
Hi friends,
I am novice in NOIS II CPU, I am using an existing example design and trying to learn the NIOS II CPU. After successful generation of the ".elf" file, to flash NIOS II COU on to cyclone V device I am using available GUI flash programmer. But in the process,flash programmer is reporting error "boot copier file name required", I am not getting where to specify the filename of boot copier. Console message : info: jul 18, 2016 12:23:16 pm - (info) elf2flash: args = --input=c:/project/on_going_chapters/ethercat/devboard/new_nios/dbc5_ecat/dbc5cefa7_ethercat/software/nios_v2/nios_v2.elf --output=c:/project/on_going_chapters/ethercat/devboard/new_nios/dbc5_ecat/dbc5cefa7_ethercat/flash/nios_v2_db_epcq_0_data.flash --base=0x2000000 --end=0x4000000 --reset=0x2800000 --verboseinfo: jul 18, 2016 12:23:16 pm - (fine) elf2flash: starting
info: jul 18, 2016 12:23:16 pm - (severe) elf2flash: boot copier file name required
info: jul 18, 2016 12:23:16 pm - (severe) elf2flash: error generating flash file, exiting
error: error code: 5 for command: elf2flash --input="c:/project/on_going_chapters/ethercat/devboard/new_nios/dbc5_ecat/dbc5cefa7_ethercat/software/nios_v2/nios_v2.elf" --output="c:/project/on_going_chapters/ethercat/devboard/new_nios/dbc5_ecat/dbc5cefa7_ethercat/flash/nios_v2_db_epcq_0_data.flash" --base=0x2000000 --end=0x4000000 --reset=0x2800000 --verbose Please help me to resolve the issue. And also please provide me any user guide reference on NIOS II CPU for understanding the error reported by the tool. Thanks in advance for your valuable time. Regards NRM
2 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- Hi friends, I am novice in NOIS II CPU, I am using an existing example design and trying to learn the NIOS II CPU. After successful generation of the ".elf" file, to flash NIOS II COU on to cyclone V device I am using available GUI flash programmer. But in the process,flash programmer is reporting error "boot copier file name required", I am not getting where to specify the filename of boot copier. Console message : info: jul 18, 2016 12:23:16 pm - (info) elf2flash: args = --input=c:/project/on_going_chapters/ethercat/devboard/new_nios/dbc5_ecat/dbc5cefa7_ethercat/software/nios_v2/nios_v2.elf --output=c:/project/on_going_chapters/ethercat/devboard/new_nios/dbc5_ecat/dbc5cefa7_ethercat/flash/nios_v2_db_epcq_0_data.flash --base=0x2000000 --end=0x4000000 --reset=0x2800000 --verboseinfo: jul 18, 2016 12:23:16 pm - (fine) elf2flash: starting
info: jul 18, 2016 12:23:16 pm - (severe) elf2flash: boot copier file name required
info: jul 18, 2016 12:23:16 pm - (severe) elf2flash: error generating flash file, exiting
error: error code: 5 for command: elf2flash --input="c:/project/on_going_chapters/ethercat/devboard/new_nios/dbc5_ecat/dbc5cefa7_ethercat/software/nios_v2/nios_v2.elf" --output="c:/project/on_going_chapters/ethercat/devboard/new_nios/dbc5_ecat/dbc5cefa7_ethercat/flash/nios_v2_db_epcq_0_data.flash" --base=0x2000000 --end=0x4000000 --reset=0x2800000 --verbose Please help me to resolve the issue. And also please provide me any user guide reference on NIOS II CPU for understanding the error reported by the tool. Thanks in advance for your valuable time. Regards NRM --- Quote End --- Hi Friends I am able to solve the issue by modifying the settings in BSP editor. Thanks for your support. Regards NRM
- FPadi
New Contributor
Hi NRM,
I am having the exact same problem. Have been wrestling with it for hours. Can I ask... what did you modify in BSP editor to solve the problem?
Thanks in advance for your help.
FredP
C-Horse SW.