Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21332 Discussions

Nios2eds can't detect usbblaster

Altera_Forum
Honored Contributor II
1,513 Views

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!
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
785 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
785 Views

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"
0 Kudos
Altera_Forum
Honored Contributor II
785 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
785 Views

FPGA is successfully configured. Leds stop blinking. :(

0 Kudos
Altera_Forum
Honored Contributor II
785 Views

problem is resolved...... 

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

thank you!
0 Kudos
Reply