<?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>LPC MicrocontrollersのトピックLPC55S16-EVK and using BLHOST execute</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1900134#M56389</link>
    <description>&lt;P&gt;I'm trying to execute a function located at 0x3000 from BLHOST in my image downloaded to an LPC55S16-EVK mcu. I can easily get the mcu into ISP-mode and communicate with it from BLHOST. When I try to execute the function below, it will just execute from reset - as if a fault of some sort eventually resets the device:&lt;/P&gt;&lt;P&gt;BLHOST -p COM2 -- execute 0x3000 &lt;U&gt;0x00&lt;/U&gt; 0x00021000&lt;/P&gt;&lt;P&gt;Getting property 0x11 is says that it is in SECURE mode. I suppose the bootloader is in the TrustZone secure context?&lt;/P&gt;&lt;P&gt;Also, if I change the argument (0x00 with underline) to nonzero, I get this the error&amp;nbsp;10006 as a reply. Why should it do this?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2024 10:07:31 GMT</pubDate>
    <dc:creator>jpholme</dc:creator>
    <dc:date>2024-07-05T10:07:31Z</dc:date>
    <item>
      <title>LPC55S16-EVK and using BLHOST execute</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1900134#M56389</link>
      <description>&lt;P&gt;I'm trying to execute a function located at 0x3000 from BLHOST in my image downloaded to an LPC55S16-EVK mcu. I can easily get the mcu into ISP-mode and communicate with it from BLHOST. When I try to execute the function below, it will just execute from reset - as if a fault of some sort eventually resets the device:&lt;/P&gt;&lt;P&gt;BLHOST -p COM2 -- execute 0x3000 &lt;U&gt;0x00&lt;/U&gt; 0x00021000&lt;/P&gt;&lt;P&gt;Getting property 0x11 is says that it is in SECURE mode. I suppose the bootloader is in the TrustZone secure context?&lt;/P&gt;&lt;P&gt;Also, if I change the argument (0x00 with underline) to nonzero, I get this the error&amp;nbsp;10006 as a reply. Why should it do this?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 10:07:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1900134#M56389</guid>
      <dc:creator>jpholme</dc:creator>
      <dc:date>2024-07-05T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16-EVK and using BLHOST execute</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1900516#M56400</link>
      <description>&lt;P&gt;Hello, my name is Pavel, and I will be supporting our case, let me get into your case, when I have more information, I will contact you.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 23:02:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1900516#M56400</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-07-05T23:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16-EVK and using BLHOST execute</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1903252#M56419</link>
      <description>&lt;P&gt;Hello, could you elaborate further about what do you want to do? do you have security on your board? could you let me know more about your application?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 02:42:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1903252#M56419</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-07-09T02:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16-EVK and using BLHOST execute</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1904234#M56425</link>
      <description>&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;I suppose it makes more sense to break it up:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1 - Execute command&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;No matter what firmware is inside the LPC55S16 on the EVK, the bootloader seems to reject the argument (underlined below) being different from 0:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLHOST -p COM2 -- execute 0x3000&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;0x00&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;0x00021000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I suppose that this is not intended. Same behaviour on both LPC55S16-EVK's I have and same on the LPC5516 boards of our own design. The error code is 10006.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2 -SECURE State&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Running following command, I'm told that the boards are in SECURE state:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLHOST -p COM2 -- get-property 0x11&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What does that mean? I can't find anywhere this is described.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3 - Execute call turns into reset&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The list of questions came from the fact that the execute command from BLHOST doesn't seem to work for me. The device just resets even if I have functions mapped to say address 0x3000 (I can check in the disassembly) when running following command:&lt;BR /&gt;&lt;BR /&gt;BLHOST -p COM2 -- execute 0x3000&amp;nbsp;&lt;U&gt;0x00&lt;/U&gt;&amp;nbsp;0x00021000&lt;BR /&gt;&lt;BR /&gt;Could that be because of question #2 that the MCU is in SECURE state? I tried instead to jump to 0x10003000, but same result.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 11:09:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1904234#M56425</guid>
      <dc:creator>jpholme</dc:creator>
      <dc:date>2024-07-09T11:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16-EVK and using BLHOST execute</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1904924#M56427</link>
      <description>&lt;P&gt;Hello, I afraid it was not clear if you are using security, if not maybe this is an unexpected behavior. I found this argument on the documentation, however if the device is secure the command that you can use only are the next.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1720560326447.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287839i88FF0651692896D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_0-1720560326447.png" alt="Pavel_Hernandez_0-1720560326447.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_1-1720560380817.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287840iB17E64D8298837E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_1-1720560380817.png" alt="Pavel_Hernandez_1-1720560380817.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Did you activate a security feature?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 21:27:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-EVK-and-using-BLHOST-execute/m-p/1904924#M56427</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-07-09T21:27:15Z</dc:date>
    </item>
  </channel>
</rss>

