<?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のトピックISP Mode from User Code</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703941#M28343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody help me?I try to get processor to ISP mode from user code. Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 15:00:58 GMT</pubDate>
    <dc:creator>phateee</dc:creator>
    <dc:date>2017-09-14T15:00:58Z</dc:date>
    <item>
      <title>ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703941#M28343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody help me?I try to get processor to ISP mode from user code. Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 15:00:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703941#M28343</guid>
      <dc:creator>phateee</dc:creator>
      <dc:date>2017-09-14T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703942#M28344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Yes, you can!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can use the IAP command: reinvoke ISP.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="39.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29516i883457A65B8AFA82/image-size/large?v=v2&amp;amp;px=999" role="button" title="39.jpg" alt="39.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the community, there has a post for your reference:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/425648"&gt;Entering ISP from user code&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 06:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703942#M28344</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-15T06:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703943#M28345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your info.&lt;/P&gt;&lt;P&gt;Now I can go to ISP mode by User - I use the system&amp;nbsp;function Chip_IAP_ReinvokeISP(). It is ok.&lt;/P&gt;&lt;P&gt;But I try to send the command from terminal on PC, e.g. P 0 0 0&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;. But the processor doesn't comunicate.&lt;/P&gt;&lt;P&gt;I use USB0, it is in windows as &lt;STRONG style="color: #6a6a6a;"&gt;QCUSB_COM5_2.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6a6a6a;"&gt;But when I try to use LPCScrypt and it works. I wil be use LPCScrypt, but I need it on LPC5461, but LPCScrypt is only for LPC18xx and LPC4xxx, not for LPC5461.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6a6a6a;"&gt;I need only go to ISP mode, load the program into processor and restart the processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6a6a6a;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 06:51:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703943#M28345</guid>
      <dc:creator>phateee</dc:creator>
      <dc:date>2017-09-15T06:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703944#M28346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please tell me your board name, the chip name, I will try it on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 06:38:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703944#M28346</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-18T06:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703945#M28347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: small;"&gt;Hello, &lt;BR /&gt;&lt;BR /&gt;I bought the board OM13094 with LPC 54618. I try to use ISP mode, beacuse I am moving on this processor and customer would like to do update by ISP. &lt;BR /&gt;I use the example lpcxpresso54608_driver_examples_flashiap and I try to boot to USB ISP - Reinvoke ISP, command 57. &lt;BR /&gt;So in the libray &lt;EM&gt;fsl_flashiap.c&lt;/EM&gt; is not any function &lt;EM&gt;Reinvoke ISP,&lt;/EM&gt; so I add my function to this library: &lt;BR /&gt;&lt;BR /&gt;status_t Chip_IAP_ReinvokeISP( void ) &lt;BR /&gt;{ &lt;BR /&gt; uint32_t command[5], result[4]; &lt;BR /&gt;&lt;BR /&gt; command[0] = kIapCmd_FLASHIAP_ReinvokeISP; &lt;A href="http://community.nxp.com//57" rel="noopener" target="_blank"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;//57&lt;/SPAN&gt;&lt;/A&gt; &lt;BR /&gt; command[1] = 8; &lt;A href="http://community.nxp.com//usb" rel="noopener" target="_blank"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;//usb&lt;/SPAN&gt;&lt;/A&gt; &lt;BR /&gt; iap_entry(command, result); &lt;BR /&gt; return translate_iap_status(result[0]); &lt;BR /&gt;} &lt;BR /&gt;&lt;BR /&gt;and the function main: &lt;BR /&gt;&lt;BR /&gt;int main(void) &lt;BR /&gt;{ &lt;BR /&gt; Chip_IAP_ReinvokeISP(); &lt;BR /&gt; while(1){ } &lt;BR /&gt;} &lt;BR /&gt;&lt;BR /&gt;The result: ISP mode doesn't work. When I push the button ISP1 on the board, I get in Windows CRP DISABLD - this works. &lt;BR /&gt;&lt;BR /&gt;I need to boot to ISP, load the new firmware and then reboot processor - Without buttons (remote desktop). &lt;BR /&gt;&lt;BR /&gt;thank you for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 06:50:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703945#M28347</guid>
      <dc:creator>phateee</dc:creator>
      <dc:date>2017-09-18T06:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703946#M28348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have reproduced your problem on my side, I will do the deep research, any updated information from my side, will let you know.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please wait patiently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks a lot for your understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:56:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703946#M28348</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-18T09:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703947#M28349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan&lt;/P&gt;&lt;P&gt;Thank you very much for your patience.&lt;BR /&gt;I have checked USB ISP enter code again, it's wrong, I modified it again, it works now.&lt;BR /&gt;From user manual, Reinvoke ISP input is:Command code: 57 (decimal), Param0: Pointer to ISP parameter structure. See Table 78.&lt;BR /&gt;You and I all write the wrong code, param0 is the pointer to ISP parameter structure, not the data directly.&lt;BR /&gt;Now, I modified the code like this:&lt;BR /&gt;status_t Chip_IAP_ReinvokeISP( void )&lt;BR /&gt;{&lt;BR /&gt;uint32_t command[9], result[4];&lt;BR /&gt;uint8_t Param[8];&lt;BR /&gt;uint8_t *p=Param;&lt;BR /&gt;Param[0] = 0;&lt;BR /&gt;Param[1] = 8; //usb 8// 6 usart&lt;BR /&gt;Param[2] = 0;&lt;BR /&gt;Param[3] = 0;&lt;BR /&gt;Param[4] = 0;&lt;BR /&gt;Param[5] = 0;&lt;BR /&gt;Param[6] = 0;&lt;BR /&gt;Param[7] = 8;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;command[0] = kIapCmd_FLASHIAP_ReinvokeISP; //57&lt;BR /&gt;command[1] = (uint32_t )p;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iap_entry(command, result);&lt;BR /&gt;return translate_iap_status(result[0]);&lt;BR /&gt;}&lt;BR /&gt;Now, I can ener the USB ISP mode now, is the same function as the ISP1 pin enter.&lt;BR /&gt;After you call Chip_IAP_ReinvokeISP, please also connect a USB port in J3, then you will find a device named as: CRP DISABLED&lt;BR /&gt;Then open CRP DISABLED, delete the firmware.bin file, change your own application bin file as firmware.bin, and copy it to CPR DISABLED, press the reset button.&lt;BR /&gt;You will find the application code work.&lt;BR /&gt;Please try it on your side.&lt;BR /&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 07:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703947#M28349</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-25T07:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703948#M28350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your infomation..I will try it today...:) &amp;nbsp;&lt;/P&gt;&lt;P&gt;And is any possibility, how restart processor without buttons only with software?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 08:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703948#M28350</guid>
      <dc:creator>phateee</dc:creator>
      <dc:date>2017-09-25T08:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703949#M28351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This is also a question, I am also considering this point, because you actually don't want to touch the board after downloading the app by USB bootloader ISP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 08:41:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703949#M28351</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-25T08:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703950#M28352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, ISP UART is very good, that you can restart processor only with SW:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 08:59:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703950#M28352</guid>
      <dc:creator>phateee</dc:creator>
      <dc:date>2017-09-25T08:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: ISP Mode from User Code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703951#M28353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried it and it works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 16:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-Mode-from-User-Code/m-p/703951#M28353</guid>
      <dc:creator>phateee</dc:creator>
      <dc:date>2017-09-25T16:52:20Z</dc:date>
    </item>
  </channel>
</rss>

