<?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: LPC51U68 Firmware Update Using SPI in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1888595#M56261</link>
    <description>&lt;P&gt;Dear Alice,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The LPC is supposed to be updated by another on-board MCU on the field by end user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We should not expect end user to open up the product and do a MagicTool update.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since there are so many SPI ISP mode SH_CMD_xxx commands available, can you tell me how to use them to update firmware to LPC?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CK&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 09:57:23 GMT</pubDate>
    <dc:creator>CKONG</dc:creator>
    <dc:date>2024-06-17T09:57:23Z</dc:date>
    <item>
      <title>LPC51U68 Firmware Update Using SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1883915#M56208</link>
      <description>&lt;P&gt;I wants to use an onboard MCU to update the firmware of LPC51U68 using SPI interface.&lt;/P&gt;&lt;P&gt;i cannot find any documentation that outline the SPI ISP commands and procedures to do firmware updating.&lt;/P&gt;&lt;P&gt;My understanding is when first enter ISP mode, MCU need to need to send SH_CMD_PROBE to select SPI interface.&lt;/P&gt;&lt;P&gt;Then MCU can start using SH_CMD_WRITE_PAGE to write firmware into flash.&lt;/P&gt;&lt;P&gt;After update completed , MCU can send BOOT command to boot to new firmware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="Arial, sans-serif" size="3" color="#333f48"&gt;&lt;SPAN&gt;Is&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;SH_CMD_WRITE_PAGE the correct command to use?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="Arial, sans-serif" size="3" color="#333f48"&gt;&lt;SPAN&gt;What should the pagenum for the first 256 bytes of the firmware? Page number 512?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="Arial, sans-serif" size="3" color="#333f48"&gt;&lt;SPAN&gt;Does MCU need to erase the page before writing?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="Arial, sans-serif" size="3" color="#333f48"&gt;&lt;SPAN&gt;Any steps I missed?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sat, 08 Jun 2024 07:34:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1883915#M56208</guid>
      <dc:creator>CKONG</dc:creator>
      <dc:date>2024-06-08T07:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 Firmware Update Using SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1887843#M56246</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234719"&gt;@CKONG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recommend you refer to&amp;nbsp;&lt;A href="https://www.nxp.com.cn/docs/en/application-note/AN12378.pdf" target="_blank"&gt;https://www.nxp.com.cn/docs/en/application-note/AN12378.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pay attention, there is LPC4332 on LPC51u68 board.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial, sans-serif" size="3" color="#333f48"&gt;&lt;SPAN&gt;MCU need to erase the page before writing.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;You can contact us if still have question after referring to the above AN.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 11:02:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1887843#M56246</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-06-14T11:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 Firmware Update Using SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1888160#M56252</link>
      <description>Dear Alice,&lt;BR /&gt;&lt;BR /&gt;The app note you linked is using SBL. We do not have SBL in LPC51U68.&lt;BR /&gt;We can only use ISP mode for firmware updating.&lt;BR /&gt;Can you point me to the app note that use ISP mode?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;CK</description>
      <pubDate>Sat, 15 Jun 2024 01:47:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1888160#M56252</guid>
      <dc:creator>CKONG</dc:creator>
      <dc:date>2024-06-15T01:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 Firmware Update Using SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1888585#M56260</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234719"&gt;@CKONG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry if using ISP-SPI mode updating firmware, there is no host side tool.&lt;/P&gt;
&lt;P&gt;You can make by yourself. And how about using ISP-UART mode? If yes, we can use Flash magic tool to update. About detail please refer to&amp;nbsp;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763&lt;/A&gt;&amp;nbsp;&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>Mon, 17 Jun 2024 09:49:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1888585#M56260</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-06-17T09:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 Firmware Update Using SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1888595#M56261</link>
      <description>&lt;P&gt;Dear Alice,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The LPC is supposed to be updated by another on-board MCU on the field by end user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We should not expect end user to open up the product and do a MagicTool update.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since there are so many SPI ISP mode SH_CMD_xxx commands available, can you tell me how to use them to update firmware to LPC?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CK&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 09:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1888595#M56261</guid>
      <dc:creator>CKONG</dc:creator>
      <dc:date>2024-06-17T09:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 Firmware Update Using SPI</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1892763#M56297</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234719"&gt;@CKONG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have checked, sorry there isn't a official application using ISP-SPI.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the SPI mode commands in User Manual.&lt;/P&gt;
&lt;P&gt;4.8 I2C/SPI ISP mode commands, data, and responses&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>Mon, 24 Jun 2024 09:32:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Firmware-Update-Using-SPI/m-p/1892763#M56297</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-06-24T09:32:27Z</dc:date>
    </item>
  </channel>
</rss>

