I figured it out. The problem was that in noc_block_split_stream.v, rb_stb was
set to 1'b1 in the noc_shell instantiation.
I changed it to ".rb_stb({NUM_OUTPUTS{1'b1}})" and it seems to have build OK.
________________________________
From: USRP-users <[email protected]> on behalf of Jason
Matusiak via USRP-users <[email protected]>
Sent: Thursday, June 6, 2019 2:04 PM
To: Ettus Mail List
Subject: [USRP-users] problem with custom E320 FPGA image
I've seen chatter on this around here before (an I think I might have been
involved with it during my failed N310 project a while back), but I haven't
come up with a solution yet.
I have a custom RFNoC bitfile I want to use on the E320. I set things up and
built it with the mods in rfnoc_ce_auto_inst_e320.v to fix the clk like is done
in rfnoc_ce_default_inst_e320.v.
It builds fine and I scp it over to the E320. I then load it up with the
command: uhd_image_loader --args="type=e3xx" --fpga-path="/home/root/e320.bit"
It acts like everything worked fine, but then when I probe it, it errors out:
root@ni-e320-318B090:~# uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106600;
UHD_3.14.1.HEAD-0-g5491b80e
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=127.0.0.1,type=e3xx,product=e320,serial=318B090,claimed=False
[INFO] [0/DmaFIFO_0] Initializing block control (NOC ID: 0xF1F0D00000000000)
[INFO] [MPM.PeriphManager] init() called with device args
`mgmt_addr=127.0.0.1,product=e320'.
[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1313 MB/s)
[INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1337 MB/s)
[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000003320)
[INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000001)
[INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000001)
[INFO] [0/DDC_2] Initializing block control (NOC ID: 0xDDC0000000000001)
[INFO] [0/DDC_3] Initializing block control (NOC ID: 0xDDC0000000000001)
[WARNING] [RFNOC] Can't find a block controller for key keepMinN, using default
block controller!
[INFO] [0/keepMinN_0] Initializing block control (NOC ID: 0x229C30C919275220)
[WARNING] [RFNOC] Can't find a block controller for key keepMinN, using default
block controller!
[INFO] [0/keepMinN_1] Initializing block control (NOC ID: 0x229C30C919275220)
[WARNING] [RFNOC] Can't find a block controller for key SplitStream, using
default block controller!
[INFO] [0/SplitStream_0] Initializing block control (NOC ID: 0x5757000000000000)
[ERROR] [UHD] Exception caught in safe-call.
in ctrl_iface_impl<_endianness>::~ctrl_iface_impl() [with uhd::endianness_t
_endianness = (uhd::endianness_t)1]
at /opt/gnuradio/e320/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:52
this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block ctrl
(CE_08_Port_A1) no response packet - AssertionError: bool(buff)
in uint64_t ctrl_iface_impl<_endianness>::wait_for_ack(bool, double) [with
uhd::endianness_t _endianness = (uhd::endianness_t)1; uint64_t = long long
unsigned int]
at /opt/gnuradio/e320/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:142
[ERROR] [MPMD] Failure during block enumeration: EnvironmentError: IOError:
[0/SplitStream_0] sr_read64() failed: EnvironmentError: IOError: Block ctrl
(CE_08_Port_A1) no response packet - AssertionError: bool(buff)
in uint64_t ctrl_iface_impl<_endianness>::wait_for_ack(bool, double) [with
uhd::endianness_t _endianness = (uhd::endianness_t)1; uint64_t = long long
unsigned int]
at /opt/gnuradio/e320/src/uhd/host/lib/rfnoc/ctrl_iface.cpp:142
Error: RuntimeError: Failed to run enumerate_rfnoc_blocks()
root@ni-e320-318B090:~#
I thought that this error was due to the clocks in the inst file being wrong,
but I've made that mod already. Any other thoughts? What is a little weird to
me is that it is complaining about CE_08_Port_A1, but I only have 8 CEs, so I
would have thought my largest one would be CE_07.
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com