<?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 Bootloader Problem in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257489#M1302</link>
    <description>&lt;P&gt;Hello i have a strange problem with my&amp;nbsp; secondary bootloader.&lt;/P&gt;&lt;P&gt;The user app resides from 0x0 - 0x1ffff&lt;/P&gt;&lt;P&gt;The Bootloader&amp;nbsp; from&amp;nbsp; 0x20000 - 0x30000&lt;/P&gt;&lt;P&gt;The user app starts from reset.&lt;/P&gt;&lt;P&gt;The bootloader is called by the user app.&lt;/P&gt;&lt;P&gt;The bootloader erases&amp;nbsp; 0x0 - 0x1ffff and program the sectors with the new data via uart data.&lt;/P&gt;&lt;P&gt;After all data transfered, it makes an reset via&amp;nbsp; wdog.&lt;/P&gt;&lt;P&gt;But the new user app won't start.&lt;/P&gt;&lt;P&gt;To check the data, i read out over swd with an segger j-link.&lt;/P&gt;&lt;P&gt;The data looks okay, and when i erase memory with j-link and program the same&lt;/P&gt;&lt;P&gt;data, that i readout before, it works !!!&lt;/P&gt;&lt;P&gt;So the data programmed through my bootloader are Okay.&lt;/P&gt;&lt;P&gt;Any hints?&lt;/P&gt;&lt;P&gt;Why does a complete chip erase do the job?&lt;/P&gt;&lt;P&gt;Andreas&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 20:47:56 GMT</pubDate>
    <dc:creator>andreasruetten</dc:creator>
    <dc:date>2021-04-06T20:47:56Z</dc:date>
    <item>
      <title>Bootloader Problem</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257489#M1302</link>
      <description>&lt;P&gt;Hello i have a strange problem with my&amp;nbsp; secondary bootloader.&lt;/P&gt;&lt;P&gt;The user app resides from 0x0 - 0x1ffff&lt;/P&gt;&lt;P&gt;The Bootloader&amp;nbsp; from&amp;nbsp; 0x20000 - 0x30000&lt;/P&gt;&lt;P&gt;The user app starts from reset.&lt;/P&gt;&lt;P&gt;The bootloader is called by the user app.&lt;/P&gt;&lt;P&gt;The bootloader erases&amp;nbsp; 0x0 - 0x1ffff and program the sectors with the new data via uart data.&lt;/P&gt;&lt;P&gt;After all data transfered, it makes an reset via&amp;nbsp; wdog.&lt;/P&gt;&lt;P&gt;But the new user app won't start.&lt;/P&gt;&lt;P&gt;To check the data, i read out over swd with an segger j-link.&lt;/P&gt;&lt;P&gt;The data looks okay, and when i erase memory with j-link and program the same&lt;/P&gt;&lt;P&gt;data, that i readout before, it works !!!&lt;/P&gt;&lt;P&gt;So the data programmed through my bootloader are Okay.&lt;/P&gt;&lt;P&gt;Any hints?&lt;/P&gt;&lt;P&gt;Why does a complete chip erase do the job?&lt;/P&gt;&lt;P&gt;Andreas&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 20:47:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257489#M1302</guid>
      <dc:creator>andreasruetten</dc:creator>
      <dc:date>2021-04-06T20:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader Problem</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257591#M1303</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Which mcu do you use? Do you try to set MSP and PSP to jump?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 01:58:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257591#M1303</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-04-07T01:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader Problem</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257795#M1304</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;we use LPC1769.&lt;/P&gt;&lt;P&gt;The Problem is not the jump, because the bootloader begins at 0x20000 and is called from the&lt;BR /&gt;user app.&lt;/P&gt;&lt;P&gt;The Problem is,that after IAP&amp;nbsp; the user App, from 0x00 to 0x1ffff the user app won't start after Reset or Powerup.&lt;/P&gt;&lt;P&gt;The user data after IAP seems to be OK.&lt;/P&gt;&lt;P&gt;Readout via swd -&amp;gt; erase chip -&amp;gt; write back same data -&amp;gt; after reset the user app runs ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 08:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257795#M1304</guid>
      <dc:creator>andreasruetten</dc:creator>
      <dc:date>2021-04-07T08:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader Problem</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257829#M1305</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please repost your questions in this link --&amp;nbsp;&lt;A style="font-family: inherit; background-color: #ffffff;" title="https://community.nxp.com/t5/lpc-microcontrollers/bd-p/lpc" href="https://community.nxp.com/t5/LPC-Microcontrollers/bd-p/lpc" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/bd-p/lpc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Your case is assigned to kinetis tse. But your product is LPC. So you have to repost.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 09:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257829#M1305</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-04-07T09:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader Problem</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257834#M1306</link>
      <description>&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;my mistake ...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 09:06:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-Problem/m-p/1257834#M1306</guid>
      <dc:creator>andreasruetten</dc:creator>
      <dc:date>2021-04-07T09:06:19Z</dc:date>
    </item>
  </channel>
</rss>

