<?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>S32KのトピックRe: S32K144-EVB Cannot flash/debug. Device is secure.</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-EVB-Cannot-flash-debug-Device-is-secure/m-p/695243#M1258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you try the Emergency Kinetis Device Recovery option?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Emergency_kinetis_device_recovery.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13304i33030842E2E2D1AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Emergency_kinetis_device_recovery.png" alt="Emergency_kinetis_device_recovery.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Oct 2017 18:46:50 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2017-10-08T18:46:50Z</dc:date>
    <item>
      <title>S32K144-EVB Cannot flash/debug. Device is secure.</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-EVB-Cannot-flash-debug-Device-is-secure/m-p/695242#M1257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am working on some examples related to CSECs of the S32K144-EVB. Accidentally, I cannot flash or debug the program using S32DS v1.3. It said that "Device is secure. Erase to unsecure?". I select "Yes" and let the IDE erases the board. But it cannot.&lt;/P&gt;&lt;P&gt;When I plug the board to power source (usb or external adapter), the red led next to reset button is always ON.&lt;/P&gt;&lt;P&gt;When I try to connect to the board using pegdbserver_console, the application "Cannot enter background mode"&lt;/P&gt;&lt;P&gt;I was able to enter bootloader mode of OpenSDA. I am sure that there is no physical connection problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution to get the board working? What is the cause of this issue?&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 04:01:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-EVB-Cannot-flash-debug-Device-is-secure/m-p/695242#M1257</guid>
      <dc:creator>smartgoat</dc:creator>
      <dc:date>2017-09-29T04:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144-EVB Cannot flash/debug. Device is secure.</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-EVB-Cannot-flash-debug-Device-is-secure/m-p/695243#M1258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you try the Emergency Kinetis Device Recovery option?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Emergency_kinetis_device_recovery.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13304i33030842E2E2D1AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Emergency_kinetis_device_recovery.png" alt="Emergency_kinetis_device_recovery.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 18:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-EVB-Cannot-flash-debug-Device-is-secure/m-p/695243#M1258</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-10-08T18:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144-EVB Cannot flash/debug. Device is secure.</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-EVB-Cannot-flash-debug-Device-is-secure/m-p/695244#M1259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thanks so much for your reply. I already tried that, but no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to investigate the issue using j-link. I found that the board is "secure" and "mass erase" is enabled. So theoretically, it can be erased to unsecure. But in practice, it does not.&lt;/P&gt;&lt;P&gt;I also tried to flash the binary or read memory (SRAM) using j-link. But j-link keeps reporting error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;"Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set and mass erase is disabled."&lt;/P&gt;&lt;P&gt;"Timeout while halting CPU"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When I execute "unlock kinetis", j-link reports OK. But the above error persists when I try other commands.&lt;/P&gt;&lt;P&gt;Is my board "bricked"? Is there any solution to recover it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 02:03:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-EVB-Cannot-flash-debug-Device-is-secure/m-p/695244#M1259</guid>
      <dc:creator>smartgoat</dc:creator>
      <dc:date>2017-10-09T02:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144-EVB Cannot flash/debug. Device is secure.</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-EVB-Cannot-flash-debug-Device-is-secure/m-p/695245#M1260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What did you actually load to the chip?&lt;/P&gt;&lt;P&gt;Have you read this &lt;A _jive_internal="true" href="https://community.nxp.com/thread/446355"&gt;thread&lt;/A&gt; and this &lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/2019-439921-857127-396709/Kinetis Lock issue analysis and unlock way.pdf"&gt;document&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;Although it is Kinetis, it should be similar.&lt;/P&gt;&lt;P&gt;But if the mass erase is really disabled (MEEN = 0b10), then it is probably bricked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 19:49:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-EVB-Cannot-flash-debug-Device-is-secure/m-p/695245#M1260</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-10-09T19:49:05Z</dc:date>
    </item>
  </channel>
</rss>

