Re: [USRP-users] Daughtercard Serial Number to Hardware Version

2019-04-02 Thread Dave NotTelling via USRP-users
I forgot to mention that I had talked with Michael West a while back and
been given this idea:

$ /usr/local/lib/uhd/utils/usrp_burn_db_eeprom --unit TX --rev --args
addr=192.168.10.2
[INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_3.13.1.HEAD-0-ga0a71d10
[INFO] [USRP2] Opening a USRP2/N-Series device...
[INFO] [USRP2] Current recv frame size: 1472 bytes
[INFO] [USRP2] Current send frame size: 1472 bytes
[WARNING] [UHD] Unable to set the thread priority. Performance may be
negatively affected.
Please see the general application notes in the manual for instructions.
EnvironmentError: OSError: error in pthread_setschedparam
Reading TX EEPROM on A dboard...
  Current ID: UBX-40 v1 (0x0077)
  Current serial: "XX"
Error: bad lexical cast: source type value could not be interpreted as
target

But it will error out in most cases with the lexical cast error.

On Mon, Apr 1, 2019 at 5:09 PM Dave NotTelling  wrote:

> Is there a way to get the hardware revision of a daughtercard
> (specifically the UBX-40) from the serial number?  Perhaps the serial
> numbers for HW Rev A ended with serial number  kind of thing?  The API
> to retrieve the hardware revision doesn't tend to work with most N210 w/
> UBX-40 setups that I have used, and it would be very helpful to be able to
> get that information without having to take the card out.
>
> I can run uhd_usrp_probe and see "ID: UBX-40 v1" but the hardware rev is B
> according to the sticker on the daughtercard.
>
> Thanks!
>
> -Dave
>
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] Daughtercard Serial Number to Hardware Version

2019-04-01 Thread Dave NotTelling via USRP-users
Is there a way to get the hardware revision of a daughtercard (specifically
the UBX-40) from the serial number?  Perhaps the serial numbers for HW Rev
A ended with serial number  kind of thing?  The API to retrieve the
hardware revision doesn't tend to work with most N210 w/ UBX-40 setups that
I have used, and it would be very helpful to be able to get that
information without having to take the card out.

I can run uhd_usrp_probe and see "ID: UBX-40 v1" but the hardware rev is B
according to the sticker on the daughtercard.

Thanks!

-Dave
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com