<?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のトピックRe: Re: Reading IPU registers with memtool hangs.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259692#M25700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that the address you are reading is correct? IPU1 base address is 0x2600000, not 0x2400000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 07:43:34 GMT</pubDate>
    <dc:creator>jotes</dc:creator>
    <dc:date>2013-11-07T07:43:34Z</dc:date>
    <item>
      <title>Reading IPU registers with memtool hangs.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259689#M25697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever I try to read an IPU register using memtool, the system becomes completely unresponsive (no response on terminal, no response to ping..).&lt;/P&gt;&lt;P&gt;Is anyone else seeing this?&lt;/P&gt;&lt;P&gt;Below is an example of a successful read of a non IPU register (ENET.RDAR), but then right below it I'm reading &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;IPU1.CSI0_SENS_CONF&lt;/SPAN&gt;, and that hangs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;root@hostname:~# memtool ENET.RDAR&lt;/P&gt;
&lt;P&gt;SOC is mx6q&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ENET&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Addr:0x2188000&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ENET.RDAR Addr:0x02188010 Value:0x01000000 - RDAR is a command register, written by the user, to indicate that the receive descriptor ring has been updated, that is, that the driver produced empty receive buffers with the empty bit set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENET.RDAR.RDAR(24..24)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :0x1&lt;/P&gt;
&lt;P&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; Always set to 1 when this register is written, regardless of the value written.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;root@hostname:~# memtool IPU1.CSI0_SENS_CONF&lt;/P&gt;
&lt;P&gt;SOC is mx6q&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;IPU1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Addr:0x2400000&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 21:13:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259689#M25697</guid>
      <dc:creator>mikigrof-tisza</dc:creator>
      <dc:date>2013-11-05T21:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reading IPU registers with memtool hangs.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259690#M25698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably because ipu1_ipu_clk_enable bits are not set in CCM_CCGR3 register.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 14:54:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259690#M25698</guid>
      <dc:creator>jotes</dc:creator>
      <dc:date>2013-11-06T14:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Reading IPU registers with memtool hangs.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259691#M25699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked, thanks.&amp;nbsp; It doesn't hang anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'm now always reading all zeros back.&amp;nbsp; Here's a screendump of how I tried to enable a CSI, and the enable bit is not written:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;root@hostname:~# memtool IPU1.CONF.CSI0_EN&lt;/P&gt;
&lt;P&gt;SOC is mx6q&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;IPU1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Addr:0x2400000&lt;/P&gt;
&lt;P&gt;&amp;nbsp; IPU1.CONF Addr:0x02400000 Value:0x00000000 -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IPU1.CONF.CSI0_EN(0..0)&amp;nbsp;&amp;nbsp;&amp;nbsp; :0x0&lt;/P&gt;
&lt;P&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; Camera Sensor Interface 0 Enable bit&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;root@hostname:~# memtool IPU1.CONF.CSI0_EN=1&lt;/P&gt;
&lt;P&gt;SOC is mx6q&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;write 0x00000001 to Bit 0..0 of 0x02400000&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;root@hostname:~# memtool IPU1.CONF.CSI0_EN&lt;/P&gt;
&lt;P&gt;SOC is mx6q&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;IPU1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Addr:0x2400000&lt;/P&gt;
&lt;P&gt;&amp;nbsp; IPU1.CONF Addr:0x02400000 Value:0x00000000 -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IPU1.CONF.CSI0_EN(0..0)&amp;nbsp;&amp;nbsp;&amp;nbsp; :0x0&lt;/P&gt;
&lt;P&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; Camera Sensor Interface 0 Enable bit&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The interesting thing is that I still read all zeroes even when the CSI is capturing successfully using gstreamer (verified with stream to VLC on PC).&amp;nbsp; I know I'm trying to read from the correct IPU/CSI since the camera is hardwires to IPU1_CSI0 (first IPU, first CSI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what that might be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 20:34:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259691#M25699</guid>
      <dc:creator>mikigrof-tisza</dc:creator>
      <dc:date>2013-11-06T20:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Reading IPU registers with memtool hangs.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259692#M25700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that the address you are reading is correct? IPU1 base address is 0x2600000, not 0x2400000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 07:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259692#M25700</guid>
      <dc:creator>jotes</dc:creator>
      <dc:date>2013-11-07T07:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reading IPU registers with memtool hangs.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259693#M25701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I shouldn't have assumes that the memtool from freescale was configured properly.&amp;nbsp; You're correct, I was accessing the wrong registers.&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;P&gt;-Miki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 13:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reading-IPU-registers-with-memtool-hangs/m-p/259693#M25701</guid>
      <dc:creator>mikigrof-tisza</dc:creator>
      <dc:date>2013-11-07T13:35:39Z</dc:date>
    </item>
  </channel>
</rss>

