<?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 Re: K64 enter in bootloader from user application in order to upload a new application in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-enter-in-bootloader-from-user-application-in-order-to-upload/m-p/975140#M55306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julien,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can send your MCU to bootloader mode by simply calling &lt;STRONG&gt;NVIC_SystemReset()&lt;/STRONG&gt;. Please check the following thread for further reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/1141791"&gt;https://community.nxp.com/message/1141791&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Nov 2019 17:12:09 GMT</pubDate>
    <dc:creator>FelipeGarcia</dc:creator>
    <dc:date>2019-11-14T17:12:09Z</dc:date>
    <item>
      <title>K64 enter in bootloader from user application in order to upload a new application</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-enter-in-bootloader-from-user-application-in-order-to-upload/m-p/975139#M55305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to update my firmware remotely by pushing my microcontroller (MK64FN1M0VLQ12) in bootloader mode and send the new application via UART.&lt;/P&gt;&lt;P&gt;How do I enter in the bootloader mode through my application in order to send the new firmware by the UART.&lt;/P&gt;&lt;P&gt;I try this,&lt;BR /&gt; #define BL_VECTORS 0x0&lt;BR /&gt; uint32_t run_bootloader;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt; * Step: Disable systick timer and reset it to default values&lt;BR /&gt; */&lt;BR /&gt; SysTick-&amp;gt;CTRL = 0;&lt;BR /&gt; SysTick-&amp;gt;LOAD = 0;&lt;BR /&gt; SysTick-&amp;gt;VAL = 0;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt; * Step: Disable all interrupts&lt;BR /&gt; */&lt;BR /&gt; __disable_irq();&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt; * Jump to boot_loader&lt;BR /&gt; */&lt;BR /&gt; run_bootloader = ((uint32_t*)BL_VECTORS)[1];&lt;BR /&gt; ((void(*)(void))run_bootloader)();&lt;/P&gt;&lt;P&gt;My application make a reset and restart my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2019 08:01:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-enter-in-bootloader-from-user-application-in-order-to-upload/m-p/975139#M55305</guid>
      <dc:creator>julien_gosteli</dc:creator>
      <dc:date>2019-11-12T08:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: K64 enter in bootloader from user application in order to upload a new application</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-enter-in-bootloader-from-user-application-in-order-to-upload/m-p/975140#M55306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julien,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can send your MCU to bootloader mode by simply calling &lt;STRONG&gt;NVIC_SystemReset()&lt;/STRONG&gt;. Please check the following thread for further reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/1141791"&gt;https://community.nxp.com/message/1141791&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 17:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-enter-in-bootloader-from-user-application-in-order-to-upload/m-p/975140#M55306</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-11-14T17:12:09Z</dc:date>
    </item>
  </channel>
</rss>

