<?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>S12 / MagniV MicrocontrollersのトピックRe: Trouble programming FSEC to the recommended secure state</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141493#M3270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi xgater,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't know this device, but this sounds very similar to this thread:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=3649" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=3649&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope it helps&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;HNY!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Peg&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Dec 2006 05:17:42 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2006-12-30T05:17:42Z</dc:date>
    <item>
      <title>Trouble programming FSEC to the recommended secure state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141491#M3268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;CPU: MC9S12XDT256&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am enabling security in my application by programming the address $FF0F to $BD. The problem is that my programmer (P&amp;amp;E Cyclone Pro)&amp;nbsp;fails verification and says that address reads as $BC. According to the CPU user manual, the preferred state of the SEC (least significant) bits to enable security is 01 even though it says that 00 is also secure. If I change my code to set the security byte to $BC, then it passes verification. So, I may leave it that way even though it is not "preferrred". I can't find anywhere in to user manual or app notes that says this one bit can't be left erased or can't be read back.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Does anyone have a clue why this one byte won't verify?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2006 01:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141491#M3268</guid>
      <dc:creator>xgater</dc:creator>
      <dc:date>2006-12-30T01:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble programming FSEC to the recommended secure state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141492#M3269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV style="margin-left: 2em"&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I don't have an answer on this, you may want to contact P&amp;amp;E. But&amp;nbsp;have the following information for you -if sec1 and sec0 of 0xFF0F is not 10, any other 3 combination will secure HCS12 mcu, i.e for&amp;nbsp;your situation,&amp;nbsp;-- BC, BD and BF should all secure the chip.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Nina&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2006 02:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141492#M3269</guid>
      <dc:creator>NLFSJ</dc:creator>
      <dc:date>2006-12-30T02:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble programming FSEC to the recommended secure state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141493#M3270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi xgater,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't know this device, but this sounds very similar to this thread:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=3649" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=3649&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope it helps&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;HNY!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Peg&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2006 05:17:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141493#M3270</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-12-30T05:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble programming FSEC to the recommended secure state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141494#M3271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I also believe that the referenced thread is about the same problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Freescale recommends that you program the security bits to "unsecured" as part of erasing flash.&amp;nbsp;&amp;nbsp;The Freescale recommended 27 step unsecuring method does this.&amp;nbsp; Simple flash programming utilities do this routinely after doing a bulk erase of flash.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If this recommendation is followed, the only value that can be programmed without another erase is 00.&amp;nbsp; Doing this "cumulative programming" violates Freescale recommendations, but does work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The proper method would be to read the sector containing 0xFOFE, erase it, and program it with the modified values.&amp;nbsp; As far as I can tell, many programming utilities do not consider doing sector reprogramming and don't do this.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2007 00:53:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141494#M3271</guid>
      <dc:creator>StephenRussell</dc:creator>
      <dc:date>2007-01-01T00:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble programming FSEC to the recommended secure state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141495#M3272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks. This makes sense now. So, to sum it up....&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The SEC bits are set to the unsecure state (10) by the BDM tools because they have to be for&amp;nbsp;BDM access. (duh! I should have realized this on my own.)&lt;/DIV&gt;&lt;DIV&gt;This means that the only option for securing the part is to program the other bit resulting in SEC bits 00.&lt;/DIV&gt;&lt;DIV&gt;So, the "recommended" value should just be ignored.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I will just set SEC to 00 and all is well.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks, again.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 01:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Trouble-programming-FSEC-to-the-recommended-secure-state/m-p/141495#M3272</guid>
      <dc:creator>xgater</dc:creator>
      <dc:date>2007-01-04T01:17:45Z</dc:date>
    </item>
  </channel>
</rss>

