<?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: Fixed Jump location for bootloader in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564100#M7216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Girish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On kds , the jump application you can use this :&lt;/P&gt;&lt;P&gt;&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/36282i7F27E14810C7A1AE/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;P&gt;&lt;/P&gt;&lt;P&gt;After load APP, you can compare the&amp;nbsp; memory with&amp;nbsp; when download the APP alone .&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>Wed, 06 Jul 2016 04:06:45 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2016-07-06T04:06:45Z</dc:date>
    <item>
      <title>Fixed Jump location for bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564095#M7211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am working on KE02 and KL02 bootloader code and i want to have a fixed jump location address in application code. What are the options available to achieve a fixed known jump location in KDS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 06:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564095#M7211</guid>
      <dc:creator>girishkumarvast</dc:creator>
      <dc:date>2016-06-23T06:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Jump location for bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564096#M7212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Which bootloader do you used ？&lt;/P&gt;&lt;P&gt;If you want change the jump location , at least you need change two place.&lt;/P&gt;&lt;P&gt;On the bootlaoder code ,change the jump address ;&lt;/P&gt;&lt;P&gt;on the application code ,change the linker file , change it from the "jump address" to start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have question , you can show your code .&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>Thu, 23 Jun 2016 09:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564096#M7212</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-06-23T09:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Jump location for bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564097#M7213</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 am using the sample bootloader supplied by the NXP using FC protocol.I have done it in the application code and downloaded it and it is not working..&lt;/P&gt;&lt;P&gt;how to make sure application jump address always remains same from version to version? is there any option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 09:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564097#M7213</guid>
      <dc:creator>girishkumarvast</dc:creator>
      <dc:date>2016-06-23T09:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Jump location for bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564098#M7214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vastrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you used KBOOT or AN2295 ?&lt;/P&gt;&lt;P&gt;No matter which version , you can&amp;nbsp; find the jump address at here :&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/60058i555A2DB3BDAFD0BE/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;P&gt;the MACRO of RELOCATED_VECTORS is the jump address , you can also change it refer to your demand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you have flash the application into your board , you can check the memory , check whether it is right .&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, 27 Jun 2016 01:59:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564098#M7214</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-06-27T01:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Jump location for bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564099#M7215</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 am using AN2295,Processor MKL02Z32VFM4 and KDS ver.2.0.0..After going through several posts in community and your reply, i found that Jump address(__thumb_startup function) is always located @RELOCATED_VECTORS+4 address. Thanks for that..&lt;/P&gt;&lt;P&gt;I am using the below function to JumpTouser_Application and bootloader is resetting..I am successfully able to download the user application but when i send quit command it is resetting..I am using AN2295,Processor MKL02Z32VFM4 and KDS ver.2.0.0.&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; SCB_VTOR=RELOCATION_VERTOR_ADDR;&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 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; __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; __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; __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;&amp;nbsp; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide some inputs if the above code is correct??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Girish Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 04:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564099#M7215</guid>
      <dc:creator>girishkumarvast</dc:creator>
      <dc:date>2016-07-01T04:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed Jump location for bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564100#M7216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Girish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On kds , the jump application you can use this :&lt;/P&gt;&lt;P&gt;&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/36282i7F27E14810C7A1AE/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;P&gt;&lt;/P&gt;&lt;P&gt;After load APP, you can compare the&amp;nbsp; memory with&amp;nbsp; when download the APP alone .&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>Wed, 06 Jul 2016 04:06:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Fixed-Jump-location-for-bootloader/m-p/564100#M7216</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-07-06T04:06:45Z</dc:date>
    </item>
  </channel>
</rss>

