<?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中的主题 Re: lpc2478 ISP problem.</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552976#M14493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dmitryf on Sun Jun 14 20:01:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please check this document: &lt;/SPAN&gt;&lt;A href="http://http://www.nxp.com/documents/application_note/AN11229.pdf"&gt;AN11229&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5.3 Writing to RAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The command format to write to the RAM is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;W &amp;lt;start address&amp;gt; &amp;lt;number of bytes&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;address&amp;gt; is the desired address in decimal. The address must be a word boundary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;number of bytes&amp;gt; is the desired bytes. The number of bytes must be in multiples of 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As an example, to write the value of 0x14, 0x0F, 0xA8, and 0x17 to the RAM address of 0x10000000, the following sequence occurs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The host sends the command “W 268435456 4”&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The controller responds with a Return Code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The host sends the data in UUencode format, “$%`^H%P``”&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. The host sends the checksum, “226”&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. The controller responds with an “OK” if the checksum matches the data. If the checksum does not match, then a “RESEND” is sent back to the host&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:52:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:52:41Z</dc:date>
    <item>
      <title>lpc2478 ISP problem.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552973#M14490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Hannibal Smith on Thu Jun 11 11:16:57 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello, I'm try to using ISP with rs232 flashmagic terminal, with a LPC2478 device. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I set com port like picture attached, and sent command like i've found in pdf, but device give me strange answers, as you can see in the picture. I tried to do a full erasing and program by flashmagic successfully. i don't understand where is the problem. anyone can help me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:52:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552973#M14490</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2478 ISP problem.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552974#M14491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dmitryf on Thu Jun 11 19:01:20 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You can check how work with ISP correctly by analyze &lt;/SPAN&gt;&lt;STRONG&gt;lpc21isp&lt;/STRONG&gt;&lt;SPAN&gt; project source code from the Sourceforge.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:52:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552974#M14491</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2478 ISP problem.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552975#M14492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Hannibal Smith on Sun Jun 14 11:28:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks, now i can comunicate with lpc. i've an other question: checksum that must be sent over 20 line need to be calculate on data bytes that i've sent or on all caracter that i've used in the isp comman? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:52:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552975#M14492</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2478 ISP problem.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552976#M14493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dmitryf on Sun Jun 14 20:01:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please check this document: &lt;/SPAN&gt;&lt;A href="http://http://www.nxp.com/documents/application_note/AN11229.pdf"&gt;AN11229&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5.3 Writing to RAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The command format to write to the RAM is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;W &amp;lt;start address&amp;gt; &amp;lt;number of bytes&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;address&amp;gt; is the desired address in decimal. The address must be a word boundary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;number of bytes&amp;gt; is the desired bytes. The number of bytes must be in multiples of 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As an example, to write the value of 0x14, 0x0F, 0xA8, and 0x17 to the RAM address of 0x10000000, the following sequence occurs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The host sends the command “W 268435456 4”&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The controller responds with a Return Code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The host sends the data in UUencode format, “$%`^H%P``”&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. The host sends the checksum, “226”&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. The controller responds with an “OK” if the checksum matches the data. If the checksum does not match, then a “RESEND” is sent back to the host&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:52:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552976#M14493</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2478 ISP problem.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552977#M14494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Hannibal Smith on Mon Jun 15 00:32:05 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, I've already check this AN; I need to clear (put FF) 256 byte in RAM, so i sent 8 time instruction for write 32 byte like in the AN. checksum for 32 byte FF is 8160 and lpc sent me ok the first 3 time, but the it answer me RESEND, the command that i send is the same that 3 first time.&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:52:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552977#M14494</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2478 ISP problem.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552978#M14495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dmitryf on Mon Jun 15 20:18:33 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you check XON/XOFF characters from the device? May be your data come very fast...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552978#M14495</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2478 ISP problem.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552979#M14496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Hannibal Smith on Tue Jun 16 06:05:50 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, i check. i solved changing the RAM address for writing, maybe lpc use the first 512 byte for bootloader or similar... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then I tried to move the data&amp;nbsp; I write in to the flash: so I perform that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;U 23130 ; Unlcock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P 0 27 ; Prepare to Writing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;E 26 27 ; Erase sector that need to be writing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P 26 27 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C 508416 1073742304 512 ; Move 512 byte from Ram to Flash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC return always 0 or OK and no error!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then I read 512 from ram and flash and data match; but when I unplug Power supply and connect Jtag for read enteir chip memory I don't find the writed data, but only the erase sector.&amp;nbsp; This MCU is very strange for me...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:52:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc2478-ISP-problem/m-p/552979#M14496</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:52:43Z</dc:date>
    </item>
  </channel>
</rss>

