Discussion and technical support related to USRP, UHD, RFNoC
View all threadsHi,
I'm getting an error when I try running uhd_usrp_probe on my E100:
root@usrp-e1xx:~# uhd_usrp_probe
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
UHD_003.003.001-3116368
-- Opening device node /dev/usrp_e0...
Error: LookupError: KeyError: key "E" not found in dict(Ss, Ss)
I re-imaged my SD card using the latest images at:
http://files.ettus.com/e1xx_images/
I also download and build the UHD from source using the 3.3.1
directions and later at:
http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ#How-do-I-install-UHD-from-source
but these didn't help.
I tried re-seating the gumstix module, but that didn't seem to help.
Here is the boot-up info:
Texas Instruments X-Loader 1.4.4ss (Oct 24 2011 - 07:06:23)
No NAND detected
OMAP3530-GP ES3.1
Board revision: 1
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2011.06-00575-g6b73deb (Sep 07 2011 - 07:26:10)
OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
Gumstix Overo board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment
In: serial
Out: serial
Err: serial
Board revision: 1
Direct connection on mmc2
Recognized Ettus Research USRP-E (rev 4 E)
Die ID #5a160004000000000403990c0a00b00f
Net: smc911x-0
Warning: failed to set MAC address
Hit any key to stop autoboot: 0
reading boot.scr
** Unable to read "boot.scr" from mmc 0:1 **
reading uImage
2963060 bytes read
Booting from mmc ...
Image Name: Linux-3.0.0+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2962996 Bytes = 2.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
When I run uhd_find_devices, I get the following:
root@usrp-e1xx:~# uhd_find_devices
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
UHD_003.003.001-3116368
Device Address:
type: e100
node: /dev/usrp_e0
name: FP
serial:
Any idea what could be going on? Is the gumstix failing to talk to the USRP?
The only LED that is lit is F.
Also is it suppose to detect NAND flash on the board?
I noticed that the OMAP banner doesn't match what listed on the
Versions wiki page:
from: http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/Versions
Texas Instruments X-Loader 1.4.4ss (Sep 21 2011 - 14:25:55)
OMAP3630/3730-GP ES2.1
Board revision: 2
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2011.06-00575-g6b73deb (Sep 07 2011 - 07:26:10)
OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
Gumstix Overo board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 512 MiB
MMC: OMAP SD/MMC: 0
Thanks,
Tom
On 11/16/2011 02:41 PM, Tom . wrote:
Hi,
I'm getting an error when I try running uhd_usrp_probe on my E100:
I've seen this, and have been having a devil of a time trying to get
some boundaries around the issue.
As a note, we expect to see:
Recognized Ettus Research USRP-E (rev 3 E100)
In the u-boot messages. (If you have a recent E100, you will see rev 4).
Can you run:
root@usrp-e1xx:~# i2cdump -y 3 0x51
And send in the results? You may need to do:
opkg update
opkg install i2c-tools
to get the i2c utilities.
Philip
root@usrp-e1xx:~# uhd_usrp_probe
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
UHD_003.003.001-3116368
-- Opening device node /dev/usrp_e0...
Error: LookupError: KeyError: key "E" not found in dict(Ss, Ss)
I re-imaged my SD card using the latest images at:
http://files.ettus.com/e1xx_images/
I also download and build the UHD from source using the 3.3.1
directions and later at:
http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ#How-do-I-install-UHD-from-source
but these didn't help.
I tried re-seating the gumstix module, but that didn't seem to help.
Here is the boot-up info:
Texas Instruments X-Loader 1.4.4ss (Oct 24 2011 - 07:06:23)
No NAND detected
OMAP3530-GP ES3.1
Board revision: 1
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2011.06-00575-g6b73deb (Sep 07 2011 - 07:26:10)
OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
Gumstix Overo board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment
In: serial
Out: serial
Err: serial
Board revision: 1
Direct connection on mmc2
Recognized Ettus Research USRP-E (rev 4 E)
Die ID #5a160004000000000403990c0a00b00f
Net: smc911x-0
Warning: failed to set MAC address
Hit any key to stop autoboot: 0
reading boot.scr
** Unable to read "boot.scr" from mmc 0:1 **
reading uImage
2963060 bytes read
Booting from mmc ...
Image Name: Linux-3.0.0+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2962996 Bytes = 2.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
When I run uhd_find_devices, I get the following:
root@usrp-e1xx:~# uhd_find_devices
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
UHD_003.003.001-3116368
Device Address:
type: e100
node: /dev/usrp_e0
name: FP
serial:
Any idea what could be going on? Is the gumstix failing to talk to the USRP?
The only LED that is lit is F.
Also is it suppose to detect NAND flash on the board?
I noticed that the OMAP banner doesn't match what listed on the
Versions wiki page:
from: http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/Versions
Texas Instruments X-Loader 1.4.4ss (Sep 21 2011 - 14:25:55)
OMAP3630/3730-GP ES2.1
Board revision: 2
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2011.06-00575-g6b73deb (Sep 07 2011 - 07:26:10)
OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
Gumstix Overo board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 512 MiB
MMC: OMAP SD/MMC: 0
Thanks,
Tom
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
On Wed, Nov 16, 2011 at 3:02 PM, Philip Balister philip@balister.org wrote:
On 11/16/2011 02:41 PM, Tom . wrote:
Hi,
I'm getting an error when I try running uhd_usrp_probe on my E100:
I've seen this, and have been having a devil of a time trying to get
some boundaries around the issue.
As a note, we expect to see:
Recognized Ettus Research USRP-E (rev 3 E100)
In the u-boot messages. (If you have a recent E100, you will see rev 4).
Can you run:
root@usrp-e1xx:~# i2cdump -y 3 0x51
And send in the results? You may need to do:
opkg update
opkg install i2c-tools
to get the i2c utilities.
Philip
Philip,
Thanks for the help.
Here is the dump:
root@usrp-e1xx:~# i2cdump -y 3 0x51
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 03 00 01 04 00 45 00 10 20 00 40 56 59 42 41 .?.??.E.? .@VYBA
10: 03 10 01 03 80 26 1e 78 ee de 95 a3 54 4c 99 26 ?????&?x????TL?&
20: 0f 50 54 a5 4b 00 71 4f 81 80 01 01 01 01 01 01 ?PT?K.qO????????
30: 01 01 01 01 01 01 30 2a 00 98 51 00 2a 40 30 70 ??????0*.?Q.*@0p
40: 13 00 78 2d 11 00 00 1e 00 00 00 ff 00 44 43 33 ?.x-?..?.....DC3
50: 32 33 36 31 4a 41 42 59 56 0a 00 00 00 fc 00 00 2361JABYV?...?..
60: 40 00 00 00 30 01 30 37 46 50 0a 20 00 00 00 fd @...0?07FP? ...?
70: 00 38 4c 1e 51 0e 00 0a 20 20 20 20 20 20 00 c8 .8L?Q?.? .?
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff 00 04 a3 2d 91 38 ...........??-?8
The system is fairly new. The sticker on the back says it is a rev 4.
Thanks for the data.
uhd_usrp_probe --args="model=E100" should succeed. You can try to
rewrite the model string in the eeprom with:
root@usrp-e1xx:~# /usr/share/uhd/utils/usrp_burn_mb_eeprom
--args="model=E100" --key=model --val=E100
If that doesn't work, it is ok to use the --args.. trick to force UHD to
treat it as an E100 while we sort out what is going on.
Philip
On 11/17/2011 08:07 AM, Tom . wrote:
On Wed, Nov 16, 2011 at 3:02 PM, Philip Balister philip@balister.org wrote:
On 11/16/2011 02:41 PM, Tom . wrote:
Hi,
I'm getting an error when I try running uhd_usrp_probe on my E100:
I've seen this, and have been having a devil of a time trying to get
some boundaries around the issue.
As a note, we expect to see:
Recognized Ettus Research USRP-E (rev 3 E100)
In the u-boot messages. (If you have a recent E100, you will see rev 4).
Can you run:
root@usrp-e1xx:~# i2cdump -y 3 0x51
And send in the results? You may need to do:
opkg update
opkg install i2c-tools
to get the i2c utilities.
Philip
Philip,
Thanks for the help.
Here is the dump:
root@usrp-e1xx:~# i2cdump -y 3 0x51
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 03 00 01 04 00 45 00 10 20 00 40 56 59 42 41 .?.??.E.? .@VYBA
10: 03 10 01 03 80 26 1e 78 ee de 95 a3 54 4c 99 26 ?????&?x????TL?&
20: 0f 50 54 a5 4b 00 71 4f 81 80 01 01 01 01 01 01 ?PT?K.qO????????
30: 01 01 01 01 01 01 30 2a 00 98 51 00 2a 40 30 70 ??????0*.?Q.*@0p
40: 13 00 78 2d 11 00 00 1e 00 00 00 ff 00 44 43 33 ?.x-?..?.....DC3
50: 32 33 36 31 4a 41 42 59 56 0a 00 00 00 fc 00 00 2361JABYV?...?..
60: 40 00 00 00 30 01 30 37 46 50 0a 20 00 00 00 fd @...0?07FP? ...?
70: 00 38 4c 1e 51 0e 00 0a 20 20 20 20 20 20 00 c8 .8L?Q?.? .?
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff 00 04 a3 2d 91 38 ...........??-?8
The system is fairly new. The sticker on the back says it is a rev 4.
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
On Thu, Nov 17, 2011 at 9:00 AM, Philip Balister philip@balister.org wrote:
Thanks for the data.
uhd_usrp_probe --args="model=E100" should succeed. You can try to
rewrite the model string in the eeprom with:
root@usrp-e1xx:~# /usr/share/uhd/utils/usrp_burn_mb_eeprom
--args="model=E100" --key=model --val=E100
If that doesn't work, it is ok to use the --args.. trick to force UHD to
treat it as an E100 while we sort out what is going on.
Philip
I ran the commands:
root@usrp-e1xx:~# uhd_usrp_probe --args="model=E100"
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
UHD_003.003.001-3116368
-- Performing wishbone readback test... pass
Error: TypeError: Cannot call set on wax obj base class
-key=model --val=E100r/share/uhd/utils/usrp_burn_mb_eeprom --args="model=E100" -
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
UHD_003.003.001-3116368
-- Performing wishbone readback test... pass
Fetching current settings from EEPROM...
EEPROM ["model"] is "E"
Setting EEPROM ["model"] to "E100"...
Power-cycle the USRP device for the changes to take effect.
I did a reboot and got this:
root@usrp-e1xx:~# reboot
Broadcast message from root (ttyO2) (Thu Nov 17 09:30:19 2011):
The system is going down for reboot NOW!
INIT: Sending pStopping Dropbear SSH server: dropbear.
I logged in and did an init 0 followed by a power cycle. I lost my
first set of power up logs, so i did another init 0.
Power cycled again.
root@usrp-e1xx:~# /usr/share/uhd/utils/usrp_burn_mb_eeprom
--args="model=E100" --key="model" --val="E100"
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
UHD_003.003.001-3116368
-- Performing wishbone readback test... pass
Fetching current settings from EEPROM...
EEPROM ["model"] is "E"
Setting EEPROM ["model"] to "E100"...
Power-cycle the USRP device for the changes to take effect.
Done
Here is the power-up console output:
Texas Instruments X-Loader 1.4.4ss (Oct 24 2011 - 07:06:23)
No NAND detected
OMAP3530-GP ES3.1
Board revision: 1
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2011.06-00575-g6b73deb (Sep 07 2011 - 07:26:10)
OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
Gumstix Overo board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment
In: serial
Out: serial
Err: serial
Board revision: 1
Direct connection on mmc2
Recognized Ettus Research USRP-E (rev 4 E)
Die ID #5a160004000000000403990c0a00b00f
Net: smc911x-0
Warning: failed to set MAC address
Hit any key to stop autoboot: 0
reading boot.scr
** Unable to read "boot.scr" from mmc 0:1 **
reading uImage
2963060 bytes read
Booting from mmc ...
Image Name: Linux-3.0.0+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2962996 Bytes = 2.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
I'm currently trying to get the kalibrate-uhd program to work on my E100.
Can I do something like this (from kalibrate-uhd src/usrp_source.cc )
to work around this:
/*
open() should be called before multiple threads access usrp_source.
*/
int usrp_source::open(unsigned int subdev) {
if(!m_dev) {
uhd::device_addr_t dev_addr("type=e100 model=E100");
if (!(m_dev = uhd::usrp::single_usrp::make(dev_addr))) {
fprintf(stderr, "error: single_usrp::make: failed!\n");
return -1;
}