- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi guy
I build one simple nios project in quartus II 10.0 software, compile my software is ok, i have downloaded the sof file into FPGA via jtag. when i prepare to download the ELF file via nios II IDE run --> debug as --> NIOS II hardware, i meet error always. could somebody help me? thanks a lot. the error log as follows: Downloading ELF Process failed An exception stack trace is not available. eclipse.buildId=M20090917-0800 java.version=1.6.0_14 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product -perspective com.altera.sbtgui.ui.cPerspective build logs: !ENTRY com.altera.sbtgui.launch 2 0 2010-08-02 21:06:25.250 !MESSAGE Connected system ID hash not found on target at expected base address. !ENTRY com.altera.sbtgui.launch 2 0 2010-08-02 21:06:25.250 !MESSAGE Connected system timestamp not found on target at expected base address. !ENTRY com.altera.sbtgui.launch 1 0 2010-08-02 21:06:30.156 !MESSAGE Executing: [C:\WINDOWS\system32\cmd.exe, /C, C:/altera/10.0/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --accept-bad-sysid --sidp=Not Found --reset-target /cygdrive/d/quartus_project/nois/software/ledeclipse/ledeclipse.elf] !ENTRY com.altera.sbtgui.launch 4 0 2010-08-02 21:06:32.078 !MESSAGE Failed Executing: [nios2-download, '--cable=USB-Blaster on localhost [USB-0]', --device=1, --instance=0, --accept-bad-sysid, --sidp=Not Found, --reset-target, /cygdrive/d/quartus_project/nois/software/ledeclipse/ledeclipse.elf] return code: 16 !ENTRY com.altera.sbtgui.launch 4 0 2010-08-02 21:06:32.078 !MESSAGE Downloading ELF Process failed !ENTRY com.altera.sbtgui.launch 2 0 2010-08-02 21:06:42.484 !MESSAGE Connected system ID hash not found on target at expected base address. !ENTRY com.altera.sbtgui.launch 2 0 2010-08-02 21:06:42.484 !MESSAGE Connected system timestamp not found on target at expected base address. !ENTRY com.altera.sbtgui.launch 2 0 2010-08-02 21:06:42.484 !MESSAGE Connected system ID hash not found on target at expected base address. !ENTRY com.altera.sbtgui.launch 2 0 2010-08-02 21:06:42.484 !MESSAGE Connected system timestamp not found on target at expected base address. !ENTRY com.altera.sbtgui.launch 1 0 2010-08-02 21:06:45.765 !MESSAGE Executing: [C:\WINDOWS\system32\cmd.exe, /C, C:/altera/10.0/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --accept-bad-sysid --sidp=Not Found --reset-target /cygdrive/d/quartus_project/nois/software/ledeclipse/ledeclipse.elf] !ENTRY com.altera.sbtgui.launch 4 0 2010-08-02 21:06:47.671 !MESSAGE Failed Executing: [nios2-download, '--cable=USB-Blaster on localhost [USB-0]', --device=1, --instance=0, --accept-bad-sysid, --sidp=Not Found, --reset-target, /cygdrive/d/quartus_project/nois/software/ledeclipse/ledeclipse.elf] return code: 16 !ENTRY com.altera.sbtgui.launch 4 0 2010-08-02 21:06:47.671 !MESSAGE Downloading ELF Process failed if the message i afford is not enough, i can afford more thanks :confused:Link Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Legendflying,
Are you using the System ID component in your SOPC component? Did you remember to drive the reset_n input of the SOPC component in the top level of your design? (I spent an embarassingly long time overlooking that yesterday with the same error as yourself)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi sebastian.f
i use cyclone II ep2c8q208c8 chip. I have one reset signal for the configured processor via the pin4. could you tell me how to set the System ID function. in NIOS II IDE, run--> debug configurations-->target connection, i select ignore mismatched System ID and ignore mismatched System timestamp.if i don't select these two option, i can't click the button of "Debug" thanks for your kindly help.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi sebastian.f
i add system ID in Altera SOPC builder software-->system contents's Tags row, is there the right place? add 10101000 for instruction_master,10101001 for data_master, the other tags follow this rule. is it right?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there. Not quite sure where you are regarding the tags. The System ID Peripheral is in the Component Library in the SOPC builder.
Library > Peripherals > Debug and Performance > System ID Peripheral What this does is create and store a couple of values that can be read from the data bus. These values are generated by the SOPC builder every time you generate your project. You need to regenerate your BSP in Eclipse to update the expected values. When you try and load your software Eclipse will attempt to read these values from the device and compare them with the expected values in the SOPC information file in your BSP. The result is you can't try and load software onto a device that has been programmed with a different hardware design. Remember that reset is active low so Pin 4 needs to be pulled high. Also which version of the NIOS II are you using? All but the /e require a license and so are time limited, so make sure you are programming your Cyclone with the correct SOF before trying to load the software.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi sebastian.f
when i add System ID peripheral module as you said,Library > Peripherals > Debug and Performance > System ID Peripheral now my NIOS can bring up and the function is ok thank you very much. what function does this module do in the NIOS II system? manage the peripherals around the CPU? assign ID number for these peripherals.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Legendflying.
Excellent; good to hear its all working! The System ID peripheral is bascially a ROM that contains two 32 bit values, that are set by the SOPC builder every time your system is generated. When you create your Board Support Package in Eclipse for your software, these two values are read from the SOPC information file generated by Quartus. When you download your software Eclipse will read the two values from the System ID component and compare with the ones in the SOPC info file. The purpose of this is to ensure that the SOF that has been used to configure your Cyclone is the same one the software has been compiled for, otherwise it may not run correctly. As I said the sysid component is just a ROM instantiation; it doesn't do anything other than store a couple of values but it can save a great deal of time debugging software thats running on the wrong system. See Alteras documentation for more: http://www.altera.co.jp/literature/hb/nios2/n2cpu_nii51014.pdf- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are numerous reasons for this.
the best you should create project again.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- There are numerous reasons for this. the best you should create project again. --- Quote End --- i have also the same problem and create a new project do not solve it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a bug in Nios2 EDS when System ID is not set, the program issues the nios2-download command with --sidp=Not Found rather than --sidp="Not Found". So you need to configure a dummy value for System ID in the Advanced... part of Run Configurations ->Project for Nios II Hardware configuration. It would be nice if Altera would fix this.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page