<?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: imx6q Jtag init ram failed</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504108#M81749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fausto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script usage is described in presentation DRAM Controller Optimization&lt;/P&gt;&lt;P&gt;for i.MX Application Processors :&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="1470" data-containertype="600" data-objectid="104363" data-objecttype="102" href="https://community.freescale.com/docs/DOC-104363"&gt;https://community.freescale.com/docs/DOC-104363&lt;/A&gt;&lt;/P&gt;&lt;P&gt;also : what reference design is based your board. Do you mean that&lt;/P&gt;&lt;P&gt;you are using DDR memory 16bit width with i.MX6Q, what is the reason ?&lt;/P&gt;&lt;P&gt;Attached is 16 bit example, one can look at other Sabre SD DDR init scripts on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="2004" data-containertype="14" data-objectid="105652" data-objecttype="102" href="https://community.freescale.com/docs/DOC-105652"&gt;https://community.freescale.com/docs/DOC-105652&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2016 01:56:27 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-04-15T01:56:27Z</dc:date>
    <item>
      <title>imx6q Jtag init ram failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504107#M81748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i'm trying to initialize my DDR3L using the values generated by DDR3 script aid v0.10, but i'm not able to read any registers by jtag.&lt;/P&gt;&lt;P&gt;The SDRAM model is MT41K512M16_DDR3L_8Gb_x16_2CS_TwinDie_V80A&lt;/P&gt;&lt;P&gt;I configured the script as:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32277i5D1AF57F9C28E314/image-size/large?v=v2&amp;amp;px=999" title="Immagine.png" alt="Immagine.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it correct? I have the dought about the chip select.&lt;/P&gt;&lt;P&gt;In the schematic i see the&amp;nbsp; i.MX6Q - DDR module has only DRAM_CS0 connected to CS0 and CS1 MT41K512M16 module.&lt;/P&gt;&lt;P&gt;I see if i use the configuration of Nitrogen6x board, i'm able to read and write the registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 16:59:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504107#M81748</guid>
      <dc:creator>faustosessego1</dc:creator>
      <dc:date>2016-04-14T16:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q Jtag init ram failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504108#M81749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fausto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script usage is described in presentation DRAM Controller Optimization&lt;/P&gt;&lt;P&gt;for i.MX Application Processors :&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="1470" data-containertype="600" data-objectid="104363" data-objecttype="102" href="https://community.freescale.com/docs/DOC-104363"&gt;https://community.freescale.com/docs/DOC-104363&lt;/A&gt;&lt;/P&gt;&lt;P&gt;also : what reference design is based your board. Do you mean that&lt;/P&gt;&lt;P&gt;you are using DDR memory 16bit width with i.MX6Q, what is the reason ?&lt;/P&gt;&lt;P&gt;Attached is 16 bit example, one can look at other Sabre SD DDR init scripts on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="2004" data-containertype="14" data-objectid="105652" data-objecttype="102" href="https://community.freescale.com/docs/DOC-105652"&gt;https://community.freescale.com/docs/DOC-105652&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 01:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504108#M81749</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-04-15T01:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q Jtag init ram failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504109#M81750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Yes i use Imx6q and 16bit because my board is very small (44cm x 44cm)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32298iD1032CDD47ABDD88/image-size/large?v=v2&amp;amp;px=999" title="WM-1_Top_LowRes.jpg" alt="WM-1_Top_LowRes.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The schematic is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32332iE506D5AC4FD91313/image-size/large?v=v2&amp;amp;px=999" title="schemaDDR3.jpg" alt="schemaDDR3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a HW problem ( i missed to connect the &lt;STRONG&gt;ODT[1:0],&lt;/STRONG&gt;&lt;STRONG&gt;Chip Select and &lt;/STRONG&gt;&lt;STRONG&gt;CKE1 &lt;/STRONG&gt;for &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;TwinDie memory).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;My questions are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;1)Can i use only the half memory (512KB) before patching the board?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;2)which is the right configuration of&amp;nbsp; &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt; DDR3 script aid v0.10? I'm trying multiple choises but the board doesn't work. The attached 16 bit example works but why? You give me a generic configuration where the micro was imx6DL and not imx6q, and the DDR3 are different. I'm confused.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;thanks a lot&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 15:19:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504109#M81750</guid>
      <dc:creator>faustosessego1</dc:creator>
      <dc:date>2016-04-15T15:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q Jtag init ram failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504110#M81751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fausto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. yes&lt;/P&gt;&lt;P&gt;2. i.MX6DL and i.MX6Q have similar MMDC modules. For &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;configuration of &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;DDR3 script aid v0.10 one can look at &lt;/SPAN&gt;presentation DRAM Controller Optimizationfor&lt;/P&gt;&lt;P&gt;i.MX Application Processors, it gives example for SDB board. Then change settings&lt;/P&gt;&lt;P&gt;for custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2016 01:27:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504110#M81751</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-04-16T01:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q Jtag init ram failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504111#M81752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;now i'm able to init the ram using the configuration generated by DDR3 script aid v0.10.&lt;/P&gt;&lt;P&gt;I used the configuration of MT41K256M16 / 4Gb ( MT41K512M16 / 8Gb)&amp;nbsp; to int half memory (as you suggested me)&lt;/P&gt;&lt;P&gt;If i try to write and read the PC register i have 2 different behaviours:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32487iF5ADA63C39CEAA58/image-size/large?v=v2&amp;amp;px=999" title="ImmagineDDr.png" alt="ImmagineDDr.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i.Mx6DL &lt;/P&gt;&lt;P&gt;(gdb) mon imx6.cpu.0 mdw 0x17800000 0x04&lt;/P&gt;&lt;P&gt;0x17800000 d2192a00 82100655 84028205 4210de02 .*..U..........B&lt;/P&gt;&lt;P&gt;(gdb) mon imx6.cpu.0 mww 0x17800000 0x123456ab 0x04&lt;/P&gt;&lt;P&gt;(gdb) mon imx6.cpu.0 mdw 0x17800000 0x10&lt;/P&gt;&lt;P&gt;0x17800000 123456ab 123456ab 123456ab 123456ab .V4..V4..V4..V4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32565iA3D3DDF437CEC498/image-size/large?v=v2&amp;amp;px=999" title="ImmagineDDr1.png" alt="ImmagineDDr1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i.Mx6Q&lt;/P&gt;&lt;P&gt;(gdb) mon imx6.cpu.0 mdw 0x17800000 0x04&lt;/P&gt;&lt;P&gt;0x17800000 ff7dff9e 9c1c1b37 dbb8cf65 2bdf8f0d ..}.7...e......+&lt;/P&gt;&lt;P&gt;(gdb) mon imx6.cpu.0 mww 0x17800000 0x123456ab 0x04&lt;/P&gt;&lt;P&gt;(gdb) mon imx6.cpu.0 mdw 0x17800000 0x10&lt;/P&gt;&lt;P&gt;0x17800000 ff34ffab 123456ab 123456ab 123456ab ..4..V4..V4..V4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you take a look the reading, you can see hte first 64bits ( ff34ffab&amp;nbsp; instead of 123456ab ) are wrong when i set i.Mx6Q.&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Why the configuration works fine if i set Mx6DL instead of Mx6Q? My Micro is Mx6Q and not Mx6DL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Fausto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 21:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504111#M81752</guid>
      <dc:creator>faustosessego1</dc:creator>
      <dc:date>2016-04-18T21:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q Jtag init ram failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504112#M81753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Now the i.Mx6Q works fine if i change the following registers from 0 value to:&lt;/P&gt;&lt;P&gt;//For target board, may need to run write leveling calibration to fine tune these settings&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;mww phys&lt;/TD&gt;&lt;TD&gt;0x021b080c&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0x0040003C&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Read DQS Gating calibration&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;mww phys&lt;/TD&gt;&lt;TD&gt;0x021b083c&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0x42350231&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get those values from another configuration file found in internet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why doesn't the debugger work fine if those 2 registers are set to 0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 08:26:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504112#M81753</guid>
      <dc:creator>faustosessego1</dc:creator>
      <dc:date>2016-04-20T08:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q Jtag init ram failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504113#M81754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please check AN4467 i.MX 6 Series DDR Calibration&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/32bit/doc/app_note/AN4467.pdf" title="http://www.nxp.com/files/32bit/doc/app_note/AN4467.pdf"&gt;http://www.nxp.com/files/32bit/doc/app_note/AN4467.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 10:17:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-Jtag-init-ram-failed/m-p/504113#M81754</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-04-20T10:17:36Z</dc:date>
    </item>
  </channel>
</rss>

