<?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 LPCXpresso804 I2C based Secondary Bootloader command clarification in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso804-I2C-based-Secondary-Bootloader-command/m-p/1461490#M48846</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Firmware update is successful when tested with I2C-utils.exe from PC to LPCXpresso804 EVK via LPCXpresso54102(I2C to USB Convertor).&lt;/P&gt;&lt;P&gt;Referred the document&amp;nbsp;AN12373&amp;nbsp;and followed the steps below&lt;/P&gt;&lt;P&gt;1. Press the Reset button to boot the application image.&lt;BR /&gt;2. Issue the f command to pull nHostIRQ low.&lt;BR /&gt;3. Press the Reset button to reset the LPCXpresso804 Board.&lt;BR /&gt;4. Issue the g command to program nHostIRQ as input.&lt;BR /&gt;5. Issue the 8 command to send the GetVerision.&lt;BR /&gt;6. Issue the 1 command to update the firmware, and then input the name of Firmware.&lt;BR /&gt;7. Issue the b command to BOOT the latest firmware.&lt;/P&gt;&lt;P&gt;But&amp;nbsp;in actual case we are updating firmware from host processor to LPCXpresso804 via i2c. We are not using a USB converter.&lt;/P&gt;&lt;P&gt;So we followed the same steps provided by document&amp;nbsp;AN12373&amp;nbsp;which is showing above. Able to take the MCU to SBL mode by following steps 1 to 4.&lt;/P&gt;&lt;P&gt;Then we followed one more document&amp;nbsp;AN11610&amp;nbsp;for understanding the i2c communication for the steps 5-7 in AN12373 showing above.&lt;/P&gt;&lt;P&gt;From document&amp;nbsp;AN11610&amp;nbsp;, We understood that slave addresses are 0x18, 0x30 and 0x1C.&lt;/P&gt;&lt;P&gt;The explanation for the 6th step Get version is shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="roshanmohammed_1-1653037785599.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180409iD1CED2A554ECD333/image-size/medium?v=v2&amp;amp;px=400" role="button" title="roshanmohammed_1-1653037785599.png" alt="roshanmohammed_1-1653037785599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As per my understand I tried to write the 0x00 address offset to a value 0XA1. I choose the slave address as 0x18.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Later i passed the command i2cdump -y 0 0x18 for reading the registers, I got the output showing below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="roshanmohammed_0-1653037706676.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180408iE377BFD178DCA2EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="roshanmohammed_0-1653037706676.png" alt="roshanmohammed_0-1653037706676.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So, Please clarify that what i are the exact process happening while passing commands from 6-8 steps.&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2022 09:10:28 GMT</pubDate>
    <dc:creator>roshanmohammed</dc:creator>
    <dc:date>2022-05-20T09:10:28Z</dc:date>
    <item>
      <title>LPCXpresso804 I2C based Secondary Bootloader command clarification</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso804-I2C-based-Secondary-Bootloader-command/m-p/1461490#M48846</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Firmware update is successful when tested with I2C-utils.exe from PC to LPCXpresso804 EVK via LPCXpresso54102(I2C to USB Convertor).&lt;/P&gt;&lt;P&gt;Referred the document&amp;nbsp;AN12373&amp;nbsp;and followed the steps below&lt;/P&gt;&lt;P&gt;1. Press the Reset button to boot the application image.&lt;BR /&gt;2. Issue the f command to pull nHostIRQ low.&lt;BR /&gt;3. Press the Reset button to reset the LPCXpresso804 Board.&lt;BR /&gt;4. Issue the g command to program nHostIRQ as input.&lt;BR /&gt;5. Issue the 8 command to send the GetVerision.&lt;BR /&gt;6. Issue the 1 command to update the firmware, and then input the name of Firmware.&lt;BR /&gt;7. Issue the b command to BOOT the latest firmware.&lt;/P&gt;&lt;P&gt;But&amp;nbsp;in actual case we are updating firmware from host processor to LPCXpresso804 via i2c. We are not using a USB converter.&lt;/P&gt;&lt;P&gt;So we followed the same steps provided by document&amp;nbsp;AN12373&amp;nbsp;which is showing above. Able to take the MCU to SBL mode by following steps 1 to 4.&lt;/P&gt;&lt;P&gt;Then we followed one more document&amp;nbsp;AN11610&amp;nbsp;for understanding the i2c communication for the steps 5-7 in AN12373 showing above.&lt;/P&gt;&lt;P&gt;From document&amp;nbsp;AN11610&amp;nbsp;, We understood that slave addresses are 0x18, 0x30 and 0x1C.&lt;/P&gt;&lt;P&gt;The explanation for the 6th step Get version is shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="roshanmohammed_1-1653037785599.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180409iD1CED2A554ECD333/image-size/medium?v=v2&amp;amp;px=400" role="button" title="roshanmohammed_1-1653037785599.png" alt="roshanmohammed_1-1653037785599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As per my understand I tried to write the 0x00 address offset to a value 0XA1. I choose the slave address as 0x18.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Later i passed the command i2cdump -y 0 0x18 for reading the registers, I got the output showing below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="roshanmohammed_0-1653037706676.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180408iE377BFD178DCA2EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="roshanmohammed_0-1653037706676.png" alt="roshanmohammed_0-1653037706676.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So, Please clarify that what i are the exact process happening while passing commands from 6-8 steps.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 09:10:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso804-I2C-based-Secondary-Bootloader-command/m-p/1461490#M48846</guid>
      <dc:creator>roshanmohammed</dc:creator>
      <dc:date>2022-05-20T09:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso804 I2C based Secondary Bootloader command clarification</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso804-I2C-based-Secondary-Bootloader-command/m-p/1464050#M48919</link>
      <description>&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;Hi, maybe the kernel config I2C is not enable, You can check some information in those links:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&lt;A href="https://www.digi.com/resources/documentation/digidocs/90001546/reference/bsp/cc6/r_i2c.htm" target="_blank"&gt;https://www.digi.com/resources/documentation/digidocs/90001546/reference/bsp/cc6/r_i2c.htm&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Montserrat; font-size: 12.0pt;" lang="es-MX"&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/All-Boards-I2C-tools/ta-p/1117101" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/All-Boards-I2C-tools/ta-p/1117101&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 14:01:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso804-I2C-based-Secondary-Bootloader-command/m-p/1464050#M48919</guid>
      <dc:creator>CarlosGarabito</dc:creator>
      <dc:date>2022-05-25T14:01:51Z</dc:date>
    </item>
  </channel>
</rss>

