<?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 RT Crossover MCUsのトピック回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1750977#M27416</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219788"&gt;@liuhailong&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please modify two place.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingpan_0-1698915687562.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248107i1C4271766D093143/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jingpan_0-1698915687562.png" alt="jingpan_0-1698915687562.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And in board.c&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingpan_1-1698915721663.png" style="width: 586px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248108iC17151AF5EB4A515/image-dimensions/586x131?v=v2" width="586" height="131" role="button" title="jingpan_1-1698915721663.png" alt="jingpan_1-1698915721663.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 09:02:22 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2023-11-02T09:02:22Z</dc:date>
    <item>
      <title>SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1748182#M27350</link>
      <description>&lt;P&gt;SRAMIO refresh failed due to error in RT1170 CM7 core program，Using SEMC's SDRAM official example program, add their own modified code, make it into SRAM program, SRAMIO refresh in the RT1170 CM7 core program error, run failure.The same program in cm4 core can run normally, want to ask, CM7 core should be configured?Procedural Reference Annex.&lt;/P&gt;&lt;P&gt;#i.MX RT&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 01:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1748182#M27350</guid>
      <dc:creator>liuhailong</dc:creator>
      <dc:date>2023-10-30T01:53:24Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1748385#M27354</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196430"&gt;@Pavel_Hernandez&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 07:03:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1748385#M27354</guid>
      <dc:creator>liuhailong</dc:creator>
      <dc:date>2023-10-30T07:03:17Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1749917#M27376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219788"&gt;@liuhailong&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Here is SEMC configuration for SRAM 8bit.&amp;nbsp; If you want to use 16bit sram, just set portsize to 16. You should adjust other timing parameters according to your sram.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;status_t BOARD_InitSEMC(void)
{
    semc_config_t config;
    semc_sdram_config_t sdramconfig;
    semc_sram_config_t sramconfig;
    semc_nor_config_t  norconfig;
    uint32_t clockFrq = EXAMPLE_SEMC_CLK_FREQ;

    /* Initializes the MAC configure structure to zero. */
    memset(&amp;amp;config, 0, sizeof(semc_config_t));
    memset(&amp;amp;sdramconfig, 0, sizeof(semc_sdram_config_t));

    /* Initialize SEMC. */
    SEMC_GetDefaultConfig(&amp;amp;config);
    config.dqsMode = kSEMC_Loopbackdqspad; /* For more accurate timing. */
    SEMC_Init(SEMC, &amp;amp;config);

    /* Configure SRAM */
    sramconfig.cePinMux = kSEMC_MUXRDY;
    sramconfig.address = EXAMPLE_SRAM_START_ADDRESS;
    sramconfig.memsize_kbytes = 256 * 1024;
    sramconfig.addrPortWidth = 24;
    sramconfig.advActivePolarity = kSEMC_AdvActiveLow;
    sramconfig.addrMode = kSEMC_AddrDataNonMux;
    sramconfig.burstLen = kSEMC_Nor_BurstLen4;
    sramconfig.portSize = kSEMC_PortSize8Bit;
    sramconfig.syncMode = kSEMC_AsyncMode;
    sramconfig.waitEnable = false;
    sramconfig.advLevelCtrl = kSEMC_AdvLow;
    sramconfig.tCeSetup_Ns = 20;
    sramconfig.tCeHold_Ns = 20;
    sramconfig.tCeInterval_Ns = 100;
    sramconfig.readHoldTime_Ns = 20;
    sramconfig.tAddrSetup_Ns = 20;
    sramconfig.tAddrHold_Ns = 20;
    sramconfig.tWeLow_Ns = 20;
    sramconfig.tWeHigh_Ns = 20;
    sramconfig.tReLow_Ns = 20;
    sramconfig.tReHigh_Ns = 20;
    sramconfig.tTurnAround_Ns = 20;
    sramconfig.tAddr2WriteHold_Ns = 20;
    sramconfig.tWriteSetup_Ns = 20;
    sramconfig.tWriteHold_Ns = 20;
    sramconfig.latencyCount = 2;
    sramconfig.readCycle = 2;
    sramconfig.delayChain = 2;
    sramconfig.waitSample = 1;
    sramconfig.addr27 = kSEMC_MORA27_NONE;

    if (SEMC_ConfigureSRAM(EXAMPLE_SEMC, &amp;amp;sramconfig, clockFrq) != kStatus_Success)
    {
        PRINTF("SEMC SRAM configuration is failed\r\n");
    }
    EXAMPLE_SEMC-&amp;gt;IOCR = (EXAMPLE_SEMC-&amp;gt;IOCR &amp;amp; ~(SEMC_IOCR_MUX_CLKX0_MASK | SEMC_IOCR_MUX_CLKX1_MASK)) |
                SEMC_IOCR_MUX_CLKX0(2) | SEMC_IOCR_MUX_CLKX1(2) | SEMC_IOCR_CLKX0_AO_MASK;
    EXAMPLE_SEMC-&amp;gt;IOCR = (EXAMPLE_SEMC-&amp;gt;IOCR &amp;amp; ~SEMC_IOCR_MUX_RDY_MASK) | SEMC_IOCR_MUX_RDY(6);

}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 02:36:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1749917#M27376</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2023-11-01T02:36:05Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1749933#M27377</link>
      <description>&lt;P&gt;hello thanks&lt;/P&gt;&lt;P&gt;According to your description, there are two questions you would like to ask.&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;PRE&gt;EXAMPLE_SEMC-&amp;gt;IOCR = (EXAMPLE_SEMC-&amp;gt;IOCR &amp;amp; ~(SEMC_IOCR_MUX_CLKX0_MASK | SEMC_IOCR_MUX_CLKX1_MASK)) |
                SEMC_IOCR_MUX_CLKX0(2) | SEMC_IOCR_MUX_CLKX1(2) | SEMC_IOCR_CLKX0_AO_MASK;
    EXAMPLE_SEMC-&amp;gt;IOCR = (EXAMPLE_SEMC-&amp;gt;IOCR &amp;amp; ~SEMC_IOCR_MUX_RDY_MASK) | SEMC_IOCR_MUX_RDY(6);&lt;/PRE&gt;&lt;P&gt;What parameters are configured?&lt;/P&gt;&lt;PRE&gt;   sramconfig.cePinMux = kSEMC_MUXRDY;
    sramconfig.address = EXAMPLE_SRAM_START_ADDRESS;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Haven't the following two lines of code been configured?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.Do you give CM7 kernel parameters configuration for the program I write?My same code failed in CM4 core, could you tell me what's the difference between MRT1175 CM7 and CM4 core for SRAM? &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/61241"&gt;@jingpan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 03:00:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1749933#M27377</guid>
      <dc:creator>liuhailong</dc:creator>
      <dc:date>2023-11-01T03:00:55Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1750184#M27390</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219788"&gt;@liuhailong&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I use&amp;nbsp;SEMC_RDY pin as CE#. Start address is 0x90000000. But you can set to any address from 0x80000000 to 0xe0000000.&lt;/P&gt;
&lt;P&gt;There is no difference to CM7 and CM4. You can use cm7 to config SEMC. The result is same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 09:40:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1750184#M27390</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2023-11-01T09:40:57Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1750614#M27402</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liuhailong_0-1698886319161.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248000iE65B3753181E8C8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liuhailong_0-1698886319161.png" alt="liuhailong_0-1698886319161.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liuhailong_1-1698886398657.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248001i280E8EEAE85D0294/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liuhailong_1-1698886398657.png" alt="liuhailong_1-1698886398657.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;SRAM can only use 0XC0000000, and is the SEMC region, I want to ask, the SEMC3 address in the figure is 0xC0000000, why I write the code, in CM7 can not achieve the results, and CM4 can, can refer to my latest attachments&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 00:55:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1750614#M27402</guid>
      <dc:creator>liuhailong</dc:creator>
      <dc:date>2023-11-02T00:55:56Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1750977#M27416</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219788"&gt;@liuhailong&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please modify two place.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingpan_0-1698915687562.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248107i1C4271766D093143/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jingpan_0-1698915687562.png" alt="jingpan_0-1698915687562.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And in board.c&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jingpan_1-1698915721663.png" style="width: 586px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248108iC17151AF5EB4A515/image-dimensions/586x131?v=v2" width="586" height="131" role="button" title="jingpan_1-1698915721663.png" alt="jingpan_1-1698915721663.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 09:02:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1750977#M27416</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2023-11-02T09:02:22Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1751460#M27429</link>
      <description>&lt;P&gt;hello，thanksThe first picture shows the configuration of sdram. Please ask if there is a configuration of sdram. The second picture is region 1, but I need to use region 3, SRAM's exclusive region.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 00:44:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1751460#M27429</guid>
      <dc:creator>liuhailong</dc:creator>
      <dc:date>2023-11-03T00:44:25Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1751702#M27437</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;1. It's just a name. You can rename it to SRAM or any thing else. Please focus on address.&lt;/P&gt;
&lt;P&gt;2. SEMC0~SEMCn belong to SEMC address range.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 07:20:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1751702#M27437</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2023-11-03T07:20:55Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1751751#M27439</link>
      <description>&lt;P&gt;Ok my problem solved，can you tell me the reasons that cm4 program does not need to be set，But CM7 has to board.c&amp;nbsp; and settings like that you give me the two pictures?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 08:09:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1751751#M27439</guid>
      <dc:creator>liuhailong</dc:creator>
      <dc:date>2023-11-03T08:09:20Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1753189#M27467</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219788"&gt;@liuhailong&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Their MPU and control code is different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 03:21:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1753189#M27467</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2023-11-07T03:21:57Z</dc:date>
    </item>
    <item>
      <title>回复： SRAM IO refresh failed due to error in RT1175 CM7 core program</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1753230#M27468</link>
      <description>&lt;P&gt;thanks a lot&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 05:13:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SRAM-IO-refresh-failed-due-to-error-in-RT1175-CM7-core-program/m-p/1753230#M27468</guid>
      <dc:creator>liuhailong</dc:creator>
      <dc:date>2023-11-07T05:13:06Z</dc:date>
    </item>
  </channel>
</rss>

