<?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のトピックRe: Bootloader not jumping to application</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Bootloader-not-jumping-to-application/m-p/2013280#M32917</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Based on your description, it seems that you can successfully flash your bootloader and application using the debugger, but you are unable to update the firmware via BLE. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please ensure that your BLE firmware is actually flashed to the correct address and that the firmware itself does not have any issues causing it to get stuck, you can check with trace log with firmware vesion number or timestamp.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2024 04:17:15 GMT</pubDate>
    <dc:creator>Sam_Gao</dc:creator>
    <dc:date>2024-12-13T04:17:15Z</dc:date>
    <item>
      <title>Bootloader not jumping to application</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Bootloader-not-jumping-to-application/m-p/2008028#M32833</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Below are my bootloader and application code sequences.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Bootloader steps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Initialize the BSP, Clock and required peripherals.&lt;/LI&gt;&lt;LI&gt;Stay in bootloader for BLE connection.&lt;/LI&gt;&lt;LI&gt;After connection successful, start receiving application binary.&lt;/LI&gt;&lt;LI&gt;Check CRC if CRC correct then, Erase all sectors for application, write received application binary using &lt;STRONG&gt;SPI driver&lt;/STRONG&gt; in to 16Mb ext. flash in to dedicated memory area. (Please see the Bootloader and Application memory address details below.)&lt;/LI&gt;&lt;LI&gt;After successful written, read back from ext. flash and confirm the CRC.&lt;/LI&gt;&lt;LI&gt;If CRC matches -&amp;gt; Disable IRQ, Disable peripherals, Initialize SP and PC to application and Jump to Application vector address.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So I have assigned 1 Mb of memory of ext. flash for bootloader i.e.&amp;nbsp;0x60000000 size&amp;nbsp;&lt;SPAN&gt;0x100000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And prepare the application binary using keil IDE with 3 Mb space allocated i.e.&amp;nbsp;&lt;SPAN&gt;0x60100000&amp;nbsp; &amp;nbsp;Size 0x300000&lt;BR /&gt;&lt;BR /&gt;So I'm initializing the SP, PC and suggesting bootloader to jump on below address of application Vectors&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;FONT color="#FF00FF"&gt;__Vectors&amp;nbsp; &amp;nbsp; 0x60102000&amp;nbsp;&amp;nbsp; Number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1024&amp;nbsp; startup_mimxrt1062.o(.isr_vector)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I'm flashing my bootloader and application with JTAG ULINKPRO debugger both are working fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;When I'm trying to update firmware using BLE(By following above &lt;FONT color="#0000FF"&gt;Bootloader steps&lt;/FONT&gt;) it's not jumping to application and stuck in BL itself.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have toggled 2 different LED's i.e. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LED1 Blinks - When I'm in bootloader.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LED2 Blinks - When I'm in application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 09:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Bootloader-not-jumping-to-application/m-p/2008028#M32833</guid>
      <dc:creator>mayur1in</dc:creator>
      <dc:date>2024-12-05T09:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader not jumping to application</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Bootloader-not-jumping-to-application/m-p/2013280#M32917</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Based on your description, it seems that you can successfully flash your bootloader and application using the debugger, but you are unable to update the firmware via BLE. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please ensure that your BLE firmware is actually flashed to the correct address and that the firmware itself does not have any issues causing it to get stuck, you can check with trace log with firmware vesion number or timestamp.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 04:17:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Bootloader-not-jumping-to-application/m-p/2013280#M32917</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2024-12-13T04:17:15Z</dc:date>
    </item>
  </channel>
</rss>

