<?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>topic Re: Fixing 'base address switching Change Err' which occurs randomly in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902316#M136145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing the exact same issue(base address switching error) frequently. I am using the latest kernel 4.14.98. I flashed my sd card using the default SD card image provided by NXP(&lt;A class="link-titled" href="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L4.14.98_2.0.0_MX8MQ&amp;amp;appType=file1&amp;amp;DOWNLOAD_ID=null&amp;amp;lang_cd=en" title="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L4.14.98_2.0.0_MX8MQ&amp;amp;appType=file1&amp;amp;DOWNLOAD_ID=null&amp;amp;lang_cd=en"&gt;L4.14.98_2.0.0_MX8MQ&lt;/A&gt;&amp;nbsp;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned, the latest ATF,uboot &amp;amp; kernel is included in this SD card image or not? If not, Where i get the latest ATF and u-boot images?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 May 2019 15:42:15 GMT</pubDate>
    <dc:creator>vimalan_93</dc:creator>
    <dc:date>2019-05-25T15:42:15Z</dc:date>
    <item>
      <title>Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902311#M136140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to add support for a new MIPI camera in the NXP i.MX 8M. It is a YUV camera. We are using the L4.14.78_1.0.0_MX8MQ BSP. We are getting 'base address switching Change Err' randomly when trying to stream. We made sure that the sensor side configuration was correct by evaluating the settings and clocks on a different platform. The we tried changing the MIPI receiver clock in the platform side i.e., the 'assigned-clock-rates' property in the following device tree entry. The device tree file is 'fsl-imx8mq.dtsi'. &lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;mipi_csi_1: mipi_csi1@30a70000 {
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "fsl,mxc-mipi-csi2_yav";
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0x0 0x30a70000 0x0 0x1000&amp;gt;; /* MIPI CSI1 Controller base addr */
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;interrupts = &amp;lt;GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH&amp;gt;;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;clocks = &amp;lt;&amp;amp;clk IMX8MQ_CLK_DUMMY&amp;gt;,
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_CORE&amp;gt;,
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_ESC&amp;gt;,
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_PHY_REF&amp;gt;;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;clock-names = "clk_apb", "clk_core", "clk_esc", "clk_pxl";
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;assigned-clocks = &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_CORE&amp;gt;,
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_PHY_REF&amp;gt;,
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;&amp;amp;clk IMX8MQ_CLK_CSI1_ESC&amp;gt;;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;assigned-clock-rates = &amp;lt;133000000&amp;gt;, &amp;lt;100000000&amp;gt;, &amp;lt;66000000&amp;gt;;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;power-domains = &amp;lt;&amp;amp;mipi_csi1_pd&amp;gt;;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;csis-phy-reset = &amp;lt;&amp;amp;src 0x4c 7&amp;gt;;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;phy-gpr = &amp;lt;&amp;amp;gpr 0x88&amp;gt;;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = "disabled";
&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/PRE&gt;&lt;P&gt;When changing the values to the following:&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;assigned-clock-rates = &amp;lt;266000000&amp;gt;, &amp;lt;400000000&amp;gt;, &amp;lt;66000000&amp;gt;;&lt;/PRE&gt;&lt;P&gt;We are successfully able to stream all the resolutions at the expected frame rates. However, the camera doesn't work at random times and we get the 'base address switching Change Err' when it doesn't work. The only way to fix this issue is to reboot the board (once or sometimes multiple times). Then it would work normally and we get uninterrupted streaming as usual. This indicated that the values we've configured for the platform side clock might be the problem. We tried to fix this issue which occurs at random times by reducing the platform side clock and correspondingly the sensor's MIPI clock too. We decreased platform side clocks to the following value:&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;assigned-clock-rates = &amp;lt;266000000&amp;gt;, &amp;lt;150000000&amp;gt;, &amp;lt;66000000&amp;gt;;&lt;/PRE&gt;&lt;P&gt;Now we are able to avoid the 'base address switching Change Err' issue that occurs at random times but couldn't achieve the expected frame rates as we have also reduced the sensor side MIPI clocks. It would we nice if someone could shed some light on how to correctly program the platform side clocks which seems to be the key to adding support for our camera? We believe that the sensor side configuration and clocks are correct as we have tested it in a different platform.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To summarize,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In what scenarios does one face the 'base address switching Change Err'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How to correctly program the values for the 'assigned-clock-rates' property in the device tree for any MIPI CSI2 sensor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Are we missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. For previous generation processors i.e, i.MX6, there's &lt;A href="https://www.nxp.com/files-static/32bit/doc/app_note/AN5305.pdf" rel="nofollow noopener noreferrer" target="_blank"&gt;a document which describes in detail on how to configure the host for different sensors&lt;/A&gt;. It would be great if such a document was made available for i.MX 8M as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sivaraam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 13:13:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902311#M136140</guid>
      <dc:creator>kaartic_sn</dc:creator>
      <dc:date>2019-05-06T13:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902312#M136141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaraam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding 'base address switching Change Err' latest rev.1 4/2019 Reference Manual&lt;/P&gt;&lt;P&gt;gives description in sect.13.7.3.1 Data Transfer with the Embedded DMA Controllers&lt;/P&gt;&lt;P&gt;which provides more understanding for that error. More complete description gives&lt;/P&gt;&lt;P&gt;sect.20.5.15 Base Address Change Error Interrupt (BASEADDR_CHANGE_ERROR)&lt;/P&gt;&lt;P&gt;i.MX6SX Reference Manual&lt;BR /&gt;&lt;A href="http://www.nxp.com/docs/en/reference-manual/IMX6SXRM.pdf"&gt;http://www.nxp.com/docs/en/reference-manual/IMX6SXRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;To transfer data from the RxFIFO to the external memory, user should set the start&lt;BR /&gt;address in the frame buffer where the transferred data is stored, the parameters of the&lt;BR /&gt;frame buffers, and the parameters of the image coming from the sensor. The user can&lt;BR /&gt;have two frame buffers in the external memory. Each one will store a frame of image&lt;BR /&gt;coming from the sensor. The embedded DMA controller will first write the frame buffer1&lt;BR /&gt;and then frame buffer2. These two frame buffers will be written by turns. The start&lt;BR /&gt;address should be aligned in word and set in the CSIDMASA-FB1 and CSIDMASA-FB2&lt;BR /&gt;registers.&lt;/P&gt;&lt;P&gt;Regarding other questions, unfortunately so far there is no additional documentation&lt;/P&gt;&lt;P&gt;for porting new sensor and tweaking clocks, for new camera customizations may be&lt;/P&gt;&lt;P&gt;recommended to proceed with help of &lt;A class="link-titled" href="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE" title="https://www.nxp.com/support/support/nxp-professional-services:PROFESSIONAL-SERVICE"&gt;NXP Professional Services | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 01:06:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902312#M136141</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-05-07T01:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902313#M136142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Sivaraam:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The csi1/2 core_clk only for capture the MIPI transfer data from link, so this clock should &amp;gt;= bandwidth of each lane/8, for example if each lane is 1.5Gbps, this clock should be 1.5G/8=187.5MHz So&lt;STRONG&gt; 200MHz&lt;/STRONG&gt; is enough for 8MQ.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="font-size: 14px;"&gt;The csi1/2 phy_ref_clk is for MIPI_CSI controller user interface and CSI bridge&lt;STRONG&gt; pixel clock&lt;/STRONG&gt;, so this clock should as fast as best, you can configure to &lt;STRONG&gt;333MHz&lt;/STRONG&gt; which is sign-off target frequency on 8MQ.&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tried 1680x1050 60FPS YUV&amp;nbsp; &amp;amp; 1920x1080&amp;nbsp; 30FPS Bayer CSI input source/format, they both worked well on 8MQ, no frames drop happen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;For&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;'base address switching Change Err'? error,&amp;nbsp; We have seen this during two cases:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1:&amp;nbsp; CSI DMA can't transfer data from CSI FIFO to DDR RAM in time,&amp;nbsp; &amp;nbsp;for this case, please confirm you used latest SDK &amp;amp; latest DDR RPA tools, some intermediate version RAP tools set DDR parameter wrongly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2: CSI data format is configured wrongly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2019 00:36:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902313#M136142</guid>
      <dc:creator>haidong_zheng</dc:creator>
      <dc:date>2019-05-08T00:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902314#M136143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/gogoer"&gt;gogoer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your helpful response. We set the clock values to the suggested one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assigned-clock-rates = &amp;lt;200000000&amp;gt;, &amp;lt;333000000&amp;gt;, &amp;lt;66000000&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, we are still facing the "base address switching Change Err" error we faced before. We ensured that we are using the latest SDK and the DDR parameters are set correctly in u-boot. We have also made sure that the CSI data format is configured correctly as we are able to stream successfully at random times (rebooting fixes the issue). At other times we get the "base address switching Change Err" error. Could you help us achieve stable streaming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sivaraam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2019 17:02:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902314#M136143</guid>
      <dc:creator>kaartic_sn</dc:creator>
      <dc:date>2019-05-22T17:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902315#M136144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaartic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have used the latest SDK 4.14.98 include&amp;nbsp; ATF &amp;amp; uboot &amp;amp; Kernel, so far there is no good way to solve this issue from my side.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2019 00:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902315#M136144</guid>
      <dc:creator>haidong_zheng</dc:creator>
      <dc:date>2019-05-24T00:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902316#M136145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing the exact same issue(base address switching error) frequently. I am using the latest kernel 4.14.98. I flashed my sd card using the default SD card image provided by NXP(&lt;A class="link-titled" href="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L4.14.98_2.0.0_MX8MQ&amp;amp;appType=file1&amp;amp;DOWNLOAD_ID=null&amp;amp;lang_cd=en" title="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L4.14.98_2.0.0_MX8MQ&amp;amp;appType=file1&amp;amp;DOWNLOAD_ID=null&amp;amp;lang_cd=en"&gt;L4.14.98_2.0.0_MX8MQ&lt;/A&gt;&amp;nbsp;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned, the latest ATF,uboot &amp;amp; kernel is included in this SD card image or not? If not, Where i get the latest ATF and u-boot images?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 May 2019 15:42:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902316#M136145</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-05-25T15:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902317#M136146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mano:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If SD image flashed, the latest AFT, uboot kernel all are included.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What board you used ? EVK ? How about the camera ov5640 ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2019 08:18:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902317#M136146</guid>
      <dc:creator>haidong_zheng</dc:creator>
      <dc:date>2019-05-27T08:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902318#M136147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;Yes, I am using EVK(Version-B4) board only. In OV5640 operates a very low mipi clock so we can not see this issue. but in&amp;nbsp; our sensor we used higher clock rate for &lt;A href="mailto:1080@60fps"&gt;1080@60fps&lt;/A&gt;. so in our case we faced the BASE_ADDRESS_SWITCH_ERROR very frequently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2019 05:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902318#M136147</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-05-30T05:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902319#M136148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On 850 , what we have tried&amp;nbsp; high mipi clock is 1680x1050x60 argb format.&amp;nbsp; so far no " BASE_ADDRESS_SWITCH_ERROR"&amp;nbsp; happen.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2019 01:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902319#M136148</guid>
      <dc:creator>haidong_zheng</dc:creator>
      <dc:date>2019-05-31T01:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902320#M136149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am meeting the same critical problem. Our product connects a Nextchip N4 to one MIPI-CSI2 port1,&amp;nbsp;Nextchip N4 is converter from a AHD camera to mipi-csi2, support 4 channels, but I just used two channels for user switch camera, , same resolution &lt;A href="mailto:1920x1080@30,"&gt;1920x1080@30 on both,&lt;/A&gt;&amp;nbsp;due to i.mx8mq does not support virtual channels on MIPI CSI, so cannot make it work at the same time, so badly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The issue is : after system reboot, both channel1 or&amp;nbsp;channel2 is working well with i.mx8mq mipi after system reboot, but when i switched N4 channel1 to channel2 without reboot imx8mq, MIPI-CSI2 then entered a crazy mode, always report "base address switching Change Err." and "crc error" on bit0:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MIPI CSI2 HC IRQ STATUS &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x10C = 0x9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;when do&amp;nbsp;gst-launch-1.0 v4l2src again, it did "&lt;/SPAN&gt;&lt;SPAN&gt;csihw_reset","csisw_reset","mxc_mipi_csi2_phy_reset", and I reset N4 also, but all ways could not recover MIPI CS2 to work, have to reboot boards. I am sure N4 side no problem. Any suggestion are welcome, thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In addition, there are two hiden registers on i.mx8mq, but there is explaintion on&amp;nbsp;imx8quadXplus reference manual, but i still cannot understand how to set it to allow channel2 pass, and ignore channel1.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; writel(1, csi2dev-&amp;gt;base_regs + 0x180); //IGNORE_VC &amp;nbsp; &amp;nbsp; &amp;nbsp;only bit[0]? &amp;nbsp;1: ignore, &amp;nbsp;0: accept the channels that&amp;nbsp;VID_VC set?&lt;BR /&gt; /* vid_vc */&lt;BR /&gt; writel(1, csi2dev-&amp;gt;base_regs + 0x184); //VID_VC, &amp;nbsp; &amp;nbsp;if enable channel2, write it to 2?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 03:50:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902320#M136149</guid>
      <dc:creator>weideding</dc:creator>
      <dc:date>2019-06-05T03:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902321#M136150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We confirm 850D /8MQ &lt;STRONG&gt;not&lt;/STRONG&gt; support virtual channel .&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your case , please change to channel 2 on N4 firstly. then reboot the boot, check CSI whether OK.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 00:48:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902321#M136150</guid>
      <dc:creator>haidong_zheng</dc:creator>
      <dc:date>2019-06-06T00:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902322#M136151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried put channel2 as first after reboot, same problem as before. &amp;nbsp;I found if there are different mipi's VC number arrives to mipi-csi, it will go crazy. I tried to use "cr &amp;amp;= ~BIT_BASEADDR_SWITCH_EN" to not use that DMA auto&amp;nbsp;switch, but image is&amp;nbsp;mixed with channel1 and old channel2 picture. it seems the rx fifo still is keeping old something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, found other issue, &amp;nbsp;2 lanes can work for one camera, but 4 lanes does not work at&amp;nbsp;I.MX8MQ. &amp;nbsp;reference design used 2 lanes for ov5640, so I suspect NXP did not test 4 lanes before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 02:59:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902322#M136151</guid>
      <dc:creator>weideding</dc:creator>
      <dc:date>2019-06-06T02:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902323#M136152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We did verify 4 lanes on other&amp;nbsp;MIPI CSI&amp;nbsp;module for 8MQ, it worked well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;EM&gt;-&amp;gt; I tried put channel2 as first after reboot, same problem as before.&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; As you said, there is something wrong on N4 channel 2.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 03:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902323#M136152</guid>
      <dc:creator>haidong_zheng</dc:creator>
      <dc:date>2019-06-06T03:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902324#M136153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can gurantee N4 channel 2 does have problem. &amp;nbsp;when i used channel2, did not do switch, &amp;nbsp;it could work well after system reboot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 03:17:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902324#M136153</guid>
      <dc:creator>weideding</dc:creator>
      <dc:date>2019-06-06T03:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902325#M136154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; do you know how set below registers I mentioned before:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;writel(1, csi2dev-&amp;gt;base_regs + 0x180); //IGNORE_VC &amp;nbsp; &amp;nbsp; &amp;nbsp;only bit[0]? &amp;nbsp;1: ignore, &amp;nbsp;0: accept the channels that&amp;nbsp;VID_VC set?&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;/* vid_vc */&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;writel(1, csi2dev-&amp;gt;base_regs + 0x184); //VID_VC, &amp;nbsp; &amp;nbsp;if enable channel2, write it to 2?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 03:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902325#M136154</guid>
      <dc:creator>weideding</dc:creator>
      <dc:date>2019-06-06T03:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902326#M136155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't touch those register, as 8MQ only support 1 channel.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 03:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902326#M136155</guid>
      <dc:creator>haidong_zheng</dc:creator>
      <dc:date>2019-06-06T03:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902327#M136156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the mipi-cs2 data format/sequence for 4 lanes? is there doc to explain it? below is from N4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85490iFF05F7CBE863E666/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 03:26:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902327#M136156</guid>
      <dc:creator>weideding</dc:creator>
      <dc:date>2019-06-06T03:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902328#M136157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using YUV422 8 bit (Data Type = 0x1E), No error when use 4 lanes, but the image is wrong mix. I think there is something wrong&amp;nbsp;from MIPI-CSI to CSI brigde.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ 40.438747] MIPI CSI2 HC register dump, mipi csi0&lt;BR /&gt;[ 40.443522] MIPI CSI2 HC num of lanes 0x100 = 0x3&lt;BR /&gt;[ 40.448748] MIPI CSI2 HC dis lanes 0x104 = 0x0&lt;BR /&gt;[ 40.454040] MIPI CSI2 HC BIT ERR 0x108 = 0x0&lt;BR /&gt;[ 40.459265] MIPI CSI2 HC IRQ STATUS 0x10C = 0x3f&lt;BR /&gt;[ 40.464639] MIPI CSI2 HC IRQ MASK 0x110 = 0x1ff&lt;BR /&gt;[ 40.470098] MIPI CSI2 HC ULPS STATUS 0x114 = 0x0&lt;BR /&gt;[ 40.475328] MIPI CSI2 HC DPHY ErrSotHS 0x118 = 0x0&lt;BR /&gt;[ 40.480550] MIPI CSI2 HC DPHY ErrSotSync 0x11c = 0x0&lt;BR /&gt;[ 40.485783] MIPI CSI2 HC DPHY ErrEsc 0x120 = 0x0&lt;BR /&gt;[ 40.490952] MIPI CSI2 HC DPHY ErrSyncEsc 0x124 = 0x0&lt;BR /&gt;[ 40.496181] MIPI CSI2 HC DPHY ErrControl 0x128 = 0x0&lt;BR /&gt;[ 40.501402] MIPI CSI2 HC DISABLE_PAYLOAD 0x12C = 0x0&lt;BR /&gt;[ 40.506635] MIPI CSI2 HC DISABLE_PAYLOAD 0x130 = 0x0&lt;BR /&gt;[ 40.511804] MIPI CSI2 HC IGNORE_VC 0x180 = 0x1&lt;BR /&gt;[ 40.517034] MIPI CSI2 HC VID_VC 0x184 = 0x1&lt;BR /&gt;[ 40.522206] MIPI CSI2 HC FIFO_SEND_LEVEL 0x188 = 0x40&lt;BR /&gt;[ 40.527523] MIPI CSI2 HC VID_VSYNC 0x18C = 0x0&lt;BR /&gt;[ 40.532747] MIPI CSI2 HC VID_SYNC_FP 0x190 = 0x0&lt;BR /&gt;[ 40.537980] MIPI CSI2 HC VID_HSYNC 0x194 = 0x0&lt;BR /&gt;[ 40.543149] MIPI CSI2 HC VID_HSYNC_BP 0x198 = 0x0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 05:46:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902328#M136157</guid>
      <dc:creator>weideding</dc:creator>
      <dc:date>2019-06-06T05:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902329#M136158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4lanes can work now, reference manual says&amp;nbsp;max is 125Mhz, it is wrong. &amp;nbsp;change it to 250Mhz,then ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85519i8AEE2CF454D9F8C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 08:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902329#M136158</guid>
      <dc:creator>weideding</dc:creator>
      <dc:date>2019-06-06T08:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing 'base address switching Change Err' which occurs randomly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902330#M136159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivaraam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you finally find a solution for your 'base address switching Change Err'&amp;nbsp; problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 09:51:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fixing-base-address-switching-Change-Err-which-occurs-randomly/m-p/902330#M136159</guid>
      <dc:creator>steven_scholz</dc:creator>
      <dc:date>2019-07-16T09:51:19Z</dc:date>
    </item>
  </channel>
</rss>

