Forum Discussion

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

gdb-server can't find Cyclone II board

I'm trying to connect to a Cyclone II board using jtagd and nios2-gdb-server-wrapped under Linux.

They seem to find the USBBlaster OK -- the blue LED flashes briefly when I start the gdb-server, but then the gdb-server complains and exits:

# ./nios2-gdb-server-wrapped
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.# 

Questions:[list][*]In the message above to what does the phrase "the values specified" refer? I don't see where I specified any values.[*]What command line parameters or config file entries do I need to connect to a Cyclone II demo board? I don't have a .jtag.conf file, and I know the gdb-server tries to read ~/.jtag.conf. Neither did I specify a config file when I started jtagd.

[/list]

11 Replies

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

    --- Quote Start ---

    originally posted by grante+nov 1 2006, 01:15 pm--><div class='quotetop'>quote (grante @ nov 1 2006, 01:15 pm)</div>

    --- quote start ---

    <!--quotebegin-hippo@Oct 30 2006, 08:16 PM

    would you please add a page on nios wiki to describe how to setup the gdb server?

    that would be very helpful. http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif

    --- Quote End ---

    Done: http://nioswiki.jot.com/wikihome/linuxgdbserver (http://nioswiki.jot.com/wikihome/linuxgdbserver)

    I see that we&#39;re encouranged to "sign our work" on the Wiki, but I&#39;ve no clue what that means or how to do it.

    FWIW, my privilege problem was due to the fact that I forgot to make /etc/hotplug/usb/usbblaster executable. Making jtagd suid root didn&#39;t work because suid executables ignore the LD_LIBRARY_PATH environment variable.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19059)</div>

    [/b]

    --- Quote End ---

    Thanks. It looks great.

    I don&#39;t understand what they mean by "sign your work", too.