<?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: Self-Erasing Program for CRP level 3 testing</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523637#M6273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by usb10185 on Fri Apr 25 16:55:07 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;@R2D2, yep, twas a dead link. Fixed now. Thanks for the patience!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:00:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:00:47Z</dc:date>
    <item>
      <title>Self-Erasing Program for CRP level 3 testing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523632#M6268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Thu Apr 24 15:52:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;As a part of testing my (soon to be released version 3.0 of) 'mxli' I wrote an LPC17xx program that uses CRP levels 1,2 and 3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The program uses UART0 at 115200bd, 8N1, connected to the same pins as the ISP boot loader and outputs a message after boot up. If you enter a '!' it will commit suicide and erase the whole FLASH. That way it's possible to test CRP level 3 without risk of losing the device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I share the program with you, in case you want to test your FLASH-programming equipment's CRP features and you suffer from increased adrenaline levels and tremor when only thinking about that :O &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested the program with LPC1754, LPC1764, LPC1758.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The archive contains the binary images crp1.bin .. crp3.bin. These images contain the corresponding CRP codes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Do [color=#f00]NOT[/color] use these images, if you don't have access to UART0 pins P0.2 and P0.3 on your board !!&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please have a look at the source code, before using the binary images. If you don't agree with the program's sector-scanning erasure algorithm, then don't use it!&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337931"&gt;self-erase.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337931"&gt;self-erase.tar.bz2&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:00:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523632#M6268</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Self-Erasing Program for CRP level 3 testing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523633#M6269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by usb10185 on Fri Apr 25 10:18:21 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP have an application note that does something similar, see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Fan10851-crp-example-source-code" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/an10851-crp-example-source-code&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523633#M6269</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Self-Erasing Program for CRP level 3 testing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523634#M6270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Apr 25 11:00:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: usb10185&lt;/STRONG&gt;&lt;BR /&gt;NXP have an application note that does something similar, see:&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Fan10851-crp-example-source-code" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/an10851-crp-example-source-code&lt;/A&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;We are sorry, but the page you requested is not available (404)&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523634#M6270</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Self-Erasing Program for CRP level 3 testing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523635#M6271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by usb10185 on Fri Apr 25 12:56:09 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You may not be logged in, seems to work here ok..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523635#M6271</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Self-Erasing Program for CRP level 3 testing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523636#M6272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Apr 25 13:49:21 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems to be a Dead link here...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AN10851 can be downloaded here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocuments%2Fapplication_note%2FAN10851.zip" rel="nofollow" target="_blank"&gt;http://www.nxp.com/documents/application_note/AN10851.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523636#M6272</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Self-Erasing Program for CRP level 3 testing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523637#M6273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by usb10185 on Fri Apr 25 16:55:07 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;@R2D2, yep, twas a dead link. Fixed now. Thanks for the patience!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523637#M6273</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Self-Erasing Program for CRP level 3 testing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523638#M6274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Sat Apr 26 04:14:24 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Re-invoke ISP is a cleaner solution than mine, because it can't be interrupted by a premature RESET or power down like my approach (at program execution time). Also, my code 'returns' to erased FLASH contents. This is effectively a FLASH full of NOPs (branch . +2) and quickly the program counter runs across the FLASH upper limit...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@usb10185:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do prefer binary images rather than source code here to eliminate the risk of a compilation/linking error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:00:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Self-Erasing-Program-for-CRP-level-3-testing/m-p/523638#M6274</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:00:48Z</dc:date>
    </item>
  </channel>
</rss>

