<?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: accessing LPC55 microcontroller using blhost tool via SPI in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1802241#M55348</link>
    <description>&lt;P&gt;Hi Jun Zhang,&lt;/P&gt;&lt;P&gt;Thanks for the answer. Based on the link that you provided, does that mean we need to use "&lt;SPAN&gt;MCUXpresso Secure Provisioning Tool" for firmware updates via SPI ? I don't think that we can use this tool in our single board computer since its use GUI. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any alternative that only use CLI command ? we plan to create automatic firmware update in our single board computer to update LPC55 device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If there isn't any CLI tool, can you provide us with protocol on how the SPI firmware update works ?&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 02:10:09 GMT</pubDate>
    <dc:creator>Samhan</dc:creator>
    <dc:date>2024-02-06T02:10:09Z</dc:date>
    <item>
      <title>accessing LPC55 microcontroller using blhost tool via SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1801556#M55336</link>
      <description>&lt;P&gt;I'm planning to implement firmware update via SPI communication to LPC55 microcontroller device from Single board computer like raspberry pi. To ease the development process I'm planning to use blhost tool since its already implement firmware update mechanism.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From this document &lt;A href="https://www.nxp.com/docs/en/user-guide/MCUBLHOSTUG.pdf" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;, I can see that blhost tools has already implement SPI communication. however I'm unable to use the SPI option from blhost tool that I compile from github&amp;nbsp;&lt;A href="https://github.com/nxp-mcuxpresso/spsdk/tree/master" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;(currently version 2.1.0). from the document, it seems the only version that implement SPI communication is ARM-LINUX version, but I can't find anywhere where I can download this version or its source code. where can I download this version or the source code ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 03:34:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1801556#M55336</guid>
      <dc:creator>Samhan</dc:creator>
      <dc:date>2024-02-05T03:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: accessing LPC55 microcontroller using blhost tool via SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1801813#M55340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Samhan,&lt;/P&gt;
&lt;P&gt;I suggest you checking this article&amp;nbsp;&lt;EM&gt;Update Firmware in USB/UART/SPI/I2C-ISP Mode&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55-Update-Firmware-in-USB-UART-SPI-I2C-ISP-Mode/ta-p/1701814" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55-Update-Firmware-in-USB-UART-SPI-I2C-ISP-Mode/ta-p/1701814&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;3.3 SPI ISP mode&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 10:17:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1801813#M55340</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2024-02-05T10:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: accessing LPC55 microcontroller using blhost tool via SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1802241#M55348</link>
      <description>&lt;P&gt;Hi Jun Zhang,&lt;/P&gt;&lt;P&gt;Thanks for the answer. Based on the link that you provided, does that mean we need to use "&lt;SPAN&gt;MCUXpresso Secure Provisioning Tool" for firmware updates via SPI ? I don't think that we can use this tool in our single board computer since its use GUI. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any alternative that only use CLI command ? we plan to create automatic firmware update in our single board computer to update LPC55 device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If there isn't any CLI tool, can you provide us with protocol on how the SPI firmware update works ?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 02:10:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1802241#M55348</guid>
      <dc:creator>Samhan</dc:creator>
      <dc:date>2024-02-06T02:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: accessing LPC55 microcontroller using blhost tool via SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1803157#M55365</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;SPAN&gt;MCUXpresso Secure Provisioning Tool" is the only GUI tool for firmware updates via SPI. This tool acctually calls sequences of commands, for exmample blhost command.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;we can see what commadeds are called in log file. See below screenshot to enable it&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1707285878458.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262286i84A55F13A8BE7D99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1707285878458.png" alt="ZhangJennie_0-1707285878458.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then we can try to communicate the target with those command in command line window.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 06:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1803157#M55365</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2024-02-07T06:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: accessing LPC55 microcontroller using blhost tool via SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1803248#M55367</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Jun Zhang,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer, since there are no other tools to do firmware updates, it seems we need to implement our own SPI firmware update sequence.&lt;/P&gt;&lt;P&gt;however from your screenshot it doesn't seem that we can see the actual bytes that are sent. is there any SPI protocol that we need to use to do firmware upgrade ? like header of each SPI packet, what sequence of byte needs to be sent, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Samhan&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 09:05:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1803248#M55367</guid>
      <dc:creator>Samhan</dc:creator>
      <dc:date>2024-02-07T09:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: accessing LPC55 microcontroller using blhost tool via SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1803381#M55369</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Samhan&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you have board setup with the instructions of article, you will see command sequence if programming successed.&lt;/P&gt;
&lt;P&gt;below screenshot is ISP programming via UART.&amp;nbsp; If via SPI, you can get similar as below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1707311502294.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262339iB3077E95ECE8E566/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1707311502294.png" alt="ZhangJennie_0-1707311502294.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please try ISP SPI mode with SEC tool, make sure it works, then check the sequence in log file. You will see how blhost command works.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 13:20:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-LPC55-microcontroller-using-blhost-tool-via-SPI/m-p/1803381#M55369</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2024-02-07T13:20:53Z</dc:date>
    </item>
  </channel>
</rss>

