UHD IP Address Setting Issue

Hi all,

I’m trying to get a MIMO setup working using USRP2s with the UHD
drivers. I have a PC with 2 gigabit Ethernet interfaces, and a USRP2
connected to each.

My problem is that I can’t change the USRP2 IP address so that the two
devices have different addresses. I can set the IP address in the
motherboard EEPROM using usrp_burn_mb_eeprom, and I can see the updated
IP address reported when I run uhd_usrp_probe, but the IP address the
USRP2 answers to is still 192.168.10.2.

Power-cycling the device has no effect, nor does trying another PC in
case of any address caching. I’ve tried with UHD firmware & fpga images
built myself from the latest git, and also with the 01/09/2010 release.

I’ve seen on the mailing list archives that some people have had success
with MIMO and UHD, and I haven’t found any reference to IP address
problems. I must be missing something. Could anyone help please?

Thanks in advance,

Adam


Roke Manor Research Ltd, Romsey,
Hampshire, SO51 0ZN, United Kingdom

Part of the Chemring Group
Registered in England & Wales at:
Chemring Group PLC, Chemring House, 1500 Parkway,
Whiteley, Fareham, Hampshire PO15 7AF, ENGLAND
Registered Number: 267550

Visit our website at www.roke.co.uk

The information contained in this e-mail and any attachments is
proprietary to Roke Manor Research Ltd and must not be passed to any
third party without permission. This communication is for information
only and shall not create or change any contractual relationship.

Hi,

usrp2_card_burner_gui.py in share/uhd/utils worked fine for me on
Ubuntu 10.04. Did you set the network interfaces addresses properly?

Cheers,

Veljko

On 11/16/2010 11:57 AM, Gregory, Adam wrote:

updated IP address reported when I run uhd_usrp_probe, but the IP

Thanks in advance,

Adam

Send us an “ifconfig” of your two GiGe interfaces

A fix has been pushed (the eeprom offset was wrong). -Josh

Hi Veljko,

Thanks for replying!

I think the source of the problem might be a bug though:

In uhd/host/lib/usrp/mboard_eeprom.cpp, USRP_NXXX_OFFSETS maps “ip-addr”
to the I2C address 0x08

In uhd/firmware/microblaze/lib/eth_addrs.c , USRP_EE_MBOARD_IP_ADDR (the
I2C address for the ip address) is set to 0x0C

As a result, the host writes the IP address to address 0x08 of the
EEPROM, but the firmware reads its IP address from address 0x0C. Since
the EEPROM at this address is uninitialized, it uses the default IP,
192.168.10.2.

I have been able to make USRP2 IP address setting work on my machine by
changing uhd/host/lib/usrp/mboard_eeprom.cpp to use the address 0x0C.

Cheers,
Adam