<?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: Reset LPC43XX M4 to boot from SRAM, skipping boot ROM in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705338#M28413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information, Gerd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting that this keeps the current PC of the core in place. We should reflect this somehow in our docu.&lt;/P&gt;&lt;P&gt;LPC1800 and LP4300 share mostly the same code base, that's why M3_RST is kept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Oct 2017 07:57:35 GMT</pubDate>
    <dc:creator>bernhardfink</dc:creator>
    <dc:date>2017-10-23T07:57:35Z</dc:date>
    <item>
      <title>Reset LPC43XX M4 to boot from SRAM, skipping boot ROM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705334#M28409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For our product we would like to be able to put the M4 core to sleep, have the M0 load new code from flash to RAM, and then reset the M4 to run the new code from RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LPC43xx manual states that the M4MEMMAP is default set to the boot rom at 0x1040 000; Is this default value only set at system reset, or also when the M4 is reset with M4_RST in LPC_RGU-&amp;gt;RESET_CTR?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 07:28:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705334#M28409</guid>
      <dc:creator>gertvierman</dc:creator>
      <dc:date>2017-10-13T07:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reset LPC43XX M4 to boot from SRAM, skipping boot ROM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705335#M28410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;for the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;I think the implementation is unavailable, the RAM is not the option of boot mode.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Have a great day,&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 02:22:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705335#M28410</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-10-16T02:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reset LPC43XX M4 to boot from SRAM, skipping boot ROM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705336#M28411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;When you perform a system reset or a power-on reset the LPC4300 always starts with the Cortex-M4, executing the boot ROM code located at 0x0104 0000&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;If you issue a M4_RST, from the M4 itself or from the M0APP, you start over with a MASTER_RESET, also executing the bootcode&lt;/LI&gt;&lt;LI&gt;But you could think of a tricky implementation where you put the M4 in stop, replace the code and then wake it up again. No idea if this really works, but it wouldn't be difficult for you to set it up for a quick test&lt;UL&gt;&lt;LI&gt;you prepare a simple function in RAM and jump with the M4 to it&lt;/LI&gt;&lt;LI&gt;in this function you flush all relevant pipelines in the M4 before you execute WFI()&lt;/LI&gt;&lt;LI&gt;with the M0APP you replace the code at this RAM location. When you wake the M4 up, you have at this program counter location again executable code, but now a new one.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:16:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705336#M28411</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2017-10-16T12:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reset LPC43XX M4 to boot from SRAM, skipping boot ROM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705337#M28412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer, and sorry for my late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this to work as I wanted. My first implementation used a kind of trampoline outside of the memory I wanted to replace; I kept the M4 in a tight loop there while replacing the code, and then let it jump out of the loop when ready. That worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later I tried to simplify stuff, and I found out that issueing a M4 core reset in RESET_CTRL just works:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;LPC_RGU-&amp;gt;RESET_CTRL[RGU_M3_RST &amp;gt;&amp;gt; 5]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;does *not* remap the boot ROM to address 0 and does the job&amp;nbsp; for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Funny though, that the header files still call it 'M3_RST' instead of 'M4_RST') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Oct 2017 17:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705337#M28412</guid>
      <dc:creator>gertvierman</dc:creator>
      <dc:date>2017-10-21T17:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reset LPC43XX M4 to boot from SRAM, skipping boot ROM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705338#M28413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information, Gerd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting that this keeps the current PC of the core in place. We should reflect this somehow in our docu.&lt;/P&gt;&lt;P&gt;LPC1800 and LP4300 share mostly the same code base, that's why M3_RST is kept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 07:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-LPC43XX-M4-to-boot-from-SRAM-skipping-boot-ROM/m-p/705338#M28413</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2017-10-23T07:57:35Z</dc:date>
    </item>
  </channel>
</rss>

