Am Sa 09.10.2010 13:35, YouheiFujii <gnura...@smappies.net> schrieb: > 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!
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. > > 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 > >> -- 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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio