Hi Lewis,
        While that does get rid of the sysref KeyError, executing 
overlay.usp_rf_data_converter_0 now locks up the whole board and I’m forced to 
power cycle.


The contents of ol.ip_dict['usp_rf_data_converter_0’] are (excluding the 
parameters):
{'addr_range': 262144,
 'device': <pynq.pl_server.device.XlnkDevice at 0x7f922cd780>,
 'driver': xrfdc.RFdc,
 'fullpath': 'usp_rf_data_converter_0',
 'gpio': {},
 'interrupts': {'irq': {'controller': 'axi_intc_0',
   'fullpath': 'usp_rf_data_converter_0/irq',
   'index': 3}},
 'mem_id': 's_axi',
 'parameters': { ...},
 'phys_addr': 2684878848,
 'registers': {},
 'state': None,
 'type': 'xilinx.com:ip:usp_rf_data_converter:2.2'}

I’m guessing you came by some of this based on 
https://discuss.pynq.io/t/zcu111-rfsoc-pynq-support-for-vivado-2019-1-hwh-files/685/4?


Any more ideas? As I understand this the python code is depending on 
libxrfdc.so which, since I’m using the 2.5 board image was the result of either 
a 2018.3 or 2019.1 petalinux tool flow run. 

-Jeb 



> On Oct 6, 2020, at 1:42 PM, 'Lewis McLaughlin' via [email protected] 
> <[email protected]> wrote:
> 
> Hi Jeb,
> 
> A workaround you can do is to edit the file 
> "/usr/local/lib/python3.6/dist-packages/xrfdc/config.py" on the board.
> 
> Comment out lines 46,47,60,90,91. These relate to:
> 
> _DAC_DDP: FifoEnable, AdderEnable
> 
> _ADC_DDP: FifoEnable
> 
> Config: MasterADCTile, MasterDACTile
> 
> Hopefully that works for your problem!
> 
> Regards, 
> Lewis. 
> 
> On Tue, 6 Oct 2020, 21:27 Jeb Bailey, <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi Folks,
>       Has anyone here had any success configuring the RFDC block from python 
> using pynq with a bitstream built in Vivado 2019.2? 
> 
> I’m working with the 2.5 ZCU111 SD image with pynq updated to 2.5.4. By using 
> ignore_version=True with loading the overlay I can get the xrfdc driver 
> loaded, however trying to access the block via attributes (e.g. 
> myoverlay.usp_rf_data_converter_0 raises a KeyError: ‘C_Sysref_Master’).
> 
> My sinking suspicion is that I need to rebuild the pynq SDimage with the 
> 2019.2 tool flow but I'm getting the impression this is also a bit of a 
> minefield, so if anyone as insight on this process (or with 2020.1) I’d be 
> interested here as well. 
> 
> Cheers and thanks.
> 
> -Jeb
> 
> —— 
> Dr. J.I. Bailey, III (Jeb) / Project Scientist
> Mazin Lab <http://web.physics.ucsb.edu/~bmazin/> / Department of Physics, UCSB
> jebbailey.com <http://jebbailey.com/> / +1 (734) 389-5143 / 
> skype:spacecolonyone <>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "[email protected] <mailto:[email protected]>" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/00AC3517-ABAF-4C82-8D87-92610569B96A%40ucsb.edu
>  
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/00AC3517-ABAF-4C82-8D87-92610569B96A%40ucsb.edu?utm_medium=email&utm_source=footer>.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "[email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAMakDon_nwa2i%3DcN9Eh6RjSHgnk0fC%3DBSZwk9Yh%2B5Ag_J%2B_xwg%40mail.gmail.com
>  
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAMakDon_nwa2i%3DcN9Eh6RjSHgnk0fC%3DBSZwk9Yh%2B5Ag_J%2B_xwg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/EF47434F-9A78-44E6-87D2-8460EF8F548A%40ucsb.edu.

Reply via email to