Hi all,
I get WBX, and I want to try benchmark_tx/rx.py on USRP2.
But when I use find_usrps, the program returns “No USRP found.”.
I searched mailing-lists.
I need to update firmware.
I tried this.
–
sudo u2_flash_tool --dev=/dev/sdd1 -t s/w xrx_wbx_raw_eth_20100608.bin
-w
But after that, I can’t use WBX and other dbs.
Brfore that, I can use dbs with WBX exceptions.
Is there a thing that we some should try?
Regards,
youhei
–
[email protected]
Am Sa 09.10.2010 08:33, YouheiFujii [email protected] schrieb:
I tried this.
[email protected]
Discuss-gnuradio Info Page
Hello Youhei,
first you should make sure that the FPGA bitstream is also correctly on
the SD card, use the u2_flash_tool to copy both files to the card. You
should use
http://code.ettus.com/redmine/ettus/attachments/70/u2_rev3-20100603.bin
as the FPGA image.
Then, you should check if the USRP2 boots properly, i.e., if LED “F” is
constantly on (power) and LED “D” turns on after a short while. This
indicates that the SD card is working and the USRP2 booted successfully.
If the LEDs are correct and it is still not working, you should update
gnuradio to the newest version. Maybe your version is not able to speak
with the device correctly.
However, I think your problem is an issue with the USRP2 not booting
correctly.
Regards,
Matthias
[currently in (rainy) Kyoto]
ps:
I think I found your problem after writing this: you have a filesystem
on your SD card, because you use /dev/sdd1. You have to use /dev/sdd
with the u2_flash_tool in order to correctly flash the card, the files
must be written directly on the beginning of the card (and make sure
that /dev/sdd is the correct device first, it will otherwise overwrite
your boot sector or whatever…) If you used a new card, you definitely
need to put both FPGA and firmware on the card.
I tried this.
[email protected]
Discuss-gnuradio Info Page
Dear Matthias:
Thank you for your advice.
first you should make sure that the FPGA bitstream is also correctly on the SD card,
use the u2_flash_tool to copy both files to the card.
You should use http://code.ettus.com/redmine/ettus/attachments/70/u2_rev3-20100603.bin as the FPGA image.
Your mean is that nedd to write “txrx.bin”,
before write “txrx_wbx_raw_eth_20100608.bin” ?
Your mean like this?
$ sudo u2_flash_tool --dev=/dev/XXXX -t s/w txrx.bin -w
$ sudo u2_flash_tool --dev=/dev/sdd1 -t s/w xrx_wbx_raw_eth_20100608.bin
-w
I’ll try this tomorrow!
Then, you should check if the USRP2 boots properly,
i.e., if LED “F” is constantly on (power) and LED “D” turns on after a short while.
This indicates that the SD card is working and the USRP2 booted successfully.
Before update, LED D and F is.
But after that only F.
If the LEDs are correct and it is still not working,
you should update gnuradio to the newest version.
Maybe your version is not able to speak with the device correctly.
Now I use gnuradio-3.2.2.
I think that I can use WBX on USRP2 when I use gnuradio-3.2.2.
But I need to use gnuradio-3.3 to use WBX on USRP1.
Right?
However, I think your problem is an issue with the USRP2 not booting correctly.
Regards,
Matthias
[currently in (rainy) Kyoto]
ps:
I think I found your problem after writing this:
you have a filesystem on your SD card, because you use /dev/sdd1.
You have to use /dev/sdd with the u2_flash_tool in order to correctly
flash the card,
the files must be written directly on the beginning of the card
(and make sure that /dev/sdd is the correct device first, it will
otherwise overwrite your boot sector or whatever…)
If you used a new card, you definitely need to put both FPGA and
firmware on the card.
When I try this command, u2_flash_tool return error.
–
sudo u2_flash_tool --dev=/dev/sdd -t s/w
xrx_wbx_raw_eth_20100608.bin -w
Regards,
youhei
Am Sa 09.10.2010 13:35, YouheiFujii [email protected] schrieb:
Your mean like this?
$ sudo u2_flash_tool --dev=/dev/XXXX -t s/w txrx.bin -w
$ sudo u2_flash_tool --dev=/dev/sdd1 -t s/w xrx_wbx_raw_eth_20100608.bin -w
I’ll try this tomorrow!
More information here:
http://gnuradio.org/redmine/wiki/1/USRP2UserFAQ#How-do-I-change-the-firmware-and-FPGA-code-on-the-SD-Card
Try the following:
(check with the command “dmesg” to to see which device is used for the
SD card, it may change every time you insert the card)
$ dmesg
You will see something like
…
sd 0:0:0:0: [sdd] 3842048 512-byte logical blocks: (1.96 GB/1.83 GiB)
usb-storage: device scan complete
sd 0:0:0:0: [sdd] Write Protect is off
sd 0:0:0:0: [sdd] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sdd] Assuming drive cache: write through
sd 0:0:0:0: [sdd] Assuming drive cache: write through
sdd: sdd1
sd 0:0:0:0: [sdd] Assuming drive cache: write through
sd 0:0:0:0: [sdd] Attached SCSI removable disk
athe end of the output when you insert the card, so in this example sdd
is correct. Be careful that the device is correct.
Then do
$ sudo u2_flash_tool --dev=/dev/sdd -t fpga u2_rev3-20100603.bin -w
$ sudo u2_flash_tool --dev=/dev/sdd -t s/w xrx_wbx_raw_eth_20100608.bin
-w
Then, you should check if the USRP2 boots properly,
i.e., if LED “F” is constantly on (power) and LED “D” turns on after a short while.
This indicates that the SD card is working and the USRP2 booted successfully.
Before update, LED D and F is.
But after that only F.
This means that the SD card is wrong, the USRP2 cannot boot correctly.
If the LEDs are correct and it is still not working,
you should update gnuradio to the newest version.
Maybe your version is not able to speak with the device correctly.
Now I use gnuradio-3.2.2.
I think that I can use WBX on USRP2 when I use gnuradio-3.2.2.
But I need to use gnuradio-3.3 to use WBX on USRP1.
Right?
I think it should work with 3.2.2, the problem is the SD card.
–
What error does it give? Maybe the device has changed from /dev/sdd to
something else. You can check with “dmesg”.
If
$ sudo u2_flash_tool --dev=/dev/sdd1 -t s/w xrx_wbx_raw_eth_20100608.bin
-w
works, then
$ sudo u2_flash_tool --dev=/dev/sdd -t s/w xrx_wbx_raw_eth_20100608.bin
-w
must also work.
Matthias
Dear Matthias and all:
Thank you for your advice.
$ sudo u2_flash_tool --dev=/dev/sdd1 -t s/w xrx_wbx_raw_eth_20100608.bin -w
sdd: sdd1
sd 0:0:0:0: [sdd] Assuming drive cache: write through
sd 0:0:0:0: [sdd] Attached SCSI removable disk
athe end of the output when you insert the card, so in this example sdd is correct. Be careful that the device is correct.
Then do
$ sudo u2_flash_tool --dev=/dev/sdd -t fpga u2_rev3-20100603.bin -w
$ sudo u2_flash_tool --dev=/dev/sdd -t s/w xrx_wbx_raw_eth_20100608.bin -w
–
What error does it give? Maybe the device has changed from /dev/sdd to something else. You can check with “dmesg”.
If
$ sudo u2_flash_tool --dev=/dev/sdd1 -t s/w xrx_wbx_raw_eth_20100608.bin -w
works, then
$ sudo u2_flash_tool --dev=/dev/sdd -t s/w xrx_wbx_raw_eth_20100608.bin -w
must also work.
I can’t use “sdd”.
Please see this…
~/Desktop/gnuradio_fw$ sudo ./u2_flash_tool --dev=/dev/sdd -t fpga
u2_rev3.bin -w
Traceback (most recent call last):
File “./u2_flash_tool”, line 111, in
main()
File “./u2_flash_tool”, line 98, in main
and verify_flash(offset, filename, options.dev))
File “./u2_flash_tool”, line 35, in verify_flash
dev_data = dev.read(len(file_data))
IOError: [Errno 5] Input/output error
~/Desktop/gnuradio_fw$ sudo ./u2_flash_tool --dev=/dev/sdd1 -t fpga
u2_rev3.bin -w
So I try this
$ sudo u2_flash_tool --dev=/dev/sdd1 -t fpga u2_rev3-20100603.bin -w
$ sudo u2_flash_tool --dev=/dev/sdd1 -t s/w xrx_wbx_raw_eth_20100608.bin
-w
After that, my USRP2’s LED is not light up (all of 6 LEDs light OFF)
Regards,
youhei
Hi, all:
I retry firmware-update today.
When I use another SD-card r/w, I could update!!
Now, my USRP2+WBX work very well!!
At last week, SD-card r/w is bad.
That is very old device.
Thank you for your advice.
Dear John and all:
Thank you for your advice.
Now, I use this tool, and write to SD card
“u2_rev3.bin” and “txrx_wbx_raw_eth_20100608.bin”.
After that, my USRP2’ LED is light up but only F.
“find_usrps” command can’t find this USRP2.
And, result of DeviceScan is “/dev/sdd”.
I can’t write “/dev/sdd”, I can write “/dev/sdd1”.
Does anyone have similar experience??
Regards, youhei