<?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: &amp;quot;Device is secure. Erase to ensecure?&amp;quot;.  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629582#M37883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m testing now sending one letter (“2” value), but Tera receives the image that I have attached in the mail. The same it´s wrong with strange characters. Perhaps the baud configuration should be different?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m following the Tutorial Kinetis: Processor Expert Software – Microcontrollers Driver Suite Getting Started Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any differences because I’m using a different microcontroller??? (My microcontroller is MK20DX256vlh7)  In my application “AS1_SendBlock” function  is executed step by step like it should be, but when I want to see where the data are sent (in which output registers) when the transmission interrupt is enable, I don’t know where because they are unknown for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: Arturo Arteaga (CAE, SL - FIDEGAS)  &lt;/P&gt;&lt;P&gt;Enviado el: martes, 21 de marzo de 2017 11:52&lt;/P&gt;&lt;P&gt;Para: 'jive-660310512-6ba4-2-j1ys@mail.freescale.jiveon.com'&lt;/P&gt;&lt;P&gt;Asunto: RE:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It’s the same configuration. I send you an attached image about both configurations in UART Component and Tera Configuration. They both work at 9600 bauds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday I asked you about some transmission registers, do you Know the registers in which appears the UART output transmission data or the UART output buffer for mK20dx256vlh7 microcontroller?? I´m reading in the datasheet and I don´t find any registers related on them. I want to see if the transmission data in these registers are the same that I want to transmit and also in order to compare with data that arrive to Tera application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day too,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: martes, 21 de marzo de 2017 11:09&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/889012?commentID=889012&amp;amp;et=watches.email.thread#comment-889012&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2017 12:25:06 GMT</pubDate>
    <dc:creator>arturoarteaga</dc:creator>
    <dc:date>2017-03-21T12:25:06Z</dc:date>
    <item>
      <title>"Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629559#M37860</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 would like to reprogram a MK20DX64VLH7 microcontroller that I have in a board with , but I haven´t been able to download the new firmware and&amp;nbsp;erase a previous firmware that I´ve just download&amp;nbsp; before succesfully. In the monitor it appears the next message: "Device is secure. Erase to ensecure?". I repetedly choose "Yes" but without any success, until the next message appears: "Launching LED Debug (4) has encountered a problem. Error in services launch sequence". In details appears written: "Error in services launch sequence Timed out trying to launch GDB Server."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use KDS application, and "Debug Configuration" Option and GDB PEMicro with "Multilink Universal" programmer.&lt;/P&gt;&lt;P&gt;I´ve followed the KDS User Guide in order to set Debug Configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe&amp;nbsp;there is one problem with the secure configuration of microcontroller, but I don´t know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I erase the flash memory to reprogramm again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Problemas_acceso_micro.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16422iD3C7D1D8C527BF29/image-size/large?v=v2&amp;amp;px=999" role="button" title="Problemas_acceso_micro.png" alt="Problemas_acceso_micro.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn´t program&amp;nbsp;the 0x40C address related to "NV_SEC"&amp;nbsp;because I´ve only done the tutorial from Processor Expert, but I don´t know if this application program this address (0x40C) by default when I choose "Generate Processor Expert Code".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway I tell you that it appears in this this address in my application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NV_SEC (Address: 0x40C):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Init. value. 7E&lt;BR /&gt;After reset. FF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whose bits are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KEYEN bits:&lt;BR /&gt;Init. value. 01&lt;BR /&gt;After reset. 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEEN bits:&lt;BR /&gt;Init. value. 11&lt;BR /&gt;After reset. 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FSLACC bits:&lt;BR /&gt;Init. value. 11&lt;BR /&gt;After reset. 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEC bits:&lt;BR /&gt;Init. value. 10&lt;BR /&gt;After reset. 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="NV_FSEC.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16467iF85ED648AB2FF2C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="NV_FSEC.png" alt="NV_FSEC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t know how I can access to these registers by the "Processor Expert Application".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know how I could erase the firmware loaded in the MK20DX64VLH7 microcontroller to be able to reprogram it, as well as reprogramming in unsecure mode in order not to have this problems again. Or to program a firmware erasing the firmware loaded before. Do you know if there are any application to manage this. I have used "pe_gdb_server" and "multilink_universal" applications before but without any success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover I didn´t check a box to secure. The security boxes from the flash are disable by default and Protection regions are unprotected in Component Inspector Properties in &amp;nbsp;the "Processor Expert Application" in KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to this I think there shouldn´t be any problem with accesses related to security.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Flas_Security_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16553iB80D68C0E0F40CAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flas_Security_1.png" alt="Flas_Security_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Flas_Security_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16592i57326175449A2A24/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flas_Security_2.png" alt="Flas_Security_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I will continue researching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks previouslly for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your sincerelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 09:20:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629559#M37860</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-07T09:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629560#M37861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; About the secure, please read this document at first:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/servlet/JiveServlet/download/857127-1-396709/Kinetis Lock issue analysis and unlock way.pdf" title="https://community.nxp.com/servlet/JiveServlet/download/857127-1-396709/Kinetis%20Lock%20issue%20analysis%20and%20unlock%20way.pdf"&gt;https://community.nxp.com/servlet/JiveServlet/download/857127-1-396709/Kinetis%20Lock%20issue%20analysis%20and%20unlock%…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you have the JLINK, I suggest you to use the JLINK to unlock it in the JLINK commander window.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you don't have JLINK, try to use mass erase in the KDS:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15754i4BD804FF195960AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please try it at first, if you still have problem, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 03:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629560#M37861</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-08T03:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629561#M37862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly I would like to thank you because of your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I don´t use JLINK, here we only use “Multilink Universal” from PE Micro. I have just done your proposed solution that I should check the “Emergency Kinetis device Recovery by chip erase” box but it wasn´t satisfactory as well. When I debug the chip, instead of receiving the message “Device is secure. Erase to unsecure?”, I receive the message that I´m attaching in this mail (“An error occurred while connecting to the interface hardware….”) and next another message (“Launching LED debug” has encountered a problem. Error in services launch sequence…). (see “Debug fail” image attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read carefully your “*.pdf” document. Maybe in my case the error root could be that when I managed to debug, I have chosen “Disconnect” option in the “GDB Trace” in KDS Application instead of having chosen “Terminate” option previously, or perhaps I have pulsed the Reset button in my target. I don’t know if when it happens this coincidences, it is that the chip is in “secure state”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes I have managed to erase the chip with P&amp;amp;E GDB Server for Kinetis application when I had chosen “Allways mass erase on connect”, but then after I have managed to reprogram successfully later I can´t reprogram again because it is in “secure state” because of coincidences that I don´t know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have used “Multilink universal” software application, but without any success result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ve seen to the CPU registers, that every FSEC bit changes to “1” after RESET (I have attached these registers in the application), I think that with SEC bits in “11”, maybe the chip enters in “secure state”. In MK20DX256VH7 datasheet you can read that the microcontroller enters in this secure state if you have these “11” values in SEC values. (See “NV_FSEC” image attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know if there is an application that I manage to erase the chip, in order to manage to get out from “secure state”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another solution is, if there is a development firmware that you can erase or initialize the microcontroller in order to reprogram microcontroller from KDS application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or also if I can develop a new firmware that I can set a new configuration for the CPU, thus I can manipulate the CPU inside bits that erase the before firmware. Do you know what bits you can manipulate to erase the chip? I have seen MDM-AP register that it is mentioned in *.pdf. The 0 bit from MDM-AP register (Flash Erase Mass in progress), it appears that It is only cleared by hardware after mass erase operation completes. I think this operation I´ve just manipulate with P&amp;amp;E GDB Server for Kinetis application that I mentioned before. Do you Know if there is another way to erase by another bit? Or if you can access to this MDM-AP register by CPU configuration somehow. I haven´t seen this register in CPU peripheral registers. (See “MDM-AP” image attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: miércoles, 08 de marzo de 2017 4:25&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/884677?commentID=884677&amp;amp;et=watches.email.thread#comment-884677&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 09:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629561#M37862</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-08T09:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629562#M37863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but didn´t appear the images in the previous message. I attach the images related to the previous image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&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;&lt;span class="lia-inline-image-display-wrapper" image-alt="Debug_fail.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17050i29ED519C09383468/image-size/large?v=v2&amp;amp;px=999" role="button" title="Debug_fail.png" alt="Debug_fail.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="NV_FSEC.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17005i361146D708251464/image-size/large?v=v2&amp;amp;px=999" role="button" title="NV_FSEC.png" alt="NV_FSEC.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MDM-AP.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17095i1E1B266182B81674/image-size/large?v=v2&amp;amp;px=999" role="button" title="MDM-AP.bmp" alt="MDM-AP.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 09:52:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629562#M37863</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-08T09:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629563#M37864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If your software code didn't lock the chip, your problem should be caused by the hardware.&lt;/P&gt;&lt;P&gt;Please check your hardware about these points:&lt;/P&gt;&lt;P&gt;1. Reset pin should have 4.7k to 10K pull-up resistor, and 0.1uf capacitor to ground.&lt;/P&gt;&lt;P&gt;2. NMI pin should have external pull up&lt;/P&gt;&lt;P&gt;3. SWD_DIO should have 4.7k to 10K pull up resistor.&lt;/P&gt;&lt;P&gt;The above is the basic board design.&lt;/P&gt;&lt;P&gt;But if the device security is caused by the power up sequence: if the reset pin power up earlier than VDD,&amp;nbsp; it will lock the chip and hard to recover.&lt;/P&gt;&lt;P&gt;I suggest you find a JLINK, and use the JLINK commander input: unlock kinetis&amp;nbsp;&amp;nbsp; at first.&lt;/P&gt;&lt;P&gt;If the JLINK still can't unlock it, your chip maybe difficult to unsecure, just like the power up sequence problem.&lt;/P&gt;&lt;P&gt;Please also use short debugger cable which is mentioned in the document which I give you before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check your hardware again, you also can find another board, make sure the hardware is meet the demand, and download the code which is in unsecure mode again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 05:17:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629563#M37864</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-09T05:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629564#M37865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks of your last answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made the changes that you have suggested me, in our case it was to put a new capacitor of 100 nF in the RESET pin to ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some hours it has worked although it was locked when we switched off the power, and later we managed to unlock the chip with the “PE GDB for KINETIS” with the “mass erase on connect” functionality and then later we downloaded the program several times. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But although this success, we have had the chip locked and now we haven´t been able to unlocked again. I don´t know why. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done a captured image from the oscilloscope between the VDD signal and RESET signal. In the image you can see a green curve and a pink curve. Green curve is the VDD signal and pink signal is the RESET signal. You can see that RESET signal isn´t before as VDD signal, and we haven’t problems with the frequency and levels of signals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you have known something more than what happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for all of your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: jueves, 09 de marzo de 2017 6:19&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/884975?commentID=884975&amp;amp;et=watches.email.thread#comment-884975&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 17:14:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629564#M37865</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-09T17:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629565#M37866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Could you tell me how many board on your side have this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Did you check any other board?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Maybe you can try to solider your chip again with the temperature at max 270, just to exclude the bad pin connection problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please also check the debugger interface, whether the wire have the bad connection problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 10:19:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629565#M37866</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-13T10:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629566#M37867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, we have managed to program the board correctly. We have solved these problems by taking off some pull-ups and downs connected wrongly to SWD. I have connected also a pull-up to CS pin. Occasionally it faults again but I erase the program with “GDB for kinnetis application”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question, I haven´t managed to stop running the application with breakpoints except in main fuction that it´s selected by default in “Debug Configuration” in “Start up” tab. I don’t know why, because I have configured ok the breakpoints and they are enable and with a blue circle, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps, should I install some pluggin?? Another configuration that I don´t know?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: lunes, 13 de marzo de 2017 11:20&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/886010?commentID=886010&amp;amp;et=watches.email.thread#comment-886010&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 17:14:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629566#M37867</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-16T17:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629567#M37868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You don't need to install the plugin to add the breakpoints.&lt;/P&gt;&lt;P&gt;When you add the breakpoints, just with the tick sign, it is the useful break points:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15763iEA104CCCC452D911/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please check it on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 05:28:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629567#M37868</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-17T05:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629568#M37869</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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry Kerry, I have tried to add the tick sign, but I haven´t managed it. I don´t see how you can get tick signs, I know how to get circle blue sign at the left side from the code however although I read and read I don´t see where I can get tick sign or checkmark overlay as it´s mentioned in the help from KDS. Should I configure some parameters? Is there in any option from one of the menu windows? Maybe any option from the “breakpoints perspective view”?  or perhaps some commands that I have to write in “Debug configuration? Or any kind of configuration of debug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be great grateful again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day too,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: viernes, 17 de marzo de 2017 6:29&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/887918?commentID=887918&amp;amp;et=watches.email.thread#comment-887918&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 07:40:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629568#M37869</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-17T07:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629569#M37870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please enter the debug mode at first, then put the break point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Don't put too much break points.If you still not OK, please give me some pictures from your side, I will help you to investigate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 07:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629569#M37870</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-17T07:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629570#M37871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks, in some minutes I´ll send you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: viernes, 17 de marzo de 2017 8:59&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/888026?commentID=888026&amp;amp;et=watches.email.thread#comment-888026&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 08:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629570#M37871</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-17T08:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629571#M37872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Kerry again, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven’t managed to get tick signs again. After debugging I have put the breakpoint in the left side of one line the code, however I have only one blue circle. I send you two captured images. One it´s from the “Debug configuration” (Breakpoints &lt;U&gt;GDB&lt;/U&gt; Multilink_Universal image), where you can find in the bottom from “Startup” tab something related on debugging step by step, and my dude it´s if I have to modify this default configuration. Another image is Debug perspective View (Debug_Breakpoints image), where I show you breakpoints view (red rectangle), the breakpoint by default in main file (blue rectangle), the breakpoint that I’ve chosen (orange rectangle), explanation from the help that it’s mentioned about checkmark overlay (pink rectangle), and in the bottom console explanation after debugging that you can read about breakpoints (green rectangle).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information for you, I have managed to debug with another board, with the FRDM-KL25Z board with OpenSDA and I haven’t any problem to see the breakpoints with tick signs in the left side of the code from the beginning. For this reason I think perhaps I need some kind of plugin because I actually I’m debugging with Multilink Universal  with my actual board with MK20dx256vlh7 microcontroller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this serve you to find the solution. Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: viernes, 17 de marzo de 2017 8:59&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/888026?commentID=888026&amp;amp;et=watches.email.thread#comment-888026&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 09:29:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629571#M37872</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-17T09:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629572#M37873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What the KDS version you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp; If your version is below KDS3.2, please download the newest version and try again:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/software-development-tools/kinetis-design-studio-integrated-development-environment-ide:KDS_IDE?tab=Design_Tools_Tab" title="http://www.nxp.com/products/software-and-tools/software-development-tools/kinetis-design-studio-integrated-development-environment-ide:KDS_IDE?tab=Design_Tools_Tab"&gt;Kinetis® Design Studio Integrated Development Environment (IDE)|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If your anther board can use the breakpoints, please check you code, make sure the break point position can be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 09:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629572#M37873</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-17T09:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629573#M37874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The KDS version is 3.2.0. I have made sure that the program has executed break point position, because it´s only a toggle function executed on the led and I’ve seen how the led is toggled but without stopping in the breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, I’ve read that exists some commands for setting the breakpoints I’ve wrote these commands in the GDB window in Debug tab and Startup tab, however It doesn´t work on. I don´t know if some commands I should write before debugging and where or in which place I should write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the linkers in KDS to this information about breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file:///C:/Freescale/KDS_v3/Toolchain/share/doc/gcc-arm-none-eabi/html/gdb/Set-Breaks.html#Set-Breaks &amp;lt;file:///C:\Freescale\KDS_v3\Toolchain\share\doc\gcc-arm-none-eabi\html\gdb\Set-Breaks.html#Set-Breaks&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file:///C:/Freescale/KDS_v3/Toolchain/share/doc/gcc-arm-none-eabi/html/gdb/Maintenance-Commands.html#maint%20info%20breakpoints &amp;lt;file:///C:\Freescale\KDS_v3\Toolchain\share\doc\gcc-arm-none-eabi\html\gdb\Maintenance-Commands.html#maint%20info%20breakpoints&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know something about these commands?? This is the source of the problem??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Kerry for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: viernes, 17 de marzo de 2017 10:55&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/888032?commentID=888032&amp;amp;et=watches.email.thread#comment-888032&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 11:06:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629573#M37874</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-17T11:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629574#M37875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know where I can find a more extended user guide than one that I send you attached in this mail? I think this is very short and It don’t explain anything about breakpoints and another issues like register view, debug…. or other issues. I have been finding information about another user guide. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a more complete user guide to work with this develop tool, because there are a lot of issues to manipulate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: viernes, 17 de marzo de 2017 10:55&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/888032?commentID=888032&amp;amp;et=watches.email.thread#comment-888032&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 12:17:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629574#M37875</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-17T12:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629575#M37876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You post this picture before:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16796i46FC60816428677D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please write these code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16889i3749C2D1429913CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;before&lt;/P&gt;&lt;P&gt;:&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16932i748BF35D312794D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You add break point in for{;;}, are you sure your while(AS1_GetTxCompleteStatur(..)==false) is executed?&lt;/P&gt;&lt;P&gt;I just want to make sure your code is not blocking before your break points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 05:45:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629575#M37876</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-20T05:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629576#M37877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application don’t let me put the “for{;;}” line before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/servlet/JiveServlet/showImage/2-888387-179660/pastedImage_4.png" target="test_blank"&gt;https://community.nxp.com/servlet/JiveServlet/showImage/2-888387-179660/pastedImage_4.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It tell me there’s a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this “for{;;}”  line is put me after by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another lines although I can put before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/servlet/JiveServlet/showImage/2-888387-179660/pastedImage_4.png" target="test_blank"&gt;https://community.nxp.com/servlet/JiveServlet/showImage/2-888387-179660/pastedImage_4.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These lines aren’t executed when they are before:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/servlet/JiveServlet/showImage/2-888387-179659/pastedImage_3.png" target="test_blank"&gt;https://community.nxp.com/servlet/JiveServlet/showImage/2-888387-179659/pastedImage_3.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application stops in a line inside the GPIO function, but I haven´t decided to put a breakpoint inside this function. I don’t know why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why can´t I executed these lines? Why can´t I stop in the breakpoints lines? Have I to install something more? Have I to repair something wrong? Are there similar errors by another users?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project  is very simple to start to work. Why don’t work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day too,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: lunes, 20 de marzo de 2017 6:46&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/888387?commentID=888387&amp;amp;et=watches.email.thread#comment-888387&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 09:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629576#M37877</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-20T09:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629577#M37878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arturo Arteaga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Send me your test project, I will help you to check it when I am free.&lt;/P&gt;&lt;P&gt;I think this method will be the fastest way to get you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 10:00:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629577#M37878</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-20T10:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: "Device is secure. Erase to ensecure?".</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629578#M37879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks, I´ll send you my test Project attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In “mein file there are 2  for{;;} loops:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One before,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/servlet/JiveServlet/showImage/2-888387-179660/pastedImage_4.png" target="test_blank"&gt;https://community.nxp.com/servlet/JiveServlet/showImage/2-888387-179660/pastedImage_4.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that I don’t know if I have to put here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And another one, after previous lines mentioned, that it´s develop by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I keep waiting for your check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: kerryzhou  &lt;/P&gt;&lt;P&gt;Enviado el: lunes, 20 de marzo de 2017 11:01&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: "Device is secure. Erase to ensecure?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: "Device is secure. Erase to ensecure?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Kerry Zhou &amp;lt;https://community.nxp.com/people/kerryzhou?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/888554?commentID=888554&amp;amp;et=watches.email.thread#comment-888554&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 10:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/quot-Device-is-secure-Erase-to-ensecure-quot/m-p/629578#M37879</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-20T10:28:42Z</dc:date>
    </item>
  </channel>
</rss>

