<?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 bootloader error when programming external flash for MIMXRT1176 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/bootloader-error-when-programming-external-flash-for-MIMXRT1176/m-p/1602015#M201735</link>
    <description>&lt;P&gt;Hello.&lt;BR /&gt;I use the MIMXRT1176DVMAA microcontroller in the project.&lt;BR /&gt;To load the firmware, I used a scheme similar to that of MIMXRT1170-EVK.&lt;BR /&gt;External flash memory - IS25WP128, connected to the FlexSPI1 interface (similar to MIMXRT1170-EVK)&lt;/P&gt;&lt;P&gt;Contacts of the FlexSPI1 interface.&lt;BR /&gt;FlexSPI1_A_SS0_B GPIO_SD_B2_06&lt;BR /&gt;FlexSPI1_A_SCLK GPIO_SD_B2_07&lt;BR /&gt;FlexSPI1_A_DATA0 GPIO_SD_B2_08&lt;BR /&gt;FlexSPI1_A_DATA1 GPIO_SD_B2_09&lt;BR /&gt;FlexSPI1_A_DATA2 GPIO_SD_B2_10&lt;BR /&gt;FlexSPI1_A_DATA3 GPIO_SD_B2_11&lt;/P&gt;&lt;P&gt;To set up boot from external memory via FlexSPI1, I used a boot setup scheme similar to MIMXRT1170-EVK. External contacts BOOT_CFG[11:0] = “0”,&lt;BR /&gt;BOOT_MODE[1:0] = "10".&lt;/P&gt;&lt;P&gt;For programming, I use the USB-ML-UNIVERSAL-FX programmer from PEmicro.&lt;/P&gt;&lt;P&gt;When I try to program the IS25WP128 flash memory on my board via Keil MDK-ARM or via MCUXpresso IDE, the message "Error! Erase Range timed out!&lt;BR /&gt;At the same time, my project is flashed into flash memory on the MIMXRT1170-EVK debug board.&lt;/P&gt;&lt;P&gt;Can you please tell me what could be causing this error? Are there any settings that are enabled by default for MIMXRT1170-EVK,&lt;BR /&gt;and for user projects these settings should be included separately? Does the IS25WP128 chip need to be somehow pre-configured before&lt;BR /&gt;how to use it as part of the MIMXRT1176 - IS25WP128 system?&lt;/P&gt;&lt;P&gt;I took the "flexspi/nor" project from the Keil MDK-ARM examples, built it to run in RAM, booted into debug, and linked to flash.&lt;BR /&gt;Read VendorID and status register. Bit #6 of the QE status register is set to "1"&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 13:07:08 GMT</pubDate>
    <dc:creator>apachez_zzx</dc:creator>
    <dc:date>2023-02-20T13:07:08Z</dc:date>
    <item>
      <title>bootloader error when programming external flash for MIMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootloader-error-when-programming-external-flash-for-MIMXRT1176/m-p/1602015#M201735</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;I use the MIMXRT1176DVMAA microcontroller in the project.&lt;BR /&gt;To load the firmware, I used a scheme similar to that of MIMXRT1170-EVK.&lt;BR /&gt;External flash memory - IS25WP128, connected to the FlexSPI1 interface (similar to MIMXRT1170-EVK)&lt;/P&gt;&lt;P&gt;Contacts of the FlexSPI1 interface.&lt;BR /&gt;FlexSPI1_A_SS0_B GPIO_SD_B2_06&lt;BR /&gt;FlexSPI1_A_SCLK GPIO_SD_B2_07&lt;BR /&gt;FlexSPI1_A_DATA0 GPIO_SD_B2_08&lt;BR /&gt;FlexSPI1_A_DATA1 GPIO_SD_B2_09&lt;BR /&gt;FlexSPI1_A_DATA2 GPIO_SD_B2_10&lt;BR /&gt;FlexSPI1_A_DATA3 GPIO_SD_B2_11&lt;/P&gt;&lt;P&gt;To set up boot from external memory via FlexSPI1, I used a boot setup scheme similar to MIMXRT1170-EVK. External contacts BOOT_CFG[11:0] = “0”,&lt;BR /&gt;BOOT_MODE[1:0] = "10".&lt;/P&gt;&lt;P&gt;For programming, I use the USB-ML-UNIVERSAL-FX programmer from PEmicro.&lt;/P&gt;&lt;P&gt;When I try to program the IS25WP128 flash memory on my board via Keil MDK-ARM or via MCUXpresso IDE, the message "Error! Erase Range timed out!&lt;BR /&gt;At the same time, my project is flashed into flash memory on the MIMXRT1170-EVK debug board.&lt;/P&gt;&lt;P&gt;Can you please tell me what could be causing this error? Are there any settings that are enabled by default for MIMXRT1170-EVK,&lt;BR /&gt;and for user projects these settings should be included separately? Does the IS25WP128 chip need to be somehow pre-configured before&lt;BR /&gt;how to use it as part of the MIMXRT1176 - IS25WP128 system?&lt;/P&gt;&lt;P&gt;I took the "flexspi/nor" project from the Keil MDK-ARM examples, built it to run in RAM, booted into debug, and linked to flash.&lt;BR /&gt;Read VendorID and status register. Bit #6 of the QE status register is set to "1"&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 13:07:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootloader-error-when-programming-external-flash-for-MIMXRT1176/m-p/1602015#M201735</guid>
      <dc:creator>apachez_zzx</dc:creator>
      <dc:date>2023-02-20T13:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: bootloader error when programming external flash for MIMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootloader-error-when-programming-external-flash-for-MIMXRT1176/m-p/1615698#M202775</link>
      <description>&lt;P&gt;I ran into a similar issue. I also took as a basis the boot scheme with MIMXRT1170-EVK: MIMXRT1176 microcontroller and IS25WP128 memory.&lt;BR /&gt;USB-MULTILINK programmer from PEmicro. On the MIMXRT1170-EVK, the IS25WP128 flash memory is programmed successfully.&lt;BR /&gt;On my board, when I try to program through the MCUXpresso IDE, the following message appears in the console:&lt;BR /&gt;Erasing.&lt;BR /&gt;Error! Erase Range timed out!&lt;BR /&gt;Error erasing flash of device&lt;BR /&gt;Error occured during Flash programming.&lt;BR /&gt;What could be the problem?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 12:12:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootloader-error-when-programming-external-flash-for-MIMXRT1176/m-p/1615698#M202775</guid>
      <dc:creator>mike2000</dc:creator>
      <dc:date>2023-03-15T12:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: bootloader error when programming external flash for MIMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootloader-error-when-programming-external-flash-for-MIMXRT1176/m-p/1628498#M203780</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/212940"&gt;@apachez_zzx&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for your patience here. I really appreciate you reached our technical support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding something that you mentioned: &lt;EM&gt;"At the same time, my project is flashed into flash memory on the MIMXRT1170-EVK debug board." ,&amp;nbsp;&lt;/EM&gt;did you flash this same program to our EVK using the same debugger and it was into the internal flash ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, regarding&amp;nbsp;&lt;SPAN&gt;IS25WP128 chip, as far as I am concern, it is not needed any additional config., I am wondering if you already tried using MCU Boot Utility from Jay-Heng ? it is very useful to boot external memories and configure the necessary parameters. You can find it in Google!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please let me know what you find, I will stay tuned to your reply here. Thanks again for your patience.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards.&lt;BR /&gt;Pablo Avalos.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 21:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootloader-error-when-programming-external-flash-for-MIMXRT1176/m-p/1628498#M203780</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2023-04-05T21:29:33Z</dc:date>
    </item>
  </channel>
</rss>

