<?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 LPC54102 custom bootloader Cm0 Slave issue in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-custom-bootloader-Cm0-Slave-issue/m-p/1590690#M51463</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm going to test my custom Bootloader on LPC54102 in order to let the system to be upgraded on field.&lt;/P&gt;&lt;P&gt;My custom bootloader seems to works when jump to a single core application.&lt;/P&gt;&lt;P&gt;An issue occour when the custom bootloader tried to jump to a dual core application, the CM4 core semms to work but the CM0 core don't starts. I have already check the spaddr addres and resetaddr&amp;nbsp; on boot_multicore_slave() functions and seems to be OK.&lt;/P&gt;&lt;P&gt;I also check the RAM region of LPC where the slave application is stored and seems to be OK.&lt;/P&gt;&lt;P&gt;Can anyone help me in order to fix?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2023 15:49:07 GMT</pubDate>
    <dc:creator>eu_mtaverna</dc:creator>
    <dc:date>2023-01-31T15:49:07Z</dc:date>
    <item>
      <title>LPC54102 custom bootloader Cm0 Slave issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-custom-bootloader-Cm0-Slave-issue/m-p/1590690#M51463</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm going to test my custom Bootloader on LPC54102 in order to let the system to be upgraded on field.&lt;/P&gt;&lt;P&gt;My custom bootloader seems to works when jump to a single core application.&lt;/P&gt;&lt;P&gt;An issue occour when the custom bootloader tried to jump to a dual core application, the CM4 core semms to work but the CM0 core don't starts. I have already check the spaddr addres and resetaddr&amp;nbsp; on boot_multicore_slave() functions and seems to be OK.&lt;/P&gt;&lt;P&gt;I also check the RAM region of LPC where the slave application is stored and seems to be OK.&lt;/P&gt;&lt;P&gt;Can anyone help me in order to fix?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 15:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-custom-bootloader-Cm0-Slave-issue/m-p/1590690#M51463</guid>
      <dc:creator>eu_mtaverna</dc:creator>
      <dc:date>2023-01-31T15:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 custom bootloader Cm0 Slave issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-custom-bootloader-Cm0-Slave-issue/m-p/1599419#M51641</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206486"&gt;@eu_mtaverna&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please debug step by step to check it crash or stop in which code?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 08:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-custom-bootloader-Cm0-Slave-issue/m-p/1599419#M51641</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-02-15T08:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 custom bootloader Cm0 Slave issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-custom-bootloader-Cm0-Slave-issue/m-p/1600330#M51652</link>
      <description>&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;Thanks for replay, follow explanation of my issue:&lt;/P&gt;&lt;P&gt;1)The Bootloader starts correctly and jump to the Master application.&lt;/P&gt;&lt;P&gt;2)The Master aplication starts, configure his pheripherals and runs correctly.&lt;/P&gt;&lt;P&gt;3) When Master application launch boot_multicore_slave() function the issue appear, follow the functions sequence on Master Application:&lt;/P&gt;&lt;P&gt;&amp;nbsp;boot_multicore_slave()&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Chip_CPU_CM0Boot((uint32_t *)resetaddr, (uint32_t *)spaddr)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; When this function resets slave core and enables the slave clock the go to a fault unknowed condition.......&lt;/P&gt;&lt;P&gt;Another thing, I noted that in the&amp;nbsp; Chip_CPU_CM0Boot function the *CPSTACK and *CPBOOT are filled with the correct CM0 Slave Stack Address and entry point Address.&lt;/P&gt;&lt;P&gt;Also if I check the absolute memory address of&amp;nbsp;*CPSTACK (SYSCON_BASE+0x308) and *CPBOOT&amp;nbsp;(SYSCON_BASE+0x304) these values are correct.&lt;/P&gt;&lt;P&gt;Otherwise in the Slave Registers view the sp is setted to 0x0 and pc to 0x030000ee, why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea? There are known issue about secure bootloader and dual core projects?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 13:30:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-custom-bootloader-Cm0-Slave-issue/m-p/1600330#M51652</guid>
      <dc:creator>eu_mtaverna</dc:creator>
      <dc:date>2023-02-16T13:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 custom bootloader Cm0 Slave issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-custom-bootloader-Cm0-Slave-issue/m-p/1610076#M51815</link>
      <description>&lt;P&gt;Anyone can help me about the bootloader issue??&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 14:43:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-custom-bootloader-Cm0-Slave-issue/m-p/1610076#M51815</guid>
      <dc:creator>eu_mtaverna</dc:creator>
      <dc:date>2023-03-06T14:43:43Z</dc:date>
    </item>
  </channel>
</rss>

