<?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: Upgrade disaster!</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Upgrade-disaster/m-p/571263#M20514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Wed Mar 23 09:55:48 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Interesting. I'll have to read up on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Larry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:30:27 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:30:27Z</dc:date>
    <item>
      <title>Upgrade disaster!</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Upgrade-disaster/m-p/571260#M20511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by micrio on Wed Mar 23 09:08:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=4]In my code I provided a backdoor way of defeating the security (CRP) feature. I read a special pin for a zero. If a zero is read, I wait for a few seconds and then issue an IAP command to erase all flash. I have tested this back door in development and it worked OK. I am using CRP3, the highest level of security.[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=4]Now we have to upgrade the firmware in a bunch of units. I ground the special pin and expect the code to erase the flash. Well, only about half the units successfully erase thenselves.[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=4]The unit emitts pulses during normal operation. When I ground the pin the pulses stop after the safety delay. This is the normal behavior for the backdoor erase feature. However when I power cycle the unit the old code comes back in half the units![/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=4]I can't predict which units will erase themselves and which won't. They are all the same in both hardware and code.[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=4]Am I doing something wrong in my backdoor erase function? Is there a more reliable way to do it?[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=4]Thanks,[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=4]Pete.[/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:30:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Upgrade-disaster/m-p/571260#M20511</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade disaster!</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Upgrade-disaster/m-p/571261#M20512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Wed Mar 23 09:19:06 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure how pertinent it is but look at this post &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/search.php?searchid=22762&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought CRP3 was permanent code protection that even ISP could not circumvent.&amp;nbsp; If I'm wrong please let me know.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Upgrade-disaster/m-p/571261#M20512</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade disaster!</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Upgrade-disaster/m-p/571262#M20513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by micrio on Wed Mar 23 09:41:35 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=4]It is true that CRP3 cannot be defeated by any external means. It does not prevent reprogramming the flash internally using the IAP function calls. I use the IAP functions to maintain state in my code even with CRP3 set. The only difference is that I am erasing the first page (and all other pages) to kill the CRP3 rather than erasing the last page where my state is saved.[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=4]Pete[/SIZE].&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Upgrade-disaster/m-p/571262#M20513</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade disaster!</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Upgrade-disaster/m-p/571263#M20514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Wed Mar 23 09:55:48 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Interesting. I'll have to read up on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Larry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Upgrade-disaster/m-p/571263#M20514</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:30:27Z</dc:date>
    </item>
  </channel>
</rss>

