Re: [USRP-users] Error 'Timeout on Chan 0'
Hi Kirsten, That warning means you did not provide a custom C++ block controller for your RFNoC block. If you are only using the Nocscript xml to describe your block (most blocks do this), then you can ignore the warning. Jonathon On Mon, Aug 5, 2019 at 10:49 PM Leong, Kirsten - 0551 - MITLL via USRP-users wrote: > Could this be because I get the warning ‘can’t find a block controller for > key fmdemod, using default block controller!’ or is this a separate problem? > > > > Thanks, > > Kirsten > > > > *From: *USRP-users on behalf of > "Leong, Kirsten - 0551 - MITLL via USRP-users" > > *Reply-To: *"Leong, Kirsten - 0551 - MITLL" > *Date: *Friday, August 2, 2019 at 12:25 PM > *To: *Lars Kuger , "usrp-users@lists.ettus.com" > > *Subject: *Re: [USRP-users] Error 'Timeout on Chan 0' > > > > I tried reformatting the xml file based off the uhd_rfnoc_adder.xml file; > however, I still get the same error. I’m not trying to throw any packets > away so I cannot ignore the error. My block is expecting to take in a > complex 32bit floats and output a 32 bit float. > > > > *From: *USRP-users on behalf of Lars > Kuger via USRP-users > *Reply-To: *Lars Kuger > *Date: *Friday, August 2, 2019 at 10:14 AM > *To: *"usrp-users@lists.ettus.com" > *Subject: *Re: [USRP-users] Error 'Timeout on Chan 0' > > > > Hello Kirsten, > > I remember getting the same error message while developing a custom RFNoC > block. I found the problem to be caused by the corresponding xml file which > is located in the grc folder. I am not sure what part of the file exactly > caused the error message (maybe the ordering of the parameters or tags > within the parameters) but I eventually solved it by replacing the file > with the xml file from a working block and modifying that one. > > Best regards, > Lars > > > > On 02.08.19 15:50, Leong, Kirsten - 0551 - MITLL via USRP-users wrote: > > Hello, > > > > I am using a USRP X310 and am using gnuradio companion to test a custom > block. The current diagram flows as follows: File Source->RFNoC > FIFO->custom block->complex to image->frequency sink. However, when I try > to execute, I get the error ‘timeout on chan 0’. My testbench passes all 5 > cases; I can read signals on the inputs and outputs of the noc block and > the flow graph works once I remove my custom block. Where else should I be > looking? > > > > Thanks, > > Kirsten > > > > > ___ > > USRP-users mailing list > > USRP-users@lists.ettus.com > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > ___ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Re: [USRP-users] Error 'Timeout on Chan 0'
Hi Kirsten, Using the default block controller should work, so I would expect that you can ignore that warning message. In addition to Jonathon's suggestion of using chipscope on your block you could try to narrow down whether the error is caused in your verilog module or in some other file. For instance, what happens if you comment out your code and copy and paste some working verilog code into your module, e.g. from the RFNoC tutorial gain block (or just have a simple loopback)? If the error disappears I would conclude that the error should be somewhere in the fmdemod verilog code. Best regards, Lars On 05.08.19 15:48, Leong, Kirsten - 0551 - MITLL wrote: Could this be because I get the warning ‘can’t find a block controller for key fmdemod, using default block controller!’ or is this a separate problem? Thanks, Kirsten *From: *USRP-users on behalf of "Leong, Kirsten - 0551 - MITLL via USRP-users" *Reply-To: *"Leong, Kirsten - 0551 - MITLL" *Date: *Friday, August 2, 2019 at 12:25 PM *To: *Lars Kuger , "usrp-users@lists.ettus.com" *Subject: *Re: [USRP-users] Error 'Timeout on Chan 0' I tried reformatting the xml file based off the uhd_rfnoc_adder.xml file; however, I still get the same error. I’m not trying to throw any packets away so I cannot ignore the error. My block is expecting to take in a complex 32bit floats and output a 32 bit float. *From: *USRP-users on behalf of Lars Kuger via USRP-users *Reply-To: *Lars Kuger *Date: *Friday, August 2, 2019 at 10:14 AM *To: *"usrp-users@lists.ettus.com" *Subject: *Re: [USRP-users] Error 'Timeout on Chan 0' Hello Kirsten, I remember getting the same error message while developing a custom RFNoC block. I found the problem to be caused by the corresponding xml file which is located in the grc folder. I am not sure what part of the file exactly caused the error message (maybe the ordering of the parameters or tags within the parameters) but I eventually solved it by replacing the file with the xml file from a working block and modifying that one. Best regards, Lars On 02.08.19 15:50, Leong, Kirsten - 0551 - MITLL via USRP-users wrote: Hello, I am using a USRP X310 and am using gnuradio companion to test a custom block. The current diagram flows as follows: File Source->RFNoC FIFO->custom block->complex to image->frequency sink. However, when I try to execute, I get the error ‘timeout on chan 0’. My testbench passes all 5 cases; I can read signals on the inputs and outputs of the noc block and the flow graph works once I remove my custom block. Where else should I be looking? Thanks, Kirsten ___ USRP-users mailing list USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com -- Lars Kuger, M.Sc. Institute for Networked Systems (iNETS) RWTH Aachen University Kackertstrasse 9, 52072 Aachen, Germany Phone: +49 241 80 20915 ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Re: [USRP-users] Error 'Timeout on Chan 0'
Could this be because I get the warning ‘can’t find a block controller for key fmdemod, using default block controller!’ or is this a separate problem? Thanks, Kirsten From: USRP-users on behalf of "Leong, Kirsten - 0551 - MITLL via USRP-users" Reply-To: "Leong, Kirsten - 0551 - MITLL" Date: Friday, August 2, 2019 at 12:25 PM To: Lars Kuger , "usrp-users@lists.ettus.com" Subject: Re: [USRP-users] Error 'Timeout on Chan 0' I tried reformatting the xml file based off the uhd_rfnoc_adder.xml file; however, I still get the same error. I’m not trying to throw any packets away so I cannot ignore the error. My block is expecting to take in a complex 32bit floats and output a 32 bit float. From: USRP-users on behalf of Lars Kuger via USRP-users Reply-To: Lars Kuger Date: Friday, August 2, 2019 at 10:14 AM To: "usrp-users@lists.ettus.com" Subject: Re: [USRP-users] Error 'Timeout on Chan 0' Hello Kirsten, I remember getting the same error message while developing a custom RFNoC block. I found the problem to be caused by the corresponding xml file which is located in the grc folder. I am not sure what part of the file exactly caused the error message (maybe the ordering of the parameters or tags within the parameters) but I eventually solved it by replacing the file with the xml file from a working block and modifying that one. Best regards, Lars On 02.08.19 15:50, Leong, Kirsten - 0551 - MITLL via USRP-users wrote: Hello, I am using a USRP X310 and am using gnuradio companion to test a custom block. The current diagram flows as follows: File Source->RFNoC FIFO->custom block->complex to image->frequency sink. However, when I try to execute, I get the error ‘timeout on chan 0’. My testbench passes all 5 cases; I can read signals on the inputs and outputs of the noc block and the flow graph works once I remove my custom block. Where else should I be looking? Thanks, Kirsten ___ USRP-users mailing list USRP-users@lists.ettus.com<mailto:USRP-users@lists.ettus.com> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Re: [USRP-users] Error 'Timeout on Chan 0'
Hi Kirsten, Have you used chipscope on your block and checked that it is sending out samples? If not, I would suggest at minimum looking at the status of the m_data and s_data AXI stream buses on AXI wrapper. Here is a guide on how to setup chipscope: https://kb.ettus.com/Debugging_FPGA_images Jonathon On Sat, Aug 3, 2019 at 1:24 AM Leong, Kirsten - 0551 - MITLL via USRP-users wrote: > I tried reformatting the xml file based off the uhd_rfnoc_adder.xml file; > however, I still get the same error. I’m not trying to throw any packets > away so I cannot ignore the error. My block is expecting to take in a > complex 32bit floats and output a 32 bit float. > > > > *From: *USRP-users on behalf of Lars > Kuger via USRP-users > *Reply-To: *Lars Kuger > *Date: *Friday, August 2, 2019 at 10:14 AM > *To: *"usrp-users@lists.ettus.com" > *Subject: *Re: [USRP-users] Error 'Timeout on Chan 0' > > > > Hello Kirsten, > > I remember getting the same error message while developing a custom RFNoC > block. I found the problem to be caused by the corresponding xml file which > is located in the grc folder. I am not sure what part of the file exactly > caused the error message (maybe the ordering of the parameters or tags > within the parameters) but I eventually solved it by replacing the file > with the xml file from a working block and modifying that one. > > Best regards, > Lars > > > > On 02.08.19 15:50, Leong, Kirsten - 0551 - MITLL via USRP-users wrote: > > Hello, > > > > I am using a USRP X310 and am using gnuradio companion to test a custom > block. The current diagram flows as follows: File Source->RFNoC > FIFO->custom block->complex to image->frequency sink. However, when I try > to execute, I get the error ‘timeout on chan 0’. My testbench passes all 5 > cases; I can read signals on the inputs and outputs of the noc block and > the flow graph works once I remove my custom block. Where else should I be > looking? > > > > Thanks, > > Kirsten > > > > ___ > > USRP-users mailing list > > USRP-users@lists.ettus.com > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > ___ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Re: [USRP-users] Error 'Timeout on Chan 0'
I tried reformatting the xml file based off the uhd_rfnoc_adder.xml file; however, I still get the same error. I’m not trying to throw any packets away so I cannot ignore the error. My block is expecting to take in a complex 32bit floats and output a 32 bit float. From: USRP-users on behalf of Lars Kuger via USRP-users Reply-To: Lars Kuger Date: Friday, August 2, 2019 at 10:14 AM To: "usrp-users@lists.ettus.com" Subject: Re: [USRP-users] Error 'Timeout on Chan 0' Hello Kirsten, I remember getting the same error message while developing a custom RFNoC block. I found the problem to be caused by the corresponding xml file which is located in the grc folder. I am not sure what part of the file exactly caused the error message (maybe the ordering of the parameters or tags within the parameters) but I eventually solved it by replacing the file with the xml file from a working block and modifying that one. Best regards, Lars On 02.08.19 15:50, Leong, Kirsten - 0551 - MITLL via USRP-users wrote: Hello, I am using a USRP X310 and am using gnuradio companion to test a custom block. The current diagram flows as follows: File Source->RFNoC FIFO->custom block->complex to image->frequency sink. However, when I try to execute, I get the error ‘timeout on chan 0’. My testbench passes all 5 cases; I can read signals on the inputs and outputs of the noc block and the flow graph works once I remove my custom block. Where else should I be looking? Thanks, Kirsten ___ USRP-users mailing list USRP-users@lists.ettus.com<mailto:USRP-users@lists.ettus.com> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com fmdemod_fmdemod.xml Description: fmdemod_fmdemod.xml ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Re: [USRP-users] Error 'Timeout on Chan 0'
Also, there is a timeout clock running somewhere (can't recall off the top of my head) that will throw that message when it gets tripped. That is fine though if you are INTENDING to do something that might cause there to be a gap in samples and trigger a timeout. I had an RFNoC block that was taking chunks of data and throwing away samples until a condition was met. That message was printed because it didn't see samples moving though the stream, but that was by design. I am almost positive that when having this discussion on the mailing-list in the past, someone pointed out where they commented out the line in UHD since they were doing something similar and didn't want to see it. From: USRP-users on behalf of Lars Kuger via USRP-users Sent: Friday, August 2, 2019 10:13 AM To: usrp-users@lists.ettus.com Subject: Re: [USRP-users] Error 'Timeout on Chan 0' Hello Kirsten, I remember getting the same error message while developing a custom RFNoC block. I found the problem to be caused by the corresponding xml file which is located in the grc folder. I am not sure what part of the file exactly caused the error message (maybe the ordering of the parameters or tags within the parameters) but I eventually solved it by replacing the file with the xml file from a working block and modifying that one. Best regards, Lars On 02.08.19 15:50, Leong, Kirsten - 0551 - MITLL via USRP-users wrote: Hello, I am using a USRP X310 and am using gnuradio companion to test a custom block. The current diagram flows as follows: File Source->RFNoC FIFO->custom block->complex to image->frequency sink. However, when I try to execute, I get the error ‘timeout on chan 0’. My testbench passes all 5 cases; I can read signals on the inputs and outputs of the noc block and the flow graph works once I remove my custom block. Where else should I be looking? Thanks, Kirsten ___ USRP-users mailing list USRP-users@lists.ettus.com<mailto:USRP-users@lists.ettus.com> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Re: [USRP-users] Error 'Timeout on Chan 0'
Hello Kirsten, I remember getting the same error message while developing a custom RFNoC block. I found the problem to be caused by the corresponding xml file which is located in the grc folder. I am not sure what part of the file exactly caused the error message (maybe the ordering of the parameters or tags within the parameters) but I eventually solved it by replacing the file with the xml file from a working block and modifying that one. Best regards, Lars On 02.08.19 15:50, Leong, Kirsten - 0551 - MITLL via USRP-users wrote: Hello, I am using a USRP X310 and am using gnuradio companion to test a custom block. The current diagram flows as follows: File Source->RFNoC FIFO->custom block->complex to image->frequency sink. However, when I try to execute, I get the error ‘timeout on chan 0’. My testbench passes all 5 cases; I can read signals on the inputs and outputs of the noc block and the flow graph works once I remove my custom block. Where else should I be looking? Thanks, Kirsten ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
[USRP-users] Error 'Timeout on Chan 0'
Hello, I am using a USRP X310 and am using gnuradio companion to test a custom block. The current diagram flows as follows: File Source->RFNoC FIFO->custom block->complex to image->frequency sink. However, when I try to execute, I get the error ‘timeout on chan 0’. My testbench passes all 5 cases; I can read signals on the inputs and outputs of the noc block and the flow graph works once I remove my custom block. Where else should I be looking? Thanks, Kirsten ___ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com