Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

hardware run problem

Altera_Forum
Honored Contributor II
1,771 Views

I am running a modified version of the microtronix loopback example on the cyclone ep1c20  

When i try to run the loopback program on the hardware i get this error: 

 

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. 

 

What is causing this error??java script:emoticon(':(') 

smilie 

 

Winnie
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
441 Views

Winnie, 

 

My 2Cents. 

 

Sometimes you get this error if the CPU you selected in SOPC does not include a a debugger.( Use atleast Level 1 in the JTAG debug module port). 

 

-Baycool
0 Kudos
Altera_Forum
Honored Contributor II
441 Views

I check my cpu settings in the SOPC and level 1 JTAG debug module is selected.  

 

what other settings and/or code can cause this problem?? 

 

PLEASE HELP http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif  

 

Winnie
0 Kudos
Altera_Forum
Honored Contributor II
441 Views

Are you sure that you&#39;re downloading the right SOF file (hardware configuration) before attempting to debug the design? If you&#39;re not, then you&#39;ll see the problem you have described.

0 Kudos
Altera_Forum
Honored Contributor II
441 Views

Funny thing is 

 

It works on the wrong SOF file. When I download the kitchensink.sof, which has a lot of other additional components that are not being used, it works. But when i download the SOF for the hardware configuration, it doesn&#39;t work. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif  

 

 

HELP http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wacko.gif  

 

 

Winnie
0 Kudos
Altera_Forum
Honored Contributor II
441 Views

That&#39;s really bizarre... 

 

In the Nios II IDE, did you create the following for the new project (not the kitchensink one): 

* Library 

* Application 

* Debug Session 

 

Or, are you using the old software project settings with your new system?
0 Kudos
Altera_Forum
Honored Contributor II
441 Views

I took the old loopback project, from microtronix, which was running Nios II with legacy SDK support, and updated to run with HAL 

 

In SOPC, I did the following: 

*removed the rom and increase the on-board ram size. 

*added a JTAG UART 

*change the CPU setting to include a lv. 1 debug module 

*disabled the legacy SDK support 

 

In Nios II IDE, I did the following: 

*start a new project (C++ application with a new system library) 

*modified the original loopback.c code (change the headers, replace API calls with HAL and ANSI C calls, changed register access to use HAL I/O Macros, etc.) 

 

 

Did I miss something?? 

 

Winnie
0 Kudos
Reply