<?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>topic how protec a sector of flash memory in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202853#M16727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello how i can protec a sector of memory flash?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 May 2010 03:46:21 GMT</pubDate>
    <dc:creator>yecosuma</dc:creator>
    <dc:date>2010-05-23T03:46:21Z</dc:date>
    <item>
      <title>how protec a sector of flash memory</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202853#M16727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello how i can protec a sector of memory flash?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 May 2010 03:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202853#M16727</guid>
      <dc:creator>yecosuma</dc:creator>
      <dc:date>2010-05-23T03:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to protect a sector of flash memory</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202854#M16728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure on your definition of a sector, but, you can't just protect a small amount of flash in the middle of the memory map.&lt;/P&gt;&lt;P&gt;FPROT allow a value to be entered where the flash from this address, extended to 16-bits, to the top of flash memory is protected.&lt;/P&gt;&lt;P&gt;Depends to some degree on which device you are using.&lt;/P&gt;&lt;P&gt;See the section of the FLASH chapter of the datasheet that is titled "FLASH Block Protection".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 May 2010 05:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202854#M16728</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2010-05-23T05:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: how protec a sector of flash memory</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202855#M16729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hello friends;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes I already read this but i dont understand the procedure,&lt;/P&gt;&lt;P&gt;I have that charger value in FPROT&lt;/P&gt;&lt;P&gt;FPROT=0XDE; FOR PROTECCION OF LAST 8192 BYTES of memory&amp;nbsp; this is correct?&lt;/P&gt;&lt;P&gt;also i must put register NVPROT of this form&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const byte NVPROT_INIT @0x0000FFBD = 0XDE;&amp;nbsp; this is correct&amp;nbsp; or not ?&lt;/P&gt;&lt;P&gt;how i can know if the area is protect in the true time simulator of code warrior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 00:39:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202855#M16729</guid>
      <dc:creator>yecosuma</dc:creator>
      <dc:date>2010-05-24T00:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to protect a sector of flash memory</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202856#M16730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You programme the value to NVPROT along with the rest of your code.&lt;/P&gt;&lt;P&gt;This value is automatically copied across to FPROT after a reset.&lt;/P&gt;&lt;P&gt;FPROT cannot be written from user code, otherwise it could be unlocked.&lt;/P&gt;&lt;P&gt;FPROT can be written in background debug mode which is how you can "unprotect" the flash.&lt;/P&gt;&lt;P&gt;Using the simulator you could simply check that the value you programmed into NVPROT is automatically copied to NVPROT after reset.&lt;/P&gt;&lt;P&gt;You would need to attempt to programme the flash from user code (resident in RAM) to really confirm that it is indeed protected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 04:16:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202856#M16730</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2010-05-24T04:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: how protec a sector of flash memory</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202857#M16731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello thanks&lt;/P&gt;&lt;P&gt;in my code I put :&lt;/P&gt;&lt;P&gt;const byte NVPROT_INIT @0x0000FFBD = 0XDE;&amp;nbsp; just after of a reset&amp;nbsp;&amp;nbsp;&amp;nbsp;the adress FFBD&amp;nbsp;&amp;nbsp; IS EQUAL&amp;nbsp; 0XDE in the true time simulate&lt;/P&gt;&lt;P&gt;can i am sure that already is protec the flash?&lt;/P&gt;&lt;P&gt;other issue how i can insert a key ? I will must to vrite value in NVBACKKEY in the similar way that NVPROT ?&lt;/P&gt;&lt;P&gt;IT IS CORRECT ?&lt;/P&gt;&lt;P&gt;THANKS NEWLY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 05:07:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202857#M16731</guid>
      <dc:creator>yecosuma</dc:creator>
      <dc:date>2010-05-24T05:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to protect a sector of flash memory</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202858#M16732</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 made an error in my last post.&lt;/P&gt;&lt;P&gt;It should have said to check that it is automatically copied across to FPROT (the second time).&lt;/P&gt;&lt;P&gt;As stated before you will need to attempt to alter flash to prove that it is working.&lt;/P&gt;&lt;P&gt;You seem to be confusing flash protection with flash security.&lt;/P&gt;&lt;P&gt;The flash protection we are discussing here is meant to protect against code runaway or the like from inadvertently changing flash contents. It is not meant to protect from someone deliberately doing it.&lt;/P&gt;&lt;P&gt;To unprotect the flash you simply write to FPROT through the BDM connection, not exactly secure but rogue code proof.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 05:42:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-protec-a-sector-of-flash-memory/m-p/202858#M16732</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2010-05-24T05:42:46Z</dc:date>
    </item>
  </channel>
</rss>

