Forum Discussion

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

hardware run problem

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

6 Replies

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

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

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

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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