<?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 Re: KL25Z programming problem with CW in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282125#M10491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sanchez,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back, I'm pretty sure I have chosen the right device when creating my project, but just to be 100% sure, is there a way to double check the actual device model? I know there are different types of KL25Z. Furthermore, I have looked at that thread previously and according to the steps, it lead me to a point where I could view whether or not the device is protected or not, it seems like it's all "unprotected", I'm really confused now, it doesn't really make sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2014 21:43:43 GMT</pubDate>
    <dc:creator>nick92</dc:creator>
    <dc:date>2014-02-06T21:43:43Z</dc:date>
    <item>
      <title>KL25Z programming problem with CW</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282122#M10488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm trying to flash a simple ADC testing program onto my KL25Z with CodeWarrior; CW recognises the board so no USB connectivity issue there. I can also successfully erase the device. However, when I try to program it, I get this error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Error:&amp;nbsp; Program Command Failed.&amp;nbsp;&amp;nbsp; Security area should not be programmed with a value that leads to irreversible secure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Error: Program Command Failed. Security area should not be programmed with a value that leads to irreversible secure&lt;/P&gt;&lt;P&gt;" &lt;/P&gt;&lt;P&gt;I've tried searching the web but no dice! I don't understand why 3 lines of codes can cause any security issues or why there's a security issue in the first place!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help and suggestions will be highly appreciated. Thank you all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 11:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282122#M10488</guid>
      <dc:creator>nick92</dc:creator>
      <dc:date>2014-02-06T11:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z programming problem with CW</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282123#M10489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: Now it won't even erase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;Error executing task KL25Z64M4. &lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Erase Command Failed.&amp;nbsp;&amp;nbsp; Protect violation error.Device FTFA_PFlash64RAM8 is protected&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;lt;s&amp;gt;thread exit: Stopped, 0x0, 0x0, cpuARMLittle, Unknown (state, tid, pid, cpu, target)&amp;lt;/s&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Erase Command Failed. Protect violation error.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 12:39:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282123#M10489</guid>
      <dc:creator>nick92</dc:creator>
      <dc:date>2014-02-06T12:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z programming problem with CW</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282124#M10490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicola,&lt;/P&gt;&lt;P&gt;I'm looking at your problem right now.&lt;/P&gt;&lt;P&gt;Are you sure you selected the correct device when you made the project in CW?&lt;/P&gt;&lt;P&gt;See if this thread helps you : &lt;A href="http://mcuoneclipse.com/2012/05/28/device-is-secure/" title="http://mcuoneclipse.com/2012/05/28/device-is-secure/"&gt;http://mcuoneclipse.com/2012/05/28/device-is-secure/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Keep me informed,&lt;/P&gt;&lt;P&gt;Hector Sanchez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 17:15:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282124#M10490</guid>
      <dc:creator>hectorsanchez</dc:creator>
      <dc:date>2014-02-06T17:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z programming problem with CW</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282125#M10491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sanchez,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back, I'm pretty sure I have chosen the right device when creating my project, but just to be 100% sure, is there a way to double check the actual device model? I know there are different types of KL25Z. Furthermore, I have looked at that thread previously and according to the steps, it lead me to a point where I could view whether or not the device is protected or not, it seems like it's all "unprotected", I'm really confused now, it doesn't really make sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 21:43:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282125#M10491</guid>
      <dc:creator>nick92</dc:creator>
      <dc:date>2014-02-06T21:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z programming problem with CW</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282126#M10492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is possible, could you post your code here and I could check that code on my site. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 08:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282126#M10492</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-02-17T08:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z programming problem with CW</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282127#M10493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ma Hui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's nothing complex of a code, I was just following a tutorial to test out the ADC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/" style="font-size: 10pt; line-height: 1.5em;" title="http://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/"&gt;http://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: The error that I receive when I try to Flash the board is now the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error executing task KL25Z128M4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Error:&amp;nbsp; Program failed.&amp;nbsp;&amp;nbsp; Flash driver reports the following error(s):&amp;nbsp; Secure operation with disabled mass erase detected. Aborting programming to prevent locking the device permanently &lt;/P&gt;&lt;P&gt;&amp;lt;s&amp;gt;thread exit: Stopped, 0x0, 0x0, cpuARMLittle, Unknown (state, tid, pid, cpu, target)&amp;lt;/s&amp;gt; &lt;/P&gt;&lt;P&gt;Error: Program failed. Flash driver reports the following error(s):&amp;nbsp; Secure operation with disabled mass erase detected. Aborting&lt;/P&gt;&lt;P&gt;programming to prevent locking the device permanently"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is weird because I am successful in flashing the sample program from CW, the Tri-LED program. So I assume that the board is not bricked which makes sense because I wasn't fooling around with in the first place.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 11:33:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282127#M10493</guid>
      <dc:creator>nick92</dc:creator>
      <dc:date>2014-02-17T11:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: KL25Z programming problem with CW</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282128#M10494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The KL25 ADC tutorial does not set Flash configuration filed to disable mass erase.&lt;/P&gt;&lt;P&gt;Please check attached project, I refer KL25 PE ADC tutorial created this demo, which based on FRDM-KL25Z board and works normally.&lt;/P&gt;&lt;P&gt;Please try this project on your CodeWarrior IDE and check if same issue also exists.&lt;/P&gt;&lt;P&gt;My CodeWarrior version is V10.5 and PE with latest updated (Rev. 10.5.1)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="processor expert.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41492i601D65F4A9679466/image-size/large?v=v2&amp;amp;px=999" role="button" title="processor expert.jpg" alt="processor expert.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 08:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-programming-problem-with-CW/m-p/282128#M10494</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-02-18T08:42:31Z</dc:date>
    </item>
  </channel>
</rss>

