Forum Discussion
Altera_Forum
Honored Contributor
16 years agoTrouble with "Try Out uClinux"
Everything works fine until:
>nios2-download -g images/zImage (except I use the image and .sof provided) I've tried: -DE2(2C35) and DE1 dev boards -Ubuntu and CentOS I always get the error: There is no NiosII CPUs with debug modules available which match the values specified... Why would I be getting this error when I'm using the files provided by the wiki?5 Replies
- Altera_Forum
Honored Contributor
is that a mutlicore design?
if it is you need to select the instance and the device nios2-download zImage --go --instance=x --device=x - Altera_Forum
Honored Contributor
I think that you may need to select "cable".
use: nios2-download -c YourCableName -g images/zImage - Altera_Forum
Honored Contributor
Actually, I've tried selecting the cable. I had to when I plugged in the DE1 after the DE2 wasn't working. It wouldn't even let me run without selecting the cable. As far as I know, the test design is a single core.
However, if it was multicore, how would I get the instance and device? Also, I know the processor is there because I can do other stuff with it, just not load the zImage... I've done this before with Quartus 7.2 (I can't remember if it was the web or subscription edition), would it be because I'm attempting to use Quartus 9.1 subscription addition (without the license)? - Altera_Forum
Honored Contributor
Quartus has a (for me) strange way to count the nios2 ids.
The last nios2 you add is always instance 0 The first nios2 instance is 1 the second is 2 and so on ;) (if i write it down like this it seems rather simple how to count :D ) but if there is just one nios2-core it will tell you that there is no instance like... - Altera_Forum
Honored Contributor
ok, so for your statisfaction:
>jtagconfig 1) USB-Blaster [USB 3-1.3] 020B40DD >nios2-download <path>/zImage_DE2_NIOS_HOST_MOUSE_VGA_v1.6 --go --instance=0 --device=1 There are no Nios II CPUs with debug modules available which match the values specified. Please check that your PLD is correctly configured, downloading a new SOF file if necessary. ...and because I'm using this example from the wiki, I can almost guarantee you that there is only one CPU. This is not the problem.