Forum Discussion

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

Nios2eds can't detect usbblaster

My os: Ubuntu 12.04 lts

After I configured the .sof file for my de1 board, I tried to program the "hello_world_small" template to the board but i got

"no nios ii target connection paths were located. check connections and that a nios ii .sof is downloaded."

My SOPC design is the following:

https://www.alteraforum.com/forum/attachment.php?attachmentid=7528

Program "hello_world_small.c":

https://www.alteraforum.com/forum/attachment.php?attachmentid=7529

When i selected "run as Nios II Hardware", i received:

https://www.alteraforum.com/forum/attachment.php?attachmentid=7530

Please helps.....

Thanks!

5 Replies

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

    Hi.

    Delete the software and create it one more time. If it doesn't help regenerate nios2 system and recompile Quartus II project, then create your Hello world software. I face the same problem from time to time and don't know another way to solve it) Have a nice day.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank for help

    I recompile software, hardware many times, but i get the same problem.

    I install "Altera Quartus Usb blaster" by creating /etc/udev/rules.d/51-usbblaster.rules:

    # Altera USB-Blaster rule to set mode to 666.

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", MODE="0666", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", RUN+="/bin/chmod 0666 %c"
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Can you check that FPGA is successfully configured? For example, leds start blinking or conversely stop blinking

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

    problem is resolved......

    i add "export QUARTUS_ROOTDIR=/opt/altera/12.0sp1/quartus" in .bashrc file

    thank you!