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

nios2-download zImage troble

Altera_Forum
Honored Contributor II
957 Views

Hi friends........... 

 

I had to format my machine and now several things have stopped working :eek: 

 

 

i install the usb blaster and i can download the .sof ....... 

 

$ nios2-configure-sof ~/altera/ca1_sopc.sof Info: ******************************************************************* Info: Running Quartus II Programmer Info: Command: quartus_pgm --no_banner --mode=jtag -o p;/home/franz/altera/ca1_sopc.sof Info: Using programming cable "USB-Blaster " Info: Using programming file /home/franz/altera/ca1_sopc.sof with checksum 0x00AC92FE for device EP4CE75F23@1 Info: Started Programmer operation at Mon Aug 1 11:46:25 2011 Info: Configuring device index 1 Info: Device 1 contains JTAG ID code 0x020F60DD Info: Configuration succeeded -- 1 device(s) configured Info: Successfully performed operation(s) Info: Ended Programmer operation at Mon Aug 1 11:46:29 2011 Info: Quartus II Programmer was successful. 0 errors, 0 warnings Info: Peak virtual memory: 88 megabytes Info: Processing ended: Mon Aug 1 11:46:29 2011 Info: Elapsed time: 00:00:04 Info: Total CPU time (on all processors): 00:00:01 ~/altera/linux/nios2-linux/uClinux-dist/images  

 

 

ok .... but i cant download the zImage on my system........ 

 

$ nios2-download -g zImage 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.  

 

 

I've tried everything possible !!!! if i copy zImage to windows machine and download with nios2 command shell it works !!!!!!! 

 

if i copy zImage to another linux machine works too........... 

 

the problem is my machine......:mad: 

 

anyone can save me not use a windows...... 

 

please......... 

 

( i use ubuntu 10.10 and quartus 10.0 , but i try ubuntu 10.04 and quartus 9.1 too and had same result) 

 

Franz Wagner
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
296 Views

hi all ........ 

 

finally i solve the problem ....... 

 

was my usb blaster instalation............ 

 

here step by step what i do to install usb blaste at 10.10 

 

1 - at /etc/rc.local add this lines  

mount --bind /dev/bus /proc/bus ln -s /sys/kernel/debug/usb/devices /proc/bus/usb/devices2 - at quartusdir/bin do it 

chmod 755 jtagd jtagconfig3 - at /etc/udev/rules.d/ do it : 

sudo gedit 51-usbblaster.rulesat this text editor add : 

# Altera USB-Blaster rule to set mode to 666. SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", RUN+="/bin/chmod 0666 %c"save the file.... 

4 - reboot the system...... 

 

voila 

 

 

Franz Wagner
0 Kudos
Reply