usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

X310 Image Flashing Problem: "Error: RuntimeError: Device reported an error during initialization."

A
ahmetyilmaz@logdots.com
Mon, Jan 3, 2022 1:45 PM

Hello all,

I am using UHD 4.0 and when I look at the FPGA using Vivado over JTAG, I see that the FPGA is not programmed. So I send HG bitstream which is downloaded with "uhd_images_downloader" via JTAG to X310 (USRP-2945R). I am able to successfully ping the X310 and observe daughterboards and other information with "uhd_usrp_probe". With "uhd_fft" I can properly look at the spectrum of the signal.

However, when I want to flash the UHD 4.0 X310 HG image with "uhd_image_loader", I keep getting "Error: RuntimeError: Device reported an error during initialization.". When I read the contents of the EEPROM with “usrp_burn_mb_eeprom“, X310 appears to be in revision 7. I tried to write to the flash after updating to the revision 8, but I was unsuccessful again.

I can't use X310 without JTAG because of this interesting issue.  If you can point me towards solution, I would be grateful.

Thank you so much.

Hello all, I am using UHD 4.0 and when I look at the FPGA using Vivado over JTAG, I see that the FPGA is not programmed. So I send HG bitstream which is downloaded with "uhd_images_downloader" via JTAG to X310 (USRP-2945R). I am able to successfully ping the X310 and observe daughterboards and other information with "uhd_usrp_probe". With "uhd_fft" I can properly look at the spectrum of the signal. However, when I want to flash the UHD 4.0 X310 HG image with "uhd_image_loader", I keep getting "Error: RuntimeError: Device reported an error during initialization.". When I read the contents of the EEPROM with “usrp_burn_mb_eeprom“, X310 appears to be in revision 7. I tried to write to the flash after updating to the revision 8, but I was unsuccessful again. I can't use X310 without JTAG because of this interesting issue. If you can point me towards solution, I would be grateful. Thank you so much.
MD
Marcus D. Leech
Sun, Jan 9, 2022 11:15 PM

On 2022-01-03 08:45, ahmetyilmaz@logdots.com wrote:

Hello all,

I am using UHD 4.0 and when I look at the FPGA using Vivado over JTAG,
I see that the FPGA is not programmed. So I send HG bitstream which is
downloaded with "uhd_images_downloader" via JTAG to X310 (USRP-2945R).
I am able to successfully ping the X310 and observe daughterboards and
other information with "uhd_usrp_probe". With "uhd_fft" I can properly
look at the spectrum of the signal.

However, when I want to flash the UHD 4.0 X310 HG image with
"uhd_image_loader", I keep getting "Error: RuntimeError: Device
reported an error during initialization.". When I read the contents of
the EEPROM with “usrp_burn_mb_eeprom“, X310 appears to be in revision
7. I tried to write to the flash after updating to the revision 8, but
I was unsuccessful again.

The revision contained in the EEPROM is the HARDWARE revision. You
cannot magically make the hardware a newer revision just by updating the
EEPROM Hardware revision
  number.

You might spend some time here:

https://kb.ettus.com/X300/X310_Device_Recovery

I can't use X310 without JTAG because of this interesting issue. If
you can point me towards solution, I would be grateful.

Thank you so much.


USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-leave@lists.ettus.com

On 2022-01-03 08:45, ahmetyilmaz@logdots.com wrote: > > Hello all, > > I am using UHD 4.0 and when I look at the FPGA using Vivado over JTAG, > I see that the FPGA is not programmed. So I send HG bitstream which is > downloaded with "uhd_images_downloader" via JTAG to X310 (USRP-2945R). > I am able to successfully ping the X310 and observe daughterboards and > other information with "uhd_usrp_probe". With "uhd_fft" I can properly > look at the spectrum of the signal. > > However, when I want to flash the UHD 4.0 X310 HG image with > "uhd_image_loader", I keep getting "Error: RuntimeError: Device > reported an error during initialization.". When I read the contents of > the EEPROM with “usrp_burn_mb_eeprom“, X310 appears to be in revision > 7. I tried to write to the flash after updating to the revision 8, but > I was unsuccessful again. > The revision contained in the EEPROM is the *HARDWARE* revision. You cannot magically make the hardware a newer revision just by updating the EEPROM Hardware revision   number. You might spend some time here: https://kb.ettus.com/X300/X310_Device_Recovery > I can't use X310 without JTAG because of this interesting issue. If > you can point me towards solution, I would be grateful. > > Thank you so much. > > > _______________________________________________ > USRP-users mailing list --usrp-users@lists.ettus.com > To unsubscribe send an email tousrp-users-leave@lists.ettus.com
C
cyberphox@gmail.com
Thu, Jan 30, 2025 3:18 PM

Hi

I am having the same problem using UHD 4.7 on a USRP-2974.  Note I have also used the JTAG recovery method to be sure, this works fine.

uhd_usrp_probe loads ok too. But when I use uhd_image_loader then there is a problem

uhd_image_loader --args="type=x300,addr=192.168.40.2" --fpga-path="x300_final.570080.bit"
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.7.0.HEAD-0-a5ed1872
Unit: USRP NI-2974 (31D28CA, 192.168.40.2)
FPGA Image: /mnt/spirent/posapp/share/posapp/bitfiles/x300_final.570080.bit
failed.
Error: RuntimeError: Device reported an error during initialization.


Below is the output from reading the MB eeprom:

Fetching current settings from EEPROM...
    EEPROM ["revision"] is "12"
    EEPROM ["revision_compat"] is "7"
    EEPROM ["product"] is "31131"
    EEPROM ["mac-addr0"] is "00:80:2f:30:7b:5d"
    EEPROM ["mac-addr1"] is "00:80:2f:30:7b:5e"
    EEPROM ["gateway"] is "192.168.10.1"
    EEPROM ["ip-addr0"] is "192.168.10.2"
    EEPROM ["subnet0"] is "255.255.255.0"
    EEPROM ["ip-addr1"] is "192.168.20.2"
    EEPROM ["subnet1"] is "255.255.255.0"
    EEPROM ["ip-addr2"] is "192.168.30.2"
    EEPROM ["subnet2"] is "255.255.255.0"
    EEPROM ["ip-addr3"] is "192.168.40.2"
    EEPROM ["subnet3"] is "255.255.255.0"
    EEPROM ["serial"] is "31D28CA"
    EEPROM ["name"] is "98AC10626140838F"

Done
Hi I am having the same problem using UHD 4.7 on a USRP-2974. Note I have also used the JTAG recovery method to be sure, this works fine. uhd_usrp_probe loads ok too. But when I use uhd_image_loader then there is a problem ``` uhd_image_loader --args="type=x300,addr=192.168.40.2" --fpga-path="x300_final.570080.bit" ``` ``` [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.7.0.HEAD-0-a5ed1872 ``` ``` Unit: USRP NI-2974 (31D28CA, 192.168.40.2) ``` ``` FPGA Image: /mnt/spirent/posapp/share/posapp/bitfiles/x300_final.570080.bit ``` ``` failed. ``` ``` Error: RuntimeError: Device reported an error during initialization. Below is the output from reading the MB eeprom: Fetching current settings from EEPROM... EEPROM ["revision"] is "12" EEPROM ["revision_compat"] is "7" EEPROM ["product"] is "31131" EEPROM ["mac-addr0"] is "00:80:2f:30:7b:5d" EEPROM ["mac-addr1"] is "00:80:2f:30:7b:5e" EEPROM ["gateway"] is "192.168.10.1" EEPROM ["ip-addr0"] is "192.168.10.2" EEPROM ["subnet0"] is "255.255.255.0" EEPROM ["ip-addr1"] is "192.168.20.2" EEPROM ["subnet1"] is "255.255.255.0" EEPROM ["ip-addr2"] is "192.168.30.2" EEPROM ["subnet2"] is "255.255.255.0" EEPROM ["ip-addr3"] is "192.168.40.2" EEPROM ["subnet3"] is "255.255.255.0" EEPROM ["serial"] is "31D28CA" EEPROM ["name"] is "98AC10626140838F" Done ```
C
cyberphox@gmail.com
Thu, Jan 30, 2025 3:31 PM

Please ignore my last post, Unfortunately there is no way to delete it.

Basically I was remotely accessing the wrong USRP, the one with the above error has a hardware issue. This is why the loader is not working.

Please ignore my last post, Unfortunately there is no way to delete it. Basically I was remotely accessing the wrong USRP, the one with the above error has a hardware issue. This is why the loader is not working.