<?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 MCUBOOT in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/MCUBOOT/m-p/1004112#M1115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;BR /&gt;I follow this guide (&lt;A href="https://www.nxp.com/docs/en/user-guide/MBOOTDEMOUG.pdf)"&gt;https://www.nxp.com/docs/en/user-guide/MBOOTDEMOUG.pdf) &lt;/A&gt;to try MBCUBOOT bootloader. The bootloader seems to work and respond to commands&lt;BR /&gt;in fact I'm be able to upload the led_demo_freedom_a000.bin but after upload the application not start and the led not change color.&lt;BR /&gt;What can it depend on?&lt;BR /&gt;How can i debug the bootloader?&lt;BR /&gt;If I launch the bootloader application in debug after application upload I think I erase all, also the led_demo application.&lt;BR /&gt;I also saw that there are "debug_printf" instructions but they don't seem to be enabled ...&lt;/DIV&gt;&lt;DIV&gt;Thank you in advance&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2020 14:54:34 GMT</pubDate>
    <dc:creator>LArmstrong1985</dc:creator>
    <dc:date>2020-01-27T14:54:34Z</dc:date>
    <item>
      <title>MCUBOOT</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/MCUBOOT/m-p/1004112#M1115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;BR /&gt;I follow this guide (&lt;A href="https://www.nxp.com/docs/en/user-guide/MBOOTDEMOUG.pdf)"&gt;https://www.nxp.com/docs/en/user-guide/MBOOTDEMOUG.pdf) &lt;/A&gt;to try MBCUBOOT bootloader. The bootloader seems to work and respond to commands&lt;BR /&gt;in fact I'm be able to upload the led_demo_freedom_a000.bin but after upload the application not start and the led not change color.&lt;BR /&gt;What can it depend on?&lt;BR /&gt;How can i debug the bootloader?&lt;BR /&gt;If I launch the bootloader application in debug after application upload I think I erase all, also the led_demo application.&lt;BR /&gt;I also saw that there are "debug_printf" instructions but they don't seem to be enabled ...&lt;/DIV&gt;&lt;DIV&gt;Thank you in advance&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2020 14:54:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/MCUBOOT/m-p/1004112#M1115</guid>
      <dc:creator>LArmstrong1985</dc:creator>
      <dc:date>2020-01-27T14:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: MCUBOOT</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/MCUBOOT/m-p/1004113#M1116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you keep the program default, the bootloader will start application after 5 second. The MCUxpresso or other IDE can debug bootloader directly. The FRDM-K64F has on board debugger. When you download bootloader with MCUXpresso, IDE will only erase used space. It will not erase all.&lt;/P&gt;&lt;P&gt;I guess your problem is the bootloader bin file is too big. If you compile in debug mode, it will over 0xd000. If you compile in release mode, it will over 0xb000. Please disable unused interface in bootloader_config.h. Make sure the bootloader bin file small than 0xa000.&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>Tue, 28 Jan 2020 08:37:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/MCUBOOT/m-p/1004113#M1116</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2020-01-28T08:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: MCUBOOT</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/MCUBOOT/m-p/1004114#M1117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;I followed your instructions.&lt;/P&gt;&lt;P&gt;The application still didn't start but I understood why.&lt;/P&gt;&lt;P&gt;The bootloader correctly recognizes the presence of the application &lt;/P&gt;&lt;P&gt;(is_application_ready_for_executing() return true)&lt;/P&gt;&lt;P&gt;but configurationData-&amp;gt;peripheralDetectionTimeoutMs is equal to 0xFFFF &lt;/P&gt;&lt;P&gt;than it not wait timeout but check directly&lt;/P&gt;&lt;P&gt;bootloader peripherals.&lt;/P&gt;&lt;P&gt;If I remove is_direct_boot() check or I manually modify &lt;/P&gt;&lt;P&gt;configurationData-&amp;gt;peripheralDetectionTimeoutMs&lt;/P&gt;&lt;P&gt;it works correctly.&lt;/P&gt;&lt;P&gt;I looked that this configurationData resides on flash address &lt;/P&gt;&lt;P&gt;0x3c0-0x3ff. But how I can modify this data structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question if you can explain me better. Which operation I have to &lt;/P&gt;&lt;P&gt;do for move my application on address 0xa000?&lt;/P&gt;&lt;P&gt;Should I change only the linker file (.ld)?&lt;/P&gt;&lt;P&gt;If you give me instruction for a simple application like &lt;/P&gt;&lt;P&gt;frdmk64f_hello_world it would help me a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Il 28/01/2020 09:38, jingpan ha scritto:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;  NXP Community&lt;/P&gt;&lt;P&gt;  &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Re: MCUBOOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Jing Pan &lt;/P&gt;&lt;P&gt;&amp;lt;https://community.nxp.com/people/jingpan?et=watches.email.thread&amp;gt; in &lt;/P&gt;&lt;P&gt;/MCU Bootloader/ - View the full discussion &lt;/P&gt;&lt;P&gt;&amp;lt;https://community.nxp.com/message/1260832?commentID=1260832&amp;amp;et=watches.email.thread#comment-1260832&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 11:23:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/MCUBOOT/m-p/1004114#M1117</guid>
      <dc:creator>LArmstrong1985</dc:creator>
      <dc:date>2020-01-28T11:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: MCUBOOT</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/MCUBOOT/m-p/1004115#M1118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;There is an application demo in \boards\frdmk64f\bootloader_examples\demo_apps\led_demo_freedom_a000. You project can base on it. The BCA is in application's binary code. So, its absolute address is 0xa3c0. But you needn't care about it. Please see the startup_MK64F12.s in the demo application. If you enable it, it will be complied into that address automatically.&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>Fri, 31 Jan 2020 18:41:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/MCUBOOT/m-p/1004115#M1118</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2020-01-31T18:41:34Z</dc:date>
    </item>
  </channel>
</rss>

