<?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: Debug in SDRAM with bootloader in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Debug-in-SDRAM-with-bootloader/m-p/1772686#M27947</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/65478"&gt;@biafra&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe the easiest way to solve this issue is putting the device into&amp;nbsp;&lt;SPAN&gt;serial download mode before start the debug session.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&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;</description>
    <pubDate>Tue, 12 Dec 2023 02:33:15 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2023-12-12T02:33:15Z</dc:date>
    <item>
      <title>Debug in SDRAM with bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Debug-in-SDRAM-with-bootloader/m-p/1765040#M27780</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ask help to solve an annoying situation.&lt;/P&gt;&lt;P&gt;I'm working on a custom board with a RT1064 device, MCUXpresso 11.8.1 and PEMicro Univesal Multilink debugger.&lt;/P&gt;&lt;P&gt;In my board I use a custom bootloader that loads the application from the internal QSPI dataflash to the external SDRAM and then jumps to the apllication that runs in the SDRAM: everything is working fine.&lt;/P&gt;&lt;P&gt;I can debug the application in the SDRAM, using a script that initialize the SDRAM controller and loads the application. The problem is that when I start the debug session the bootloader starts and loads in SDRAM the application saved in flash, overwriting the application loaded with MCUXpresso.&lt;/P&gt;&lt;P&gt;To avoid this, I need to write a different application (a blinking led) in the internal flash: in such a case I can successfully debug the application&amp;nbsp;loaded with MCUXpresso in the SDRAM.&lt;/P&gt;&lt;P&gt;So I need to program the bootloader in the internal flash to test the runtime behavior and the blinking led application to debug, switching when as I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way for the bootloader to distinguish that I'm debugging and avoid the application loading from flash to SDRAM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 16:07:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Debug-in-SDRAM-with-bootloader/m-p/1765040#M27780</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2023-11-28T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM with bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Debug-in-SDRAM-with-bootloader/m-p/1767987#M27848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/65478"&gt;@biafra&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How did you set up the boot mode when you start the debug session? Was it in serial download mode? Please kindly clarify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&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;</description>
      <pubDate>Mon, 04 Dec 2023 06:56:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Debug-in-SDRAM-with-bootloader/m-p/1767987#M27848</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2023-12-04T06:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM with bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Debug-in-SDRAM-with-bootloader/m-p/1768038#M27851</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your answer.&lt;/P&gt;&lt;P&gt;No, the boot mode is boot from fuses. I set serial download mode only when I need to program the application&amp;nbsp;(boot loader or binking led)&lt;SPAN&gt;&amp;nbsp;in the internal flash with MCUXpresso Secure Provisioning Tool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 07:50:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Debug-in-SDRAM-with-bootloader/m-p/1768038#M27851</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2023-12-04T07:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM with bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Debug-in-SDRAM-with-bootloader/m-p/1772686#M27947</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/65478"&gt;@biafra&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe the easiest way to solve this issue is putting the device into&amp;nbsp;&lt;SPAN&gt;serial download mode before start the debug session.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&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;</description>
      <pubDate>Tue, 12 Dec 2023 02:33:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Debug-in-SDRAM-with-bootloader/m-p/1772686#M27947</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2023-12-12T02:33:15Z</dc:date>
    </item>
  </channel>
</rss>

