<?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 Serial bootloader activation in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Serial-bootloader-activation/m-p/1769667#M20372</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am trying to initiate the MCU-boot on the MIMXRT1189 through lpspi1 interface either using the ROM API call or by erasing flash memory and test the ping command using RPI but no response back.&lt;BR /&gt;what could be the issue or is there any other configuration I missed. despite I configured the hardware switch (BOOT_MODE[2:0] to 001b for serial downloader) and did a modification on the dev kit by soldering wires to allow communication through LPSPI1&lt;BR /&gt;Also attached my code that I used&amp;nbsp;to run the bootloader from application&amp;nbsp;&lt;BR /&gt;Any assistance would be greatly appreciated&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#define BOOTLOADER_TREE_LOCATION (0x1000001C)

typedef struct BootloaderTree
 {
	void (*runBootloader)(void *arg); //Function to start the bootloader executing.
	//standard_version_t version; //Bootloader version number.
	const char *copyright; //Copyright string.
	//const flexspi_nor_flash_driver_t *flexspiNorDriver; //FlexSPI NOR FLASH Driver API.
 } bootloader_tree_t;


bootloader_tree_t *romApiTree = (bootloader_tree_t *)BOOTLOADER_TREE_LOCATION;
uint32_t arg = 0xEB100000;       //0xEB: represents Enter Boot; 0x10: represents enter serial downloader with auto detection


void EnterBootLoader(void)
{
	romApiTree-&amp;gt;runBootloader(&amp;amp;arg);
};
/*!
 * @brief Main function
 */
int main(void)
{
    /* Board pin init */
    BOARD_ConfigMPU();
    BOARD_InitPins();
    BOARD_BootClockRUN();
    BOARD_InitDebugConsole();
    SystemCoreClockUpdate();

    EnterBootLoader();
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 09:58:21 GMT</pubDate>
    <dc:creator>hatemahmoudi</dc:creator>
    <dc:date>2023-12-06T09:58:21Z</dc:date>
    <item>
      <title>Serial bootloader activation</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Serial-bootloader-activation/m-p/1769667#M20372</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to initiate the MCU-boot on the MIMXRT1189 through lpspi1 interface either using the ROM API call or by erasing flash memory and test the ping command using RPI but no response back.&lt;BR /&gt;what could be the issue or is there any other configuration I missed. despite I configured the hardware switch (BOOT_MODE[2:0] to 001b for serial downloader) and did a modification on the dev kit by soldering wires to allow communication through LPSPI1&lt;BR /&gt;Also attached my code that I used&amp;nbsp;to run the bootloader from application&amp;nbsp;&lt;BR /&gt;Any assistance would be greatly appreciated&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#define BOOTLOADER_TREE_LOCATION (0x1000001C)

typedef struct BootloaderTree
 {
	void (*runBootloader)(void *arg); //Function to start the bootloader executing.
	//standard_version_t version; //Bootloader version number.
	const char *copyright; //Copyright string.
	//const flexspi_nor_flash_driver_t *flexspiNorDriver; //FlexSPI NOR FLASH Driver API.
 } bootloader_tree_t;


bootloader_tree_t *romApiTree = (bootloader_tree_t *)BOOTLOADER_TREE_LOCATION;
uint32_t arg = 0xEB100000;       //0xEB: represents Enter Boot; 0x10: represents enter serial downloader with auto detection


void EnterBootLoader(void)
{
	romApiTree-&amp;gt;runBootloader(&amp;amp;arg);
};
/*!
 * @brief Main function
 */
int main(void)
{
    /* Board pin init */
    BOARD_ConfigMPU();
    BOARD_InitPins();
    BOARD_BootClockRUN();
    BOARD_InitDebugConsole();
    SystemCoreClockUpdate();

    EnterBootLoader();
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 09:58:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Serial-bootloader-activation/m-p/1769667#M20372</guid>
      <dc:creator>hatemahmoudi</dc:creator>
      <dc:date>2023-12-06T09:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Serial bootloader activation</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Serial-bootloader-activation/m-p/1771125#M20399</link>
      <description>&lt;P&gt;Unfortunately, there is not much information available for RT1180 since it is in preproduction. I suggest you contact your distributor for more details.&amp;nbsp;&lt;BR /&gt;For other products of the RT family like RT1170, serial downloader is only available through UART1 and USB; to confirm that this also applies please get in touch with your distributor.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 23:42:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Serial-bootloader-activation/m-p/1771125#M20399</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2023-12-07T23:42:20Z</dc:date>
    </item>
  </channel>
</rss>

