<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックError response from the Bus while trying to decode video</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-response-from-the-Bus-while-trying-to-decode-video/m-p/1599499#M201539</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm creating kernel driver for my client purposes, integrating VPU G1 capabilities of IMX8M Mini. No matter what I try, when I write 0x1 to SWREG1, starting decoding, I get "0x2101" from this register, which translates to:&lt;/P&gt;&lt;P&gt;- Decoder enabled&lt;/P&gt;&lt;P&gt;- Decoder IRQ&lt;/P&gt;&lt;P&gt;-&amp;nbsp;Interrupt status bit bus. Error response from bus.&lt;/P&gt;&lt;P&gt;First two are OK, but the third one is a blocker. I passed DMA address received from&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vb2_dma_contig_plane_dma_addr()&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;function to both SWREG12 and SWREG13. This memory should be HW accessible physical memory. If I am not mistaken, bus error means that there is a problem with memory access, alignment or something other related to memory. What other registers do I HAVE TO set up for this work? I have already checked&amp;nbsp;VPU_BLK_CTRL register, G1 has all fuses enabled and is operating. All I want to get is another error like "SW_DEC_ERROR_INT" or "SW_DEC_BUFFER_INT".&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards,&lt;/DIV&gt;&lt;DIV&gt;Piotr&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;LI-PRODUCT title="iMX8MMINI" id="iMX8MMINI"&gt;&lt;/LI-PRODUCT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Feb 2023 09:42:49 GMT</pubDate>
    <dc:creator>PiotrKrygier</dc:creator>
    <dc:date>2023-02-15T09:42:49Z</dc:date>
    <item>
      <title>Error response from the Bus while trying to decode video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-response-from-the-Bus-while-trying-to-decode-video/m-p/1599499#M201539</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm creating kernel driver for my client purposes, integrating VPU G1 capabilities of IMX8M Mini. No matter what I try, when I write 0x1 to SWREG1, starting decoding, I get "0x2101" from this register, which translates to:&lt;/P&gt;&lt;P&gt;- Decoder enabled&lt;/P&gt;&lt;P&gt;- Decoder IRQ&lt;/P&gt;&lt;P&gt;-&amp;nbsp;Interrupt status bit bus. Error response from bus.&lt;/P&gt;&lt;P&gt;First two are OK, but the third one is a blocker. I passed DMA address received from&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vb2_dma_contig_plane_dma_addr()&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;function to both SWREG12 and SWREG13. This memory should be HW accessible physical memory. If I am not mistaken, bus error means that there is a problem with memory access, alignment or something other related to memory. What other registers do I HAVE TO set up for this work? I have already checked&amp;nbsp;VPU_BLK_CTRL register, G1 has all fuses enabled and is operating. All I want to get is another error like "SW_DEC_ERROR_INT" or "SW_DEC_BUFFER_INT".&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards,&lt;/DIV&gt;&lt;DIV&gt;Piotr&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;LI-PRODUCT title="iMX8MMINI" id="iMX8MMINI"&gt;&lt;/LI-PRODUCT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Feb 2023 09:42:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-response-from-the-Bus-while-trying-to-decode-video/m-p/1599499#M201539</guid>
      <dc:creator>PiotrKrygier</dc:creator>
      <dc:date>2023-02-15T09:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error response from the Bus while trying to decode video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-response-from-the-Bus-while-trying-to-decode-video/m-p/1602996#M201803</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="markedContent"&gt;&lt;SPAN&gt;The maximum size of the encoded frame depends on the input picture. If the encoder reaches the end of the output buffer, it will discard the current frame and return&lt;/SPAN&gt;&lt;BR role="presentation" /&gt;&lt;SPAN&gt;VCENC_OUTPUT_BUFFER_OVERFLOW. Even if the current frame is lost, the encoding process can continue with a new frame which will be INTRA coded to assure that any&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class="highlight selected appended"&gt;error&lt;/SPAN&gt;s are not propagated. You have to alignment in order to pass this buffer.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="markedContent"&gt;&lt;SPAN class=""&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 14:32:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-response-from-the-Bus-while-trying-to-decode-video/m-p/1602996#M201803</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-02-21T14:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error response from the Bus while trying to decode video</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-response-from-the-Bus-while-trying-to-decode-video/m-p/1603053#M201806</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm sorry, but I have trouble understanding. I am working on a decoder, using direct access to VPU registers, not VPU API, so I can't get an error like&amp;nbsp;&lt;SPAN&gt;VCENC_OUTPUT_BUFFER_OVERFLOW. All I'm getting is bus error in SWREG1 register.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 16:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-response-from-the-Bus-while-trying-to-decode-video/m-p/1603053#M201806</guid>
      <dc:creator>PiotrKrygier</dc:creator>
      <dc:date>2023-02-21T16:06:37Z</dc:date>
    </item>
  </channel>
</rss>

