Forum Discussion
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.011 Replies
- Altera_Forum
Honored Contributor
spaces in filenames ??
- Altera_Forum
Honored Contributor
Hmmm...
this line look suspicious. --accept-bad-sysid, --sidp=Not Found Can you add a SysId component to your system and do it again. - Altera_Forum
Honored Contributor
Open a Nios II Command Shell, change directories to where your ELF is located and try the following command:
If that works, great, but you've got some sort of GUI SNAFU/misuse. If not, then post the error message here. --slackernios2-download -g <ELF file> && nios2-terminal - Altera_Forum
Honored Contributor
I had the exact same problem and error message recently. I never figured out what triggered it or how to directly fix it. After deleting the run configuration and simply recreating it, the problem went away.
- Altera_Forum
Honored Contributor
--- Quote Start ---
If that works, great, but you've got some sort of GUI SNAFU/misuse. --- Quote End --- For me, this worked. In order to make gui work, what should I do? reinstall the NIOS2 IDE?nios2-download -g <ELF file> && nios2-terminal - Altera_Forum
Honored Contributor
Hi, recreating a Run configuration worked for me. However, I have to do it everytime I restart Eclipse. It is not that much anoying, but does anyone know how to directly fix this?
We have this issue on 3 different computers and projects. Could it be related to the fact that we are not using the System ID and timestamp and must ignore them? - Altera_Forum
Honored Contributor
Perhaps the problem has been fixed in SP1? I haven't tried SP1 yet.
I never figured out what triggers the problem, only how to work around it. It doesn't seem to happen every time for me. I am not using a system ID or time stamp either, so maybe that is factor. - Altera_Forum
Honored Contributor
I have SP1, using the system ID and timestamp, and it still happens to me too. I don't have to recreate the run Configuration, but I have to open it. It delays for a number of seconds, like it is trying to find the comm channel or something. When the window finally opens, I just hit 'Run' and it works fine. Next time I just run from the toolbar.
Occasionally, it gets 'out of sync' again. Rinse... Repeat... - Altera_Forum
Honored Contributor
Thanks for the replies. Because of this nasty little bug, I'll probably suggest my students to continue with the slower Nios II 10.0 IDE.
- Altera_Forum
Honored Contributor
I encountered this error using 10.0 with SP1.
I resolved it by deleting the Hardware debugging configuration and creating a new one. Not a nice bug to tell students because the solution isn't obvious A