<?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>LPCXpresso IDEのトピックRe: LPC1343 ISP mode</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527107#M287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gendac on Thu Feb 02 08:13:44 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Good idea, will give it a go, thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:50:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:50:07Z</dc:date>
    <item>
      <title>LPC1343 ISP mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527103#M283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gendac on Wed Feb 01 00:29:26 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;We want to update the LPC1343 firmware in the field using the In-System Programming (ISP) feature. This will be done from another processor via the UART.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an example program for implementing ISP? The AutoISP does not seem too relevant as it is using USB and also making use of IAP. The setup as described below I could also not locate in the example and also not the checksum calculation - please direct me to it if it is in there. Otherwise, it would be very helpful to have another example program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So far we have been able to put the ARM in ISP mode and followed the sequence as explained in the user manual to setup ISP: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Host sends '?' sync character and waits for response&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Host receives"Synchronized&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Host echoes "Synchronized&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Host receives "SynchronizedOK&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Host responds by sending crystal frequency&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Host receives OK message&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally we have used the J command to read the part ID successfully. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The actual programming is still unclear, is this process correct (after the above setup was done)?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Send unlock command&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Prepare sectors for write [Sector 0 to 7]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Erase sectors [Sector 0 to 7]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Write program to RAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Use Go command to execute written program&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How is the checksum calculated during the write sequence? The manual states: "The checksum is generated by adding raw data (before UU-encoding) bytes and is reset after transmitting 20 UU-encoded lines." Can someone please elaborate on this, maybe supply an example? Should we start writing at address 0x0000 0000? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Go command description states the following: "It may not be possible to return to the ISP command handler once this command is successfully executed."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What does this mean? Will you never again be able to enter ISP or only for some time (maybe till the next reset?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527103#M283</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 ISP mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527104#M284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Carrigan on Wed Feb 01 05:17:25 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Any reason you are not using the NXP supplied Flash Magic tool, which supports both the UART flashing protocols of the 1343?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.flashmagictool.com/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:50:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527104#M284</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 ISP mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527105#M285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gendac on Thu Feb 02 00:27:10 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Carrigan for the suggestion of using Flash Magic. Our LPC1343 is not connected to a serial port, its UART is connect to the UART of a GSM module that needs to perform the update. The GSM module will download updates via GPRS and then needs to program the LPC1343 using ISP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I might still be able to use Flash Magic to investigate the protocol and checksum used for writing, so it is a useful suggestion, thank you again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something about Flash Magic that I am not understanding correctly? The module we want to update will not be connected on ethernet and also not on a serial port?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:50:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527105#M285</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 ISP mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527106#M286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gbm on Thu Feb 02 07:45:15 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If I were you, I'd have a look at LPCISP source. :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:50:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527106#M286</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 ISP mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527107#M287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gendac on Thu Feb 02 08:13:44 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Good idea, will give it a go, thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:50:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-ISP-mode/m-p/527107#M287</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:50:07Z</dc:date>
    </item>
  </channel>
</rss>

