<?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>8-bit Microcontrollers中的主题 HSC08 memory Security and rewrite problems</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HSC08-memory-Security-and-rewrite-problems/m-p/219525#M19124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const volatile unsigned char NVPROT_INIT @0x0000FFBD =&amp;nbsp; 0xDE;&lt;BR /&gt;const volatile unsigned char NVOPT_INIT @0x0000FFBF&amp;nbsp; = 0xF0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void IC_Protect_Disable(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; unsigned int data_addr =0xFFB0;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; FCNFG_KEYACC = 0x1;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x0;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x1;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x2;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x3;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x4;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x5;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x6;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x7;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; FCNFG_KEYACC = 0x0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;==============================================&lt;/P&gt;&lt;P&gt;I used JM8 in my project. and the protect blocks from E000~FFFF .&lt;/P&gt;&lt;P&gt;Inside that blocks, rewrite process is no allow due to scurity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when i call&amp;nbsp; "IC_Protect_Disable" show as above, the block is also unlock,&lt;/P&gt;&lt;P&gt;how can i do ?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Oct 2009 14:51:12 GMT</pubDate>
    <dc:creator>jy</dc:creator>
    <dc:date>2009-10-05T14:51:12Z</dc:date>
    <item>
      <title>HSC08 memory Security and rewrite problems</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HSC08-memory-Security-and-rewrite-problems/m-p/219525#M19124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const volatile unsigned char NVPROT_INIT @0x0000FFBD =&amp;nbsp; 0xDE;&lt;BR /&gt;const volatile unsigned char NVOPT_INIT @0x0000FFBF&amp;nbsp; = 0xF0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void IC_Protect_Disable(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; unsigned int data_addr =0xFFB0;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; FCNFG_KEYACC = 0x1;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x0;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x1;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x2;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x3;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x4;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x5;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x6;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; *(unsigned char *)data_addr = 0x7;&lt;BR /&gt;&amp;nbsp; data_addr++;&lt;BR /&gt;&amp;nbsp; FCNFG_KEYACC = 0x0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;==============================================&lt;/P&gt;&lt;P&gt;I used JM8 in my project. and the protect blocks from E000~FFFF .&lt;/P&gt;&lt;P&gt;Inside that blocks, rewrite process is no allow due to scurity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when i call&amp;nbsp; "IC_Protect_Disable" show as above, the block is also unlock,&lt;/P&gt;&lt;P&gt;how can i do ?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 14:51:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HSC08-memory-Security-and-rewrite-problems/m-p/219525#M19124</guid>
      <dc:creator>jy</dc:creator>
      <dc:date>2009-10-05T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: HSC08 memory Security and rewrite problems</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HSC08-memory-Security-and-rewrite-problems/m-p/219526#M19125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Flash is not readable while KEYACC is set. Thus your IC_Protect_Disable() routine should run from RAM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Backdoor unsecure is supposed to allow R/W access via BDM pin. Backdoor unsecure doesn't disengage flash write protection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 15:40:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HSC08-memory-Security-and-rewrite-problems/m-p/219526#M19125</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2009-10-05T15:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: HSC08 memory Security and rewrite problems</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HSC08-memory-Security-and-rewrite-problems/m-p/219527#M19126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;3. Values 0x0000 and 0xFFFF are not permitted as backdoor keys (at least for some parts, like the QE128).&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 17:00:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HSC08-memory-Security-and-rewrite-problems/m-p/219527#M19126</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2009-10-05T17:00:21Z</dc:date>
    </item>
  </channel>
</rss>

