<?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>Kinetis Microcontrollers中的主题 Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709897#M43541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are various K22 derivatives that are not compatible so if you have a K22F1M0 you may find the TWR kit version closest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of problems or need for more flexibility see also &lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerSerialLoader.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which also includes a K22F1M0 120M target (Kboot UART, KBOOT USB, USB-MSD, SD card, memory stick, Developer's loader, UART SREC/UART iHEX, USB-CDC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-K22F.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-K22F.html&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K22F120M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K22F120M.html&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FBLAZE_K22.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/BLAZE_K22.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2017 10:07:20 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2017-08-30T10:07:20Z</dc:date>
    <item>
      <title>Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709896#M43540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am planning to use the microcontroller&amp;nbsp;MK22FN1M0AVMC12 &amp;nbsp;in a custom board and I need to include bootloader capabilities on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been looking into the KBOOT Kinetis Bootloader V2.0 and have some questions regarding its use for this specific microcontroller:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I see there is a bootloader for&amp;nbsp;MK22F51212, which is basically the same microcontroller I intend to use but with less memory. Does this bootloader work 'out of the box' for the&amp;nbsp;&lt;SPAN&gt;MK22FN1M0AVMC12? Should I do any modification to the code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. I also see there are multiple alternatives in the folder of the bootloader provided for Kinetis Design Studio: Flashloader, Flashloader_loader, Freedom_bootloader, and tower_bootloader. Since I am not using any of the development kits like the freedom or the tower, which version should I use? What would be the differences?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. In my application I am planning to have only two buttons available. Is this enough for the complete bootloader capabilities? I would mainly like to be able to update my firmware through USB with no additional connections. From what I see the bootloader could be either started at startup when a USB is connected and attempting to establish&amp;nbsp;bootloader connection, or even calling a function from my application, but I just want to make sure that no extra pins are required to be available, since as I mentioned, the application will only have two GPIOs available as buttons.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ivan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709896#M43540</guid>
      <dc:creator>pulsatrixp1</dc:creator>
      <dc:date>2017-08-30T06:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709897#M43541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are various K22 derivatives that are not compatible so if you have a K22F1M0 you may find the TWR kit version closest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of problems or need for more flexibility see also &lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerSerialLoader.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which also includes a K22F1M0 120M target (Kboot UART, KBOOT USB, USB-MSD, SD card, memory stick, Developer's loader, UART SREC/UART iHEX, USB-CDC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-K22F.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-K22F.html&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K22F120M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K22F120M.html&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FBLAZE_K22.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/BLAZE_K22.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 10:07:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709897#M43541</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-08-30T10:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709898#M43542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply and the extra info.&lt;/P&gt;&lt;P&gt;Do you have any suggestion for my question 3? Do I need any specific IOs available? or can I just rely on a timer and a couple of GPIOs available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 12:49:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709898#M43542</guid>
      <dc:creator>pulsatrixp1</dc:creator>
      <dc:date>2017-08-30T12:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709899#M43543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;P&gt;I don't know about the original KBOOT's capabilities but the uTasker alternatives use switches as you describe which are configured for each board as required. It also allows an application to command the loader mode in a RAM mailbox (application sets pattern in RAM mailbox and commands a SW reset -&amp;gt; loader detects this and stays in the loader rather than starting the application).&lt;/P&gt;&lt;P&gt;Other alternatives are to allow the loader to run for a short time - if no communication is detected it then starts the application (or mixtures of these).&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 16:15:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709899#M43543</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-08-30T16:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709900#M43544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pulsatrix P1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can't use the K22 flash bootloader in the KBOOT2.0 directly, because this bootloader is not compatible with MK22FN1M0AVMC12 , you need to do the porting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can refer to Kinetis Bootloader v2.0.0 Reference Manual.pdf in folder:: NXP_Kinetis_Bootloader_2_0_0\doc\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Page 131, chapter 10 Kinetis bootloader porting.&lt;/P&gt;&lt;P&gt;&amp;nbsp; There has some posts for your reference:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/829169?commentID=829169#comment-829169" title="https://community.nxp.com/message/829169?commentID=829169#comment-829169"&gt;https://community.nxp.com/message/829169?commentID=829169#comment-829169&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/436702"&gt;Kinetis Bootloader TWR-K21F120M&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now answer your 3 questions:&lt;/P&gt;&lt;P&gt;1. You need to do porting, please refer to Kinetis Bootloader v2.0.0 Reference Manual.pdf.&lt;/P&gt;&lt;P&gt;2. &lt;SPAN&gt;Flashloader and Flashloader_loader together is the once used flash bootloader, after you download the application code, this bootloader will be disappear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Freedom_bootloader, and tower_bootloader, can always be used. Freedom is used for FRDM-k22f120m board, tower is used for TWR-K22F120M board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. The KBOOT2.0 already contains the USB bootloader, you can port it. But just modify the according pins and the start file, system files to your own board's code.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 05:50:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709900#M43544</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-31T05:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709901#M43545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the uTasker serial loader has integral support for your chip (including the most popular USB-MSD mode, which is used by the Blaze project - and is Win 10, MAC OS, Linux compatible and can recognise bin, SREC or iHex files).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is a thread about configuring for custom boards from the Blaze target at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fforum%2Findex.php%3Ftopic%3D1951.0" rel="nofollow" target="_blank"&gt;http://www.utasker.com/forum/index.php?topic=1951.0&lt;/A&gt;&lt;BR /&gt;which also removes any porting requirements and allows building with almost any IDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 11:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709901#M43545</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-08-31T11:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709902#M43546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;Hi Mark,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;I have been testing the uTasker bootloader in USB-MSD mode following some of your tutorials. I am using an&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;MK22FN1M0AVMC12 in a custom board that has followed the design from the kit&amp;nbsp;TWR-K21F120MA.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;By changing my Led pin and configuring the bootloader to this TWR board, and configuring it to disable the watchdog and do not force the bootloader mode (as below)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;#define WATCHDOG_DISABLE()&amp;nbsp; &amp;nbsp; &amp;nbsp;(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;#define FORCE_BOOT()&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;I was able to load my application as well, when changing the starting address of the application from:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400&lt;BR /&gt; m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;BR /&gt; m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0&lt;BR /&gt; m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000&lt;BR /&gt; m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00010000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;m_interrupts (RX) : ORIGIN = 0x00008080, LENGTH = 0x00000400&lt;BR /&gt; m_flash_config (RX) : ORIGIN = 0x00008480, LENGTH = 0x00000010&lt;BR /&gt; m_text (RX) : ORIGIN = 0x00008490, LENGTH = 0x000FFBF0-0x8080&amp;nbsp;&lt;BR /&gt; m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000&lt;BR /&gt; m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00010000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;I have also tested a similar modification but starting at 0x8200, and changing the line below&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;From &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: #F0F4F7;"&gt;#define ROOT_FILE_ENTRIES&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;To &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: #F0F4F7;"&gt;#define ROOT_FILE_ENTRIES&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;16&lt;/STRONG&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;This, following the indication of one of your posts that for all interrupts to work correctly, vector table must be 512 byte. This results in the memory map indicated below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;&amp;nbsp; m_interrupts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00008200, LENGTH = 0x00000400&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;&amp;nbsp; m_flash_config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00008600, LENGTH = 0x00000010&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;&amp;nbsp; m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00008610, LENGTH = 0x000FFBF0-0x8200 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW) &amp;nbsp;: ORIGIN = 0x1FFF0000, LENGTH = 0x00010000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;&amp;nbsp; m_data_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x20000000, LENGTH = 0x00010000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;Now, in both cases I see my application starts as I activate a Led in certain pattern, but if I place the lines of this same Led activation further in my code, it seems these lines are never reached and the program stops. Device is not resetting since watchdog is inactive, and is not going to bootloader mode since this is also forced to be disabled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;On every reset I see the initial part of my program runs (by activating a buzzer), but the rest of my program does not continue until the end, and my Led blinking routine seems not to be reached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;Do you have any suggestions on what may be happening that prevents the complete application to run? Is there a restriction on where the interrupt vectors should start? I saw there is an option to move these to RAM, but I would prefer to keep them in FLASH; should a different address be used for this purpose (or an additional modification in my application code that I am missing?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;In addition, if I will be using interrupts of different kinds (GPIOs, timers), will these interrupts work as normal just by changing the start of the interrupt vector, or should additional modifications be done to guarantee the interrupt functionality?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt;"&gt;&lt;SPAN style="color: #51626f; background: white; font-size: 11.5pt;"&gt;Ivan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 07:49:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709902#M43546</guid>
      <dc:creator>pulsatrixp1</dc:creator>
      <dc:date>2018-01-16T07:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709903#M43547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is a guide for application compatibility in appendix B of the serial loader user's guide with a list of points to be checked [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerSerialLoader.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition there is a guide for Teensy users to ensure compatibility at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fforum%2Findex.php%3Ftopic%3D1869.0" rel="nofollow" target="_blank"&gt;http://www.utasker.com/forum/index.php?topic=1869.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds as though your code is starting but it may have a problem with its clock initialisation (the loader will already initialise it) which doesn't handle the case correctly, or it may be due to interrupts, although your changes to ensure correct operation in Flash are correct - however, make sure that you set the VBA in your start-up code to match!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best thing to do to identify it is to step through your code with a debugger - there is no problem debugging with a loader installed - and then you can find out where it hangs, check that the VBA is set to match your flash vector location, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 15:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709903#M43547</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-01-16T15:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709904#M43548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I debug my code (the application with the modified start address) with the bootloader present it runs normally, but it only hangs when I program it by dragging the file in to the disk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have verified the VBA (for the case of 0x8200:&amp;nbsp;SCB-&amp;gt;VTOR = 0x8200; ) but the behaviour is the same.&amp;nbsp; When debugging the bootloader, and then dragging the file, the program hangs and shows a "No source available" error. Does this tell you any indication of why it could be failing? or is this just because it has jumped to start the application which is a code not known by the debugger since it is debugging the bootloader and not the application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I reproduce the error debugging my application with the bootloader present? I have checked the lists but it seems I am following the steps suggested, with no effect on the behaviour previously described.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any other suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 07:14:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709904#M43548</guid>
      <dc:creator>pulsatrixp1</dc:creator>
      <dc:date>2018-01-22T07:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709905#M43549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load your code using the loader it sounds as though the result I flash is not the same as when you load the loader and your code together. If possible, do a Flash memory comparison of the two case because I suspect a difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possibilities are that the loader&lt;/P&gt;&lt;P&gt;- is loading your code to a "different start address" than expected (check the load address configured in the loader carefully).&lt;/P&gt;&lt;P&gt;- is "not copying the complete file" (check the maximum application size that you have configured in the loader to ensure that it is not set smaller that your actual application binary file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 17:30:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709905#M43549</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-01-22T17:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader V2.0 for MK22FN1M0AVMC12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709906#M43550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to your suggestions I have solved the issue. It was related with the clock configuration together with a UART getting a reference clock that was not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Feb 2018 13:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-V2-0-for-MK22FN1M0AVMC12/m-p/709906#M43550</guid>
      <dc:creator>pulsatrixp1</dc:creator>
      <dc:date>2018-02-18T13:20:35Z</dc:date>
    </item>
  </channel>
</rss>

