<?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: kea128  bootloader cannot work ? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830337#M50201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You should modify the keil link file if you want to remap. You can download MCUboot package&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-tools/mcuboot-mcu-bootloader-for-nxp-microcontrollers:MCUBOOT"&gt;https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-tools/mcuboot-mcu-bootloader-for-nxp-microcontrollers:MCUBOOT&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check the demo project&amp;nbsp;NXP_Kinetis_Bootloader_2_0_0\apps\led_demo\MKL25Z4\mdk\led_demo_freedom_8000.&lt;/P&gt;&lt;P&gt;You can refer to&amp;nbsp;its sct file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Dec 2018 03:07:42 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2018-12-29T03:07:42Z</dc:date>
    <item>
      <title>kea128  bootloader cannot work ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830334#M50198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working&amp;nbsp;on bootloader of kea128,&amp;nbsp; i download the DEMOCODE from INTERNET, and convert it from Codewarrior to Keil, but the function jumptoapplication() doesn't work. In debugging, the sp register is 0x4000, the pc register is not 0x4000, it can not jump to application from boot .the code is like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void JumpToApplication(uint32_t sp, uint32_t pc)&lt;BR /&gt;{&lt;BR /&gt; &lt;BR /&gt; JumpToPtr pJumpTo;&lt;BR /&gt; uint16_t i;&lt;BR /&gt; &lt;BR /&gt; static uint32_t s_stackPointer = 0;&lt;BR /&gt;uint32_t *pNewAppEntry;&lt;BR /&gt; pNewAppEntry = (uint32_t *)pc;&lt;BR /&gt; s_stackPointer = sp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCB-&amp;gt;VTOR=0X4000;&lt;BR /&gt; __set_MSP(s_stackPointer);&lt;BR /&gt; __set_PSP(s_stackPointer);&lt;BR /&gt; pJumpTo = ((JumpToPtr)(*pNewAppEntry));&lt;BR /&gt; &lt;BR /&gt;// s_application();&lt;BR /&gt; pJumpTo();&lt;BR /&gt; &lt;BR /&gt; while(1)&lt;BR /&gt; {&lt;BR /&gt; i++;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;who can help me?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2018 09:00:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830334#M50198</guid>
      <dc:creator>维维邓</dc:creator>
      <dc:date>2018-12-24T09:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: kea128  bootloader cannot work ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830335#M50199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First please make sure that in your application&amp;nbsp;the interrupt vector table is really locate at 0x4000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the interrupt vector table, for example 0x4000, (*(unsigned int*)0x4000) always be the Stack Pointer address. And (*(unsigned int*)0x4004) always be the application's entry address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The address value in (unsigned int*)0x4004) is the real entry address +1. For example, if the application's entry address is 0x4100, the the value will be 0x4101.&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;jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 06:47:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830335#M50199</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-12-27T06:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: kea128  bootloader cannot work ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830336#M50200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear jing,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; How to locate the vector table at 0x4000 in my application ? i should check the application code or the software configration&amp;nbsp; of keil5?&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;deng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 05:38:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830336#M50200</guid>
      <dc:creator>维维邓</dc:creator>
      <dc:date>2018-12-28T05:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: kea128  bootloader cannot work ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830337#M50201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You should modify the keil link file if you want to remap. You can download MCUboot package&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-tools/mcuboot-mcu-bootloader-for-nxp-microcontrollers:MCUBOOT"&gt;https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-tools/mcuboot-mcu-bootloader-for-nxp-microcontrollers:MCUBOOT&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check the demo project&amp;nbsp;NXP_Kinetis_Bootloader_2_0_0\apps\led_demo\MKL25Z4\mdk\led_demo_freedom_8000.&lt;/P&gt;&lt;P&gt;You can refer to&amp;nbsp;its sct file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Dec 2018 03:07:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830337#M50201</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-12-29T03:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: kea128  bootloader cannot work ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830338#M50202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;; *************************************************************&lt;BR /&gt;; *** Scatter-Loading Description File generated by uVision ***&lt;BR /&gt;; *************************************************************&lt;/P&gt;&lt;P&gt;LR_IROM1 0x00000000 0x00020000 { ; load region size_region&lt;BR /&gt; ER_IROM1 0x00000000 0x00020000 { ; load address = execution address&lt;BR /&gt; *.o (RESET, +First)&lt;BR /&gt; *(InRoot$$Sections)&lt;BR /&gt; .ANY (+RO)&lt;BR /&gt; }&lt;BR /&gt; RW_IRAM1 0x1FFFF000 0x00004000 { ; RW data&lt;BR /&gt; .ANY (+RW +ZI)&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the sct file of my project, it seems no problems, can you help me find the problems?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;deng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2019 01:12:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830338#M50202</guid>
      <dc:creator>维维邓</dc:creator>
      <dc:date>2019-01-02T01:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: kea128  bootloader cannot work ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830339#M50203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This scatter file show that your code start from address 0. Obviously, it can't run at 0x4000.&lt;/P&gt;&lt;P&gt;Please refer to the scatter file in &amp;nbsp;NXP_Kinetis_Bootloader_2_0_0\apps\led_demo\MKL25Z4\mdk\led_demo_freedom_8000. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2019 09:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/kea128-bootloader-cannot-work/m-p/830339#M50203</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-01-02T09:59:51Z</dc:date>
    </item>
  </channel>
</rss>

