<?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: How to run the application file in the Freescale Universal boot loader ? in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499737#M6263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mam,&lt;/P&gt;&lt;P&gt;Thanks for the Help. I changed it and I am getting the same problem. I mailed you the code again. Please help me with this. And If possible can you send me the screenshots of how to run the application code in the Boot loader GUI ?&lt;BR /&gt;When I press the Program button in Boot loader GUI, the application code should run right ? in my case, when I press the Program button, the LED should blink right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 06:07:51 GMT</pubDate>
    <dc:creator>ganeshramachand</dc:creator>
    <dc:date>2016-06-01T06:07:51Z</dc:date>
    <item>
      <title>How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499729#M6255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Hi I am using MKE02Z64VLD2 microcontroller in KDS 2.0 IDE.. For me memory is getting Erased and Programmed perfectly.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;My application code name is TestBeta which is a simple code to blink LED. I converted this Application file into S19 file and I included it under &lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt;s19 file section.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Memory is Erased&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="150310_150310.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121639iBB856B36C7BE5593/image-size/large?v=v2&amp;amp;px=999" role="button" title="150310_150310.jpg" alt="150310_150310.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="BL erase.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/36701i1C8C78BA6C63849F/image-size/large?v=v2&amp;amp;px=999" role="button" title="BL erase.jpg" alt="BL erase.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Memory is programmed&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="150311_150311.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121640i5D928AB6068EA41F/image-size/large?v=v2&amp;amp;px=999" role="button" title="150311_150311.jpg" alt="150311_150311.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="BL Program.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/36742iDB6E591240106A6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="BL Program.jpg" alt="BL Program.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;But the LED is not blinking.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;What is the problem ?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;OR&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I have to do something else to run the application file ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 05:40:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499729#M6255</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-05-25T05:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499730#M6256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesh,&lt;/P&gt;&lt;P&gt;How about press the reset button on board ?&lt;/P&gt;&lt;P&gt;If still can not working , please check whether change the linker file vector start address to 0x4000?&lt;/P&gt;&lt;P&gt;Which bootloader do you used ? Under the bootlaoder, it should have application demo code ,&amp;nbsp; i&lt;/P&gt;&lt;P&gt;recommend you first flash the demo application to have a try .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 02:05:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499730#M6256</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-27T02:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499731#M6257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;1. I am not using Freedom Board. I am using a customized board. So I guess Reset button option would be invalid here. (or if I have to configure any button as RESET Button please help me how to do it)&lt;/P&gt;&lt;P&gt;2. My Application Code's Linker File settings:&lt;/P&gt;&lt;P&gt;MEMORY {&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_interrupts (RX) : ORIGIN = 0x00004000, LENGTH = 0x000000C0&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX) : ORIGIN = 0x00004410, LENGTH = 0x0000FBF0&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW) : ORIGIN = 0x1FFFFC00, LENGTH = 0x00001000&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_cfmprotrom&amp;nbsp; (RX) : ORIGIN = 0x00004400, LENGTH = 0x00000010&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I have also attached the APPLICATION CODE project.&lt;/P&gt;&lt;P&gt;3. I am using UART Boot loader -- AN 4767.&lt;/P&gt;&lt;P&gt;4. Should I flash the Application code ? I have doubts in using the Universal Boot loader GUI.&lt;/P&gt;&lt;P&gt;Ill tell you what all I did step by step.&lt;/P&gt;&lt;P&gt;Step 1: I included the following files from the AN 4767 SW file&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;common.h&lt;/LI&gt;&lt;LI&gt;Events.c&lt;/LI&gt;&lt;LI&gt;Events.h&lt;/LI&gt;&lt;LI&gt;FC_protocol.c&lt;/LI&gt;&lt;LI&gt;FC_protocol.h&lt;/LI&gt;&lt;LI&gt;flash.c&lt;/LI&gt;&lt;LI&gt;flash.h&lt;/LI&gt;&lt;LI&gt;main.c (which is Bootloader_sci in AN 4767 SW folder)&lt;/LI&gt;&lt;LI&gt;uart.c&lt;/LI&gt;&lt;LI&gt;uart.h&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Step 2: I made changes in the code to suit my board specifications. For instance: My serial connection is half duplex and there is no RTS CTS support in MKE02Z64VLD2. The Tx and Rx are connected to PIN 21 of my controller so I need to toggle it every time I Transmit and Receive. So in the Uart.c and Uart.h files I included this piece of code.&lt;/P&gt;&lt;P&gt;For RX&lt;/P&gt;&lt;P&gt;GPIO_PDD_ClearPortDataOutputMask(GPIOA_BASE_PTR, GPIO_PDD_PIN_21);&lt;/P&gt;&lt;P&gt;For TX&lt;/P&gt;&lt;P&gt;GPIO_PDD_SetPortDataOutputMask(GPIOA_BASE_PTR, GPIO_PDD_PIN_21);&lt;/P&gt;&lt;P&gt;I made other necessary changes required for successful compilation of the code.&lt;/P&gt;&lt;P&gt;Step 3: I wrote a simple Application code for blinking of led, which works well if I debug it. I have attached it here.&lt;/P&gt;&lt;P&gt;Step 4: I removed the s9 record line statement from the application_code.srec (actually I tried both. I tried to run the application file which has s9 record and I tried to run the application file which do not have s 9 record.. Both didn't work)&lt;/P&gt;&lt;P&gt;Step 5: In the Boot loader GUI, I loaded the S record format application file by clicking the &lt;STRONG&gt;O&lt;/STRONG&gt;&lt;STRONG&gt;pen s19&lt;/STRONG&gt; button.&lt;/P&gt;&lt;P&gt;Step 6: I debugged the Boot loader code and connected the Boot loader GUI to it by pressing the &lt;STRONG&gt;Connect&lt;/STRONG&gt; button.&lt;/P&gt;&lt;P&gt;Step 7: I pressed the &lt;STRONG&gt;Erase &lt;/STRONG&gt;button then I pressed the &lt;STRONG&gt; Program &lt;/STRONG&gt;button as shown in the screenshots above (in my question).&lt;/P&gt;&lt;P&gt;Step 8: What should I do to make the APPLICATION CODE &lt;STRONG&gt;run&lt;/STRONG&gt; ?&lt;/P&gt;&lt;P&gt;I am stuck at this step...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 04:53:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499731#M6257</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-05-27T04:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499732#M6258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesh,&lt;/P&gt;&lt;P&gt;- Only through your said there is no error . Please debug to find the problem :&lt;/P&gt;&lt;P&gt;put one point after program code ,then step by step to check where it to run;&lt;/P&gt;&lt;P&gt;And&amp;nbsp; please check the bootlaoder code flow , when start up&amp;nbsp; , whether it can&lt;/P&gt;&lt;P&gt;jump to the application code .&lt;/P&gt;&lt;P&gt;- You can also send your bootloader to me , while i have not your chip, i only have the&lt;/P&gt;&lt;P&gt;frdm-ke02 board , while i think i can test it on this board , to debug and check .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 07:17:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499732#M6258</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-30T07:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499733#M6259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Alice.&lt;BR /&gt; I don't think I can attach the code here. Can I mail you the code ?&amp;nbsp; Can you share me your mail ID ? &lt;BR /&gt;This is my mail id. &lt;STRONG&gt;&lt;A class="jive-link-email-small" href="mailto:ganeshramachandranece@gmail.com"&gt;ganeshramachandranece@gmail.com&lt;/A&gt;&lt;/STRONG&gt; Can you drop me an empty mail to this mail id ? So that I can reply you with my code.&lt;BR /&gt; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 10:54:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499733#M6259</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-05-30T10:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499734#M6260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. i have send to you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;ALice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 09:04:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499734#M6260</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-31T09:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499735#M6261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot I mailed you.&lt;/P&gt;&lt;P&gt;Yours truly&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 09:16:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499735#M6261</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-05-31T09:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499736#M6262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesh,&lt;/P&gt;&lt;P&gt;In you bootlader code,&amp;nbsp; the RELOCATION_VERTOR_ADDR is 0x1000,&lt;/P&gt;&lt;P&gt;while in the application project ,the start address is 0x4000, so it can not jump to the right place ,&lt;/P&gt;&lt;P&gt;then the application can not work well .&lt;/P&gt;&lt;P&gt;Please change RELOCATION_VERTOR_ADDR to 0x4000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Tue, 31 May 2016 09:33:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499736#M6262</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-31T09:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499737#M6263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mam,&lt;/P&gt;&lt;P&gt;Thanks for the Help. I changed it and I am getting the same problem. I mailed you the code again. Please help me with this. And If possible can you send me the screenshots of how to run the application code in the Boot loader GUI ?&lt;BR /&gt;When I press the Program button in Boot loader GUI, the application code should run right ? in my case, when I press the Program button, the LED should blink right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 06:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499737#M6263</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-06-01T06:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499738#M6264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OH, why the application of "JumpToUserApplication" is empty :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59496i96E0BDC35E0A81F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 06:37:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499738#M6264</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-06-01T06:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499739#M6265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because it threw me these errors. Can you help me fixing it ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alicejumpuserapp.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60241iA0756A814944C538/image-size/large?v=v2&amp;amp;px=999" role="button" title="alicejumpuserapp.jpg" alt="alicejumpuserapp.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 08:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499739#M6265</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-06-01T08:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499740#M6266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please change to this :&lt;/P&gt;&lt;P&gt;void JumpToUserApplication(uint32_t userStartup)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // set up stack pointer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("LDR&amp;nbsp;&amp;nbsp;&amp;nbsp; r1, [r0]");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("mov&amp;nbsp;&amp;nbsp;&amp;nbsp; r13, r1");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* jump to application reset vector */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("ADDS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r0,r0,#0x04 ");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("LDR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r0, [r0]");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("BX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r0");&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the jump function , it can not jump to your APP without these code .&lt;/P&gt;&lt;P&gt;If there is anything else you also mask , please tell me our change it by yourself .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Wed, 01 Jun 2016 10:30:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499740#M6266</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-06-01T10:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499741#M6267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It throws me this error. &lt;STRONG&gt;Error: instruction not supported in Thumb16 mode -- `adds r0,r0,#0x04'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Aliceerror.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59281i5F48086E390CC7F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aliceerror.jpg" alt="Aliceerror.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What should be done ?&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 04:36:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499741#M6267</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-06-02T04:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499742#M6268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;Please try this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void JumpToUserApplication(uint32_t userStartup)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("ldr r1, [r0,#0]");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //get the stack pointer value from the program's reset vector&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("mov sp, r1");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //copy the value to the stack pointer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("ldr r0, [r0,#4]");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //get the program counter value from the program's reset vector&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("blx r0");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //jump to the start address&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Fri, 03 Jun 2016 05:52:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499742#M6268</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-06-03T05:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499743#M6269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Alice. No errors now.&lt;/P&gt;&lt;P&gt;Best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 06:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499743#M6269</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-06-03T06:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to run the application file in the Freescale Universal boot loader ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499744#M6270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I run this code in my project but when i debug it show this error&lt;/P&gt;&lt;P&gt;No source available for "0xB2D2687A (0xB2D2687A)() "&lt;/P&gt;&lt;P&gt;Can you help me&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-09-14.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29342i427869CECAAB2FF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-09-14.png" alt="2017-09-14.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 09:54:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-run-the-application-file-in-the-Freescale-Universal-boot/m-p/499744#M6270</guid>
      <dc:creator>huyrua291996</dc:creator>
      <dc:date>2017-09-14T09:54:15Z</dc:date>
    </item>
  </channel>
</rss>

