<?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: problem while I build, bootloader for Kinetis K60</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262460#M8201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;I'm running the code from AN2295 in both IAR, and I'm porting it to GCC compiler in CodeWarrior 10.3 at the moment. I have no problems compiling it in EWARM 6.50.3, and it compiles and runs in CW10.3 (just a bit of cleaning up to do).&lt;/P&gt;&lt;P&gt;What toolchain are you using?&lt;/P&gt;&lt;P&gt;Kinetis K-series has CM4 core, with 16-off 32-bit registers, and R0, R1 are certainly part of the core. You will find that the functioncall JumpToUserApplication will load the userSP and userStartup in R0 and R1 when the function is called - this is the default behaviour when a C function is called with two unsigned int parameters.&lt;/P&gt;&lt;P&gt;There are many ways to insert assembler code into a C project. you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;asm ("msr msp, r0") instead of the __asm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes the toolchain is case sensitive, but both my EWARM and CW10.3 are not.&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, 11 Apr 2013 20:50:28 GMT</pubDate>
    <dc:creator>UK_CF_FAE</dc:creator>
    <dc:date>2013-04-11T20:50:28Z</dc:date>
    <item>
      <title>problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262459#M8200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hello, I have a problem when building the project &lt;SPAN&gt;bootloader&lt;/SPAN&gt; from the downloadable document an2295sw. Within the &lt;SPAN&gt;src&lt;/SPAN&gt; where are the source code, the module &lt;SPAN&gt;bootloader&lt;/SPAN&gt;.&lt;SPAN&gt;c&lt;/SPAN&gt;. send me 3 errors in the following function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;void JumpToUserApplication(LWord userSP, LWord userStartup)&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;{&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;&amp;nbsp; // set up stack pointer&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;&amp;nbsp; __asm("msr msp, r0");&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;&amp;nbsp; __asm("msr psp, r0");&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;&amp;nbsp; // Jump to PC (r1)&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;&amp;nbsp; __asm("mov pc, r1"); &lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;The error that occurs is as follows:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="text-align: left;"&gt;{(assembler source):1}&amp;nbsp;&amp;nbsp; msr msp, r0&lt;/P&gt;&lt;P style="text-align: left;"&gt;&amp;nbsp; undefined identifier 'r0',&lt;/P&gt;&lt;P style="text-align: left;"&gt; undefined identifier 'r0', &lt;/P&gt;&lt;P style="text-align: left;"&gt;{(assembler source):1}&amp;nbsp;&amp;nbsp; msr msp, r1&lt;/P&gt;&lt;P style="text-align: left;"&gt;undefined identifier 'r1'&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I guess it's because r0 and r1 are not native registers within the microcontroller.&lt;/P&gt;&lt;P&gt;Any help or ideas is much appreciated.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 120px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 15:10:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262459#M8200</guid>
      <dc:creator>ahergonb</dc:creator>
      <dc:date>2013-04-11T15:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262460#M8201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;I'm running the code from AN2295 in both IAR, and I'm porting it to GCC compiler in CodeWarrior 10.3 at the moment. I have no problems compiling it in EWARM 6.50.3, and it compiles and runs in CW10.3 (just a bit of cleaning up to do).&lt;/P&gt;&lt;P&gt;What toolchain are you using?&lt;/P&gt;&lt;P&gt;Kinetis K-series has CM4 core, with 16-off 32-bit registers, and R0, R1 are certainly part of the core. You will find that the functioncall JumpToUserApplication will load the userSP and userStartup in R0 and R1 when the function is called - this is the default behaviour when a C function is called with two unsigned int parameters.&lt;/P&gt;&lt;P&gt;There are many ways to insert assembler code into a C project. you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;asm ("msr msp, r0") instead of the __asm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes the toolchain is case sensitive, but both my EWARM and CW10.3 are not.&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, 11 Apr 2013 20:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262460#M8201</guid>
      <dc:creator>UK_CF_FAE</dc:creator>
      <dc:date>2013-04-11T20:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262461#M8202</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;I'm using the CodeWarrior 10.1 and IAR in version 6.3, i'm not sure if this could be the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 23:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262461#M8202</guid>
      <dc:creator>ahergonb</dc:creator>
      <dc:date>2013-04-11T23:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262462#M8203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all I recommend to you using&amp;nbsp; IAR in version 6.4 and also CodeWarrior 10.3. Your explanations look as the bug is in the configuration of the bootloader. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What MCU do you use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AN2295 Developer&lt;/P&gt;&lt;P&gt;Pavel Krenek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 06:54:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262462#M8203</guid>
      <dc:creator>pavel_krenek</dc:creator>
      <dc:date>2013-04-12T06:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262463#M8204</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;I'm using the MK60DN512Z &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 17:53:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262463#M8204</guid>
      <dc:creator>ahergonb</dc:creator>
      <dc:date>2013-04-12T17:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262464#M8205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;If you are using CW should be used function:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#elif defined(__CWCC__)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;asm void JumpToUserApplication(LWord userSP, LWord userStartup)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; // set up stack pointer&lt;/P&gt;&lt;P&gt;&amp;nbsp; msr msp, r0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; msr psp, r0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Jump to PC (r1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; mov pc, r1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or if you are using IAR or uVision should be use this function for jumping to application:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if defined(__IAR_SYSTEMS_ICC__) || defined(__ARMCC_VERSION)&lt;/P&gt;&lt;P&gt;void JumpToUserApplication(LWord userSP, LWord userStartup)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; // set up stack pointer&lt;/P&gt;&lt;P&gt;&amp;nbsp; __asm("msr msp, r0");&lt;/P&gt;&lt;P&gt;&amp;nbsp; __asm("msr psp, r0");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Jump to PC (r1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; __asm("mov pc, r1"); &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you try to check if is the correct function is compiled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 09:05:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262464#M8205</guid>
      <dc:creator>pavel_krenek</dc:creator>
      <dc:date>2013-04-15T09:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262465#M8206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that, but the same error still appears, maybe I'm wrong in using the # if defined (__ARMCC_VERSION) or __ attribute__ ((section (". FlashConfig"))) const FlashConfig_t Config __ attribute__ ((used)) within the bootloader.c&lt;/P&gt;&lt;P&gt;Or my mistake either in some # if defined, the problem is I don't know much of the CodeWarrior compiler directives.&lt;/P&gt;&lt;P&gt;Maybe I'm wrong in a. h &lt;/P&gt;&lt;P&gt;can you help me on that please?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 16:36:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262465#M8206</guid>
      <dc:creator>ahergonb</dc:creator>
      <dc:date>2013-04-16T16:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262466#M8207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I installed the CodeWarrior 10.3 and the problem I had in JumpToUserApplication function (); already solved, now the problem is, within the bootloader.c on line 117 I have the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp; missing braces around initializer [-Wmissing-braces] (near initialization for 'bootloaderIdent.blockDesc [0]') [-Wmissing-braces]&lt;/P&gt;&lt;P&gt;the structure:&lt;/P&gt;&lt;P&gt;BootloaderIdentOptimType const bootloaderIdent&lt;/P&gt;&lt;P&gt;in line {LITTLE2BIG (USER_FLASH_START) LITTLE2BIG (USER_FLASH_END)},&lt;/P&gt;&lt;P&gt;also provides that:&lt;/P&gt;&lt;P&gt;./Sources/bootloader_c.obj:(.IntVectTable+0x0): undefined reference to `__BOOT_STACK_ADDRESS'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 15:40:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262466#M8207</guid>
      <dc:creator>ahergonb</dc:creator>
      <dc:date>2013-04-18T15:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262467#M8208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;what version of the bootloader are you using ? Could you try check the revision of the AN2295.&lt;/P&gt;&lt;P&gt;Have you tried you the compilation for IAR 6.4 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 05:28:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262467#M8208</guid>
      <dc:creator>pavel_krenek</dc:creator>
      <dc:date>2013-04-19T05:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262468#M8209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&amp;nbsp; I have the K60 and using the following code of AN2295 can´t jump to the desired address. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void JumpToUserApplication(LWord 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;&amp;nbsp;&amp;nbsp; r13, [r0]");&lt;/P&gt;&lt;P&gt;&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("ADD&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;&amp;nbsp; r0");&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It jumps to another address and not to where i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using CW 10.2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 14:39:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262468#M8209</guid>
      <dc:creator>albertolubeiro</dc:creator>
      <dc:date>2013-10-23T14:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262469#M8210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the webpages is new version of the AN2295. It will be better if you begin use this one and we can be synchronized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 07:07:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262469#M8210</guid>
      <dc:creator>pavel_krenek</dc:creator>
      <dc:date>2013-10-30T07:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262470#M8211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, i have just downloaded the last version of AN2295 but still can't do a jump to my app.&lt;/P&gt;&lt;P&gt;In order to check if the code is ok, i have place a function to an address and have tried to do the jump to this function. The jump went ok, so i don't know where the broblem can be when i try to jump to my app.&lt;/P&gt;&lt;P&gt;At this moment the boot is just a basic proyect. It only configures the micro and in main function makes a jump to the entry point of the application.&lt;/P&gt;&lt;P&gt;The address i want to jump to, is 0x4800 that is the origen of application's m_text segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;APPLICATION&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX) : ORIGIN = 0x00004800, LENGTH = 0x00040000-0x00004800&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have made a silly probe. I have loaded only the application and put a break point into the start of "__thumb_startup" function in order to see the vaule of PC.&lt;/P&gt;&lt;P&gt;Then i have loaded also the boot, making the jump to the address of "__thumb_startup" watching before.&lt;/P&gt;&lt;P&gt;This way, it results that the jump to my application is made fine but is not supposed that the address to wich i have to jump should be 0x4800?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Alberto&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:07:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262470#M8211</guid>
      <dc:creator>albertolubeiro</dc:creator>
      <dc:date>2013-10-30T09:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem while I build, bootloader for Kinetis K60</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262471#M8212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is solved.&lt;/P&gt;&lt;P&gt;The startup code doesn't have to be placed at begining of the m_text segment, so the solution is to place the startup function into a fixed address and jump always to this address.&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;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 15:58:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/problem-while-I-build-bootloader-for-Kinetis-K60/m-p/262471#M8212</guid>
      <dc:creator>albertolubeiro</dc:creator>
      <dc:date>2013-10-30T15:58:07Z</dc:date>
    </item>
  </channel>
</rss>

