<?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>CodeWarrior Development ToolsのトピックRe: CodeWarrior 10.6 secures K70</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360138#M1840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please &lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;set FSEC as 0x32 that is for unsecure flash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=========================================&lt;/P&gt;&lt;P&gt;this answer is for you. if it helps, please click on "Correct Answer " button. thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Dec 2014 09:50:25 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2014-12-29T09:50:25Z</dc:date>
    <item>
      <title>CodeWarrior 10.6 secures K70</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360134#M1836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a problem with CodeWarrior and its operation with the K70?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the Flash utility to program a binary file to the K70F120 on the TWR-K70F120M, which works and allows the program to operate. However when I want to program another code or debug with any debugger I get the message that the device is secured and a mass erase is executed in order to be able to continue.&lt;/P&gt;&lt;P&gt;Thinking that I must have an error in the Flash configuration I checked in the binary and it is like this:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17802_17802.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120102iF5B2E68D129BD1EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="17802_17802.png" alt="17802_17802.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48433i410195E83DDFB446/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The FSEC setting is 0xbe, which is&lt;BR /&gt;KEYEN 10 (backdoor key access enabled)&lt;BR /&gt;MEEN 11 (mass erase enabled)&lt;/P&gt;&lt;P&gt;FSLACC11 (Freescale factory access granted)&lt;/P&gt;&lt;P&gt;SEC 10 (&lt;STRONG&gt;MCU security is unsecure&lt;/STRONG&gt;)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore this is not securing the device based on the value.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I checked the state of Flash that had been programmed to the chip by using the memory debugger that is built into the program that was loaded. It gives:&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;&lt;STRONG&gt;0x00000400&lt;/STRONG&gt; &lt;/TD&gt;&lt;TD style=""&gt;&lt;STRONG&gt;00 00 00 00 00 00 00 00 ff ff ff ff &lt;SPAN style="color: #ff0000;"&gt;bf&lt;/SPAN&gt; 07 ff ff&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;and shows that teh device is indeed secured since the value 0xbf has been programmed rather than the value 0xbe that is in the binary file.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only have a problem with K70 programming so my question is: &lt;EM&gt;&lt;STRONG&gt;does the programmer for the K70 do this on purpose and / or make an error in setting this byte??&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 18:17:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360134#M1836</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-12-17T18:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 secures K70</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360135#M1837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how does it work if you set SEC as 11 ?&lt;/P&gt;&lt;P&gt;i don't have board for the moment but last week i set FSEC as 7C on a K20 board. it get secured well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=========================================&lt;/P&gt;&lt;P&gt;this answer is for you. if it helps, please click on "Correct Answer " button. thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 10:33:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360135#M1837</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2014-12-18T10:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 secures K70</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360136#M1838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure that you understood the probem. I am trying NOT to secure the device when programming code with CodeWarrior but it IS securing it (which is not what the code is set for). If 11 is set in SEC it would then be "intentionally" securing it, which is waht must be avoided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 23:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360136#M1838</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-12-22T23:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: CodeWarrior 10.6 secures K70</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360137#M1839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have found in the meantime is that if I set the flash configuration to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0x00000400&lt;/STRONG&gt; &lt;STRONG&gt;00 00 00 00 00 00 00 00 ff ff ff ff &lt;SPAN style="color: #008000;"&gt;fe&lt;/SPAN&gt; ff ff ff&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then I do get this content written to the Flash when loading with CW flashing utility. Therefore this workaround can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The effect if however reproducable whenever the orignal values are used so looks to be a problem with the flasher.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 00:09:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360137#M1839</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-12-23T00:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 secures K70</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360138#M1840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please &lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;set FSEC as 0x32 that is for unsecure flash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=========================================&lt;/P&gt;&lt;P&gt;this answer is for you. if it helps, please click on "Correct Answer " button. thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 09:50:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CodeWarrior-10-6-secures-K70/m-p/360138#M1840</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2014-12-29T09:50:25Z</dc:date>
    </item>
  </channel>
</rss>

