<?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: Flashing S32K118 devices over SWD in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flashing-S32K118-devices-over-SWD/m-p/963761#M55085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/zhanghongmin180@126.com"&gt;zhanghongmin180@126.com&lt;/A&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are detailed steps in the application note that you mentioned.&lt;/P&gt;&lt;P&gt;Once the MCU is mass erased, you can read the&amp;nbsp;MDM-AP Status[2] bit to see if the MCU is unsecured.&lt;/P&gt;&lt;P&gt;You need to set the debug request bit (MDM-AP Control[2]) before releasing the reset.&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/81575i6F7A4B346562F13E/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;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Aug 2019 14:06:05 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2019-08-27T14:06:05Z</dc:date>
    <item>
      <title>Flashing S32K118 devices over SWD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flashing-S32K118-devices-over-SWD/m-p/963760#M55084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently trying to program the S32K118 board using the SWD interface.&lt;/P&gt;&lt;P&gt;I refer to the&amp;nbsp;&lt;EM&gt;【&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12130.pdf"&gt;AN12130&lt;/A&gt;】&lt;/EM&gt;&amp;nbsp;documentation, and this &lt;A _jive_internal="true" href="https://community.nxp.com/message/1195119?commentID=1195119"&gt;blog&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I am able to access the MDM-AP &amp;amp; AHP-AP port .&lt;/P&gt;&lt;P&gt;The mass erase command can be executed correctly through the MDM-AP port.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But now I have some problems......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After I use the mass-erase command by MDM-AP, I can't read the value of any register anymore.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I tried to write 0xC0000000 on the PCC FTFC Register (PCC_FTFC), but it didn't work.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There is still a question I hope to ask.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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/89036iF27F32DCFEBDB197/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;how to do this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I don’t understand very well.Have a more detailed explanation?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; color: #51626f; "&gt;Thanks in advance!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2019 09:51:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flashing-S32K118-devices-over-SWD/m-p/963760#M55084</guid>
      <dc:creator>zhanghongmin180</dc:creator>
      <dc:date>2019-08-23T09:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing S32K118 devices over SWD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flashing-S32K118-devices-over-SWD/m-p/963761#M55085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/zhanghongmin180@126.com"&gt;zhanghongmin180@126.com&lt;/A&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are detailed steps in the application note that you mentioned.&lt;/P&gt;&lt;P&gt;Once the MCU is mass erased, you can read the&amp;nbsp;MDM-AP Status[2] bit to see if the MCU is unsecured.&lt;/P&gt;&lt;P&gt;You need to set the debug request bit (MDM-AP Control[2]) before releasing the reset.&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/81575i6F7A4B346562F13E/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;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 14:06:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flashing-S32K118-devices-over-SWD/m-p/963761#M55085</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-08-27T14:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing S32K118 devices over SWD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flashing-S32K118-devices-over-SWD/m-p/963762#M55086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you said，I have been set the debug request bit,But the problem does not seem to be here.I still can't read the value of some registers(eg 0x40065080).&lt;/P&gt;&lt;P&gt;Is there any other reason that will cause this to happen?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 03:40:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flashing-S32K118-devices-over-SWD/m-p/963762#M55086</guid>
      <dc:creator>zhanghongmin180</dc:creator>
      <dc:date>2019-09-03T03:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing S32K118 devices over SWD</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flashing-S32K118-devices-over-SWD/m-p/963763#M55087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/zhanghongmin180@126.com"&gt;zhanghongmin180@126.com&lt;/A&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is hard to say what could be wrong. &lt;BR /&gt;When the MCU is in Debug mode, you should be able to read the registers.&lt;BR /&gt;I don’t think that this is an issue of the MCU but rather there is something wrong in your SWD implementation. &lt;BR /&gt;Could you use an existing programmer and capture the SWD communication for your reference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DAPLink:&amp;nbsp;https://github.com/ARMmbed/DAPLink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 08:32:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flashing-S32K118-devices-over-SWD/m-p/963763#M55087</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-09-12T08:32:29Z</dc:date>
    </item>
  </channel>
</rss>

