<?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>MCX MicrocontrollersのトピックRe: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063149#M2701</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203261"&gt;@Gavin_Jia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I remember there is another difference. I use the flexspi DQS pin(GPIO_SD_B1_05) as I2C_SDA(I didn't connect that pin to flash). &lt;SPAN&gt;I don't know if it will affect Flash.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Mar 2025 15:13:52 GMT</pubDate>
    <dc:creator>lsjshengll</dc:creator>
    <dc:date>2025-03-17T15:13:52Z</dc:date>
    <item>
      <title>RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062431#M2686</link>
      <description>&lt;DIV class=""&gt;I'm a beginner working on driving a LED driver chip via I2C with the RT1061. It runs fine in ram debug mode (LED lights up), but when using flexspi_flash_nor_debug, the hardware initialization fails both in IAR simulation or flashing with jflash. I can read the flash contents, so the code is loaded. I've checked extensively but can't find the cause. Could you please help? Thanks.&lt;/DIV&gt;&lt;DIV class=""&gt;I'm using flexspi1, with code partially transplanted from the hello world example.&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 15 Mar 2025 06:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062431#M2686</guid>
      <dc:creator>lsjshengll</dc:creator>
      <dc:date>2025-03-15T06:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062433#M2687</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I encountered the same issue when using the RT1021 to light up an LED with a regular GPIO. I barely modified the example code, only changing the IO port. I used Keil, and the LED lights up fine in debug mode. However, when using the flexspi_flash_nor_debug, the LED won't light up.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 06:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062433#M2687</guid>
      <dc:creator>lsjshengll</dc:creator>
      <dc:date>2025-03-15T06:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062686#M2690</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248104"&gt;@lsjshengll&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your interest in NXP MIMXRT series!&lt;/P&gt;
&lt;P&gt;May I ask if you are testing with the example in SDK and RT1060-EVK?&lt;BR /&gt;&lt;BR /&gt;You mean:&lt;BR /&gt;&lt;BR /&gt;- Use examples from SDK;&lt;BR /&gt;- The original flexspi_flash_nor_debug can run;&lt;BR /&gt;- Flexspi_flash_nor_debug can't run after modifying the IO port?&lt;BR /&gt;&lt;BR /&gt;Is that the case? If there is a problem with my understanding, please help me point it out.&lt;/P&gt;
&lt;P&gt;Bests,&lt;BR /&gt;Gavin&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 03:43:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062686#M2690</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2025-03-17T03:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062756#M2691</link>
      <description>&lt;P&gt;Hi，&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203261"&gt;@Gavin_Jia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Use examples from SDK;&amp;nbsp; (see below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The original flexspi_flash_nor_debug can run; (Yes)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Flexspi_flash_nor_debug can't run after modifying the IO port?(I'm not sure)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;by the way RT1011 sdk can debug in the nor flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have tried various methods to set up the RT1061 project, including Keil and IAR. Using the MCUXpresso Config tool and doing modification with hello world SDK. All of them have the same issue. The latest Keil project (see attachment) was built with MCUXpress config. ​O&lt;/SPAN&gt;nly added the I2C chip's driver and the main application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This RT1061 board I got from my colleague, it can debug before. I change the flash to&amp;nbsp;W25Q64 and do some test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When doing debug in flexspi_nor_flash, it&amp;nbsp;&lt;SPAN&gt;often gets stuck at the following location.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* invalidate D-Cache */ sets = (uint32_t)(CCSIDR_SETS(ccsidr)); do { ways = (uint32_t)(CCSIDR_WAYS(ccsidr)); do { SCB-&amp;gt;DCISW = (((sets &amp;lt;&amp;lt; SCB_DCISW_SET_Pos) &amp;amp; SCB_DCISW_SET_Msk) | ((ways &amp;lt;&amp;lt; SCB_DCISW_WAY_Pos) &amp;amp; SCB_DCISW_WAY_Msk) ); #if defined ( __CC_ARM ) __schedule_barrier(); #endif } while (ways-- != 0U); } while(sets-- != 0U); __DSB();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 06:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062756#M2691</guid>
      <dc:creator>lsjshengll</dc:creator>
      <dc:date>2025-03-17T06:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062944#M2696</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248104"&gt;@lsjshengll&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Do you mean the issue happened on the board when replaced the flash? Is it possible to debug normally before changing the flash?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 09:44:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2062944#M2696</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2025-03-17T09:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063002#M2698</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203261"&gt;@Gavin_Jia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, but the replaced Flash model is the same. My colleague used this board for some test and the old flash contained his program. So I replaced it with an empty Flash and programmed my own code into it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 10:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063002#M2698</guid>
      <dc:creator>lsjshengll</dc:creator>
      <dc:date>2025-03-17T10:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063149#M2701</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203261"&gt;@Gavin_Jia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I remember there is another difference. I use the flexspi DQS pin(GPIO_SD_B1_05) as I2C_SDA(I didn't connect that pin to flash). &lt;SPAN&gt;I don't know if it will affect Flash.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 15:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063149#M2701</guid>
      <dc:creator>lsjshengll</dc:creator>
      <dc:date>2025-03-17T15:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063345#M2702</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248104"&gt;@lsjshengll&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;That should be the issue. If the external flash does not provide the DQS signal, the DQS pin of the MCU should be floated. It cannot be reused as other functions.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Gavin&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 02:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063345#M2702</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2025-03-18T02:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063407#M2706</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203261"&gt;@Gavin_Jia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have another question: The DQS pin can be routed to two pins (GPIO_SD_B1_05, GPIO_AD_B1_09). Why does using GPIO_SD_B1_05 will affect Flash operation? How does the RT1061 initialization determine this behavior? Do both pins need to be floated? Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 04:00:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063407#M2706</guid>
      <dc:creator>lsjshengll</dc:creator>
      <dc:date>2025-03-18T04:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063484#M2707</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248104"&gt;@lsjshengll&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The two optional pins of DQS are not used casually. BootROM supports the FlexSPI primary option and the second option, that is, it has two groups of options. The selection method is the configuration in BootCFG2 or eFuse. The default configuration is the primary option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should be the FlexSPI primary option on your board, so the corresponding DQS can only be GPIO_SD_B1_05.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gavin_Jia_1-1742278461843.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/328555iEFDF665A86440AF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gavin_Jia_1-1742278461843.png" alt="Gavin_Jia_1-1742278461843.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gavin_Jia_0-1742278307341.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/328553i0C69A8633190929E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gavin_Jia_0-1742278307341.png" alt="Gavin_Jia_0-1742278307341.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 06:16:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063484#M2707</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2025-03-18T06:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 can not run the program in spi nor flash but well debug in ram.</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063594#M2708</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203261"&gt;@Gavin_Jia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much. I will do a test tonight.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 08:32:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/RT1061-can-not-run-the-program-in-spi-nor-flash-but-well-debug/m-p/2063594#M2708</guid>
      <dc:creator>lsjshengll</dc:creator>
      <dc:date>2025-03-18T08:32:20Z</dc:date>
    </item>
  </channel>
</rss>

