Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

nios2-download: error: wrapper script can only download one file at a time

I am running a very simple sopc system with just a nios2, some onchip memory to store my nios code/data, and a jtag debug port.

I am able to compile in quartus v10.0 and download the .sof to my cyclone 3 devkit.

I fire up the NIOS2 EDS v10.0 and build the hello world template project using the .sopcinfo file for my sopc project.

The NIOS2 EDS then generates the BSP and all the other files for the basic hello world template project.

I then compile the project successfully.

I setup the run configuration, am able to detect the attached cyclone 3 devkit now configured with my project's .sof file.

I hit run and get this error:

nios2-download: error: wrapper script can only download one file at a time

Any ideas on what the problem is? I have attached my error log for reference.

Thanks!

EDIT:

My design environment is:

windows vista business sp2

32 bit version

Quartus & NIOS2 EDS version 10.0

11 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    This is a bug in the EDS. When nios2-download is called, and you have not set a System ID in Nios II Hardware configuration -> Project -> Advanced -> System ID -> ID, the EDS is calling nios2-download with --sidp=Not Found, rather than --sidp="Not Found". Sometimes the system will work regardless, but if you look in the correct console you'll see an error message. It should not be necessary to set that System ID, but setting it to an arbitrary number is a hack to work around the bug. I am using Nios II Software Build Tools for Eclipse (SBT4E) Version: 13.1.0.182 Build id: 201403130039. It would be nice if Altera would fix the bug.