<?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: SDRAM debug with LinkServer (DAPLink) issues in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955361#M4417</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/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your fast reply and your support. I attached to this post the source of the modified gpio_led_output example. I hope it may help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2019 07:36:37 GMT</pubDate>
    <dc:creator>massimiliano_fr</dc:creator>
    <dc:date>2019-07-09T07:36:37Z</dc:date>
    <item>
      <title>SDRAM debug with LinkServer (DAPLink) issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955359#M4415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've a iMXRT1050-EVK (not B)&amp;nbsp;and the SDK_2.6.1_MIMXRT1052xxxB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm trying to figure out is the handle of the BOARD_SDRAM that I'd want to use in a personal application. As a first trial I modified&amp;nbsp;the example application&amp;nbsp;&lt;EM&gt;gpio_led_output&lt;/EM&gt;&amp;nbsp;by placing the following code line:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;__DATA(BOARD_SDRAM) int vect1[500] = {5};&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;in order to place some global data in the BOARD_SDRAM. In the first statement of the main function I inserted the following write operation:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="font-size: 13px;"&gt;vect1[0] = 120;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I paid attention to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;make the BOARD_SDRAM shareable by means of the MPU configuration&lt;/LI&gt;&lt;LI&gt;link the SDRAM init script as indicated in the following &lt;A _jive_internal="true" href="https://community.nxp.com/community/mcuxpresso/mcuxpresso-ide/blog/2017/12/07/overview-of-using-the-mimxrt1050-evk-with-mcuxpresso-ide"&gt;post&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application does actually work, i.e. the PRINTF are printed in the stdout and the led blinks. However as I debug the application and I try to watch the&amp;nbsp;&lt;EM&gt;vect1&lt;/EM&gt; variable after some steps through the code, the IDE pops up the message reported in&amp;nbsp;&lt;EM&gt;SDRAM_read_error.png.&amp;nbsp;&lt;/EM&gt;I&amp;nbsp;mean that I can watch the variable at the beginning but it gets inaccessible after moving through the code just one/two steps.&lt;/P&gt;&lt;P&gt;A&amp;nbsp;probably&amp;nbsp;related&amp;nbsp;behaviour occurs when I use the BOARD_SDRAM, I run the application and I try to flash the application again. The message that appears is showed in the&amp;nbsp;&lt;EM&gt;terminate_build_debug.png.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the DAP or the CPU becomes unreachable. The unique way to unblock the CPU is to unplug the DAPLink cable, connect to the CPU thorugh the J-Link commander (SWO) and erase the Flash. It is very annoying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyone who can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also attach the MCU&amp;nbsp;Settings and the Managed Linker Configuration&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 15:00:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955359#M4415</guid>
      <dc:creator>massimiliano_fr</dc:creator>
      <dc:date>2019-07-08T15:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: SDRAM debug with LinkServer (DAPLink) issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955360#M4416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="344289" data-username="massimiliano.francone@bdsound.com" href="https://community.nxp.com/people/massimiliano.francone@bdsound.com"&gt;Massimiliano Francone&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;Before answering your reply, I was wondering if you can introduce what the modifications you had done about the gpio_led_output demo, it can help me to figure the issue out.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 07:04:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955360#M4416</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-07-09T07:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: SDRAM debug with LinkServer (DAPLink) issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955361#M4417</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/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your fast reply and your support. I attached to this post the source of the modified gpio_led_output example. I hope it may help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 07:36:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955361#M4417</guid>
      <dc:creator>massimiliano_fr</dc:creator>
      <dc:date>2019-07-09T07:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: SDRAM debug with LinkServer (DAPLink) issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955362#M4418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="344289" data-objecttype="3" href="https://community.nxp.com/people/massimiliano.francone@bdsound.com"&gt;Massimiliano Francone&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;After checking, the igpio_led_output demo's IVT doesn't contain the DCD which is configuration information contained in the program image (external to the ROM) that the ROM interprets to configure various peripherals on the chip, likes the SDRAM, in another word, the SDRAM is not initialized, so it will be unavailable.&lt;BR /&gt;So you should add macro&lt;BR /&gt;XIP_BOOT_HEADER_DCD_ENABLE =1 in the Defined symbol (Fig 1) to enable the SDRAM.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90774iDAC92E8A5749FDF0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;Fig 1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 06:59:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955362#M4418</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-07-10T06:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: SDRAM debug with LinkServer (DAPLink) issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955363#M4419</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/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I forgot to tell you that I've already defined such symbol in the preprocessor tab, thus my SDRAM is initialized. At the beginning I didn't set it, but after some search on the web, I realized the necessity of such symbol.&lt;/P&gt;&lt;P&gt;Thus, my SDRAM is initialized correctly and I manage to read it, indeed. The problem is that&amp;nbsp;the debug session gets blocked if I try to&amp;nbsp;read it again after many step.&amp;nbsp;Did you manage&amp;nbsp;to read from SDRAM without issues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another change to the example's source is located at the following line&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;#if (defined(FSL_FEATURE_IGPIO_HAS_DR_TOGGLE) &amp;amp;&amp;amp; (FSL_FEATURE_IGPIO_HAS_DR_TOGGLE == 1)) &lt;STRONG style="color: #ff0000; "&gt;&amp;amp;&amp;amp; 0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;because the led did not blink whether I used the toggle function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Massimiliano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 07:39:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955363#M4419</guid>
      <dc:creator>massimiliano_fr</dc:creator>
      <dc:date>2019-07-10T07:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: SDRAM debug with LinkServer (DAPLink) issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955364#M4420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="344289" data-objecttype="3" href="https://community.nxp.com/people/massimiliano.francone@bdsound.com"&gt;Massimiliano Francone&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;It seems a bit weird, as I don't encounter a similar error you mentioned above when I did the testing on my site (Fig 1), I just added the below two macros in the Defined symbols window of the demo.&lt;BR /&gt;&lt;STRONG&gt;XIP_BOOT_HEADER_DCD_ENABLE=1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SKIP_SYSCLK_INIT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90971i0AA060C43D51724C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;Fig 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 08:34:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955364#M4420</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-07-11T08:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: SDRAM debug with LinkServer (DAPLink) issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955365#M4421</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/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I even tried to define&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;SKIP_SYSCLK_INIT&lt;/STRONG&gt; and I can now read any time I want the SDRAM without having troubles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the above symbol act on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Massimiliano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 07:53:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955365#M4421</guid>
      <dc:creator>massimiliano_fr</dc:creator>
      <dc:date>2019-07-12T07:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: SDRAM debug with LinkServer (DAPLink) issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955366#M4422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="344289" data-objecttype="3" href="https://community.nxp.com/people/massimiliano.francone@bdsound.com"&gt;Massimiliano Francone&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;1) What does the above symbol act on?&lt;BR /&gt;-- &lt;STRONG&gt;XIP_BOOT_HEADER_DCD_ENABLE=1&lt;/STRONG&gt; makes the IVT contains the DCD, and with this macro &lt;STRONG&gt;SKIP_SYSCLK_INIT&lt;/STRONG&gt;, system pll (selected to be SEMC source clock in SDK projects) will be left unchanged.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 03:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SDRAM-debug-with-LinkServer-DAPLink-issues/m-p/955366#M4422</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-07-15T03:17:51Z</dc:date>
    </item>
  </channel>
</rss>

