<?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: LPCscrypt V2.1.1 &amp;quot;Program&amp;quot; command issue in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCscrypt-V2-1-1-quot-Program-quot-command-issue/m-p/1539745#M50445</link>
    <description>&lt;P&gt;Dear Pavel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response and sorry for the confusion.&lt;/P&gt;&lt;P&gt;Yes, what you understood is correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to upload the bin file with the ISP mode using LPCScrypt.&lt;/P&gt;&lt;P&gt;As you know, 2 methods to enter ISP mode.&lt;/P&gt;&lt;P&gt;1. pull P2.7 low and press reset button&lt;/P&gt;&lt;P&gt;2. using Chip_IAP_ReinvokeISP() function.&lt;/P&gt;&lt;P&gt;Using 1st method&amp;nbsp; can upload the bin file easily but in the&amp;nbsp; 2nd method getting timeout error as posted image in previous thread.&lt;/P&gt;&lt;P&gt;But if we try below steps using 2nd method we can upload the bin file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chethan_k_0-1666153968798.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197198i055816DC54C7CDAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chethan_k_0-1666153968798.png" alt="chethan_k_0-1666153968798.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope you understand.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Chethan kumar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 04:34:55 GMT</pubDate>
    <dc:creator>chethan_k</dc:creator>
    <dc:date>2022-10-19T04:34:55Z</dc:date>
    <item>
      <title>LPCscrypt V2.1.1 "Program" command issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCscrypt-V2-1-1-quot-Program-quot-command-issue/m-p/1539286#M50436</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;We developed a application specific custom board using LPC4367 MCU and using LPCscrypt V2.1.1 to update the firmware. Boot select mode is USB0.&lt;/P&gt;&lt;P&gt;ISP mode is entered when P2.7 is low and press reset button. we can update the firmware using LPCscrypt.&lt;/P&gt;&lt;P&gt;When we try to enter ISP mode by calling&amp;nbsp; Chip_IAP_ReinvokeISP(); function, except "program" command all command will work.&lt;/P&gt;&lt;P&gt;Please find the below calling function for your reference.&lt;/P&gt;&lt;P&gt;static void BootISPMode(void)&lt;BR /&gt;{&lt;BR /&gt;uint8_t ret_code;&lt;BR /&gt;uint32_t part_id;&lt;/P&gt;&lt;P&gt;part_id = Chip_IAP_ReadPID();&lt;BR /&gt;DEBUGOUT("Part ID is: %x\r\n", part_id);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* Disable interrupt mode so it doesn't fire during FLASH updates */&lt;BR /&gt;__disable_irq();&lt;/P&gt;&lt;P&gt;/* Initialize the IAP */&lt;BR /&gt;ret_code = Chip_IAP_Init();&lt;/P&gt;&lt;P&gt;/* Error checking */&lt;BR /&gt;if (ret_code != IAP_CMD_SUCCESS) {&lt;/P&gt;&lt;P&gt;DEBUGOUT("Command failed to execute, return code is: %x\r\n", ret_code);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;ret_code = Chip_IAP_ReinvokeISP();&lt;/P&gt;&lt;P&gt;if (ret_code != IAP_CMD_SUCCESS) {&lt;/P&gt;&lt;P&gt;DEBUGOUT("Invoke Command failed to execute, return code is: %x\r\n", ret_code);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;__enable_irq();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help us to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Chethan kumar&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chethan_k_0-1666092977977.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197083i7F06099D4CDCE290/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chethan_k_0-1666092977977.png" alt="chethan_k_0-1666092977977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 11:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCscrypt-V2-1-1-quot-Program-quot-command-issue/m-p/1539286#M50436</guid>
      <dc:creator>chethan_k</dc:creator>
      <dc:date>2022-10-18T11:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPCscrypt V2.1.1 "Program" command issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCscrypt-V2-1-1-quot-Program-quot-command-issue/m-p/1539575#M50443</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I could not understand your case, Is the LPC4367 in your custom&amp;nbsp;&lt;SPAN&gt;board,&amp;nbsp;and are you trying to upload the .bin with the ISP mode with the&amp;nbsp;LPCScrypt?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/supporting-information/Debug_Probe_Firmware_Programming.pdf" target="_blank"&gt;LPC-Link2 Debug Probe Firmware Programming (nxp.com)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Pavel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 20:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCscrypt-V2-1-1-quot-Program-quot-command-issue/m-p/1539575#M50443</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-10-18T20:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPCscrypt V2.1.1 "Program" command issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCscrypt-V2-1-1-quot-Program-quot-command-issue/m-p/1539745#M50445</link>
      <description>&lt;P&gt;Dear Pavel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response and sorry for the confusion.&lt;/P&gt;&lt;P&gt;Yes, what you understood is correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to upload the bin file with the ISP mode using LPCScrypt.&lt;/P&gt;&lt;P&gt;As you know, 2 methods to enter ISP mode.&lt;/P&gt;&lt;P&gt;1. pull P2.7 low and press reset button&lt;/P&gt;&lt;P&gt;2. using Chip_IAP_ReinvokeISP() function.&lt;/P&gt;&lt;P&gt;Using 1st method&amp;nbsp; can upload the bin file easily but in the&amp;nbsp; 2nd method getting timeout error as posted image in previous thread.&lt;/P&gt;&lt;P&gt;But if we try below steps using 2nd method we can upload the bin file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chethan_k_0-1666153968798.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197198i055816DC54C7CDAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chethan_k_0-1666153968798.png" alt="chethan_k_0-1666153968798.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope you understand.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Chethan kumar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 04:34:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCscrypt-V2-1-1-quot-Program-quot-command-issue/m-p/1539745#M50445</guid>
      <dc:creator>chethan_k</dc:creator>
      <dc:date>2022-10-19T04:34:55Z</dc:date>
    </item>
  </channel>
</rss>

