<?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>Kinetis MicrocontrollersのトピックRe: Use removed MK20 part from freedom board</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157293#M468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not directly related to the &lt;STRONG&gt;un-securing&lt;/STRONG&gt; the device but I noticed that accessing the K20 on the FRDM-KL25 board using the SWD connector may have problems unrelated to the security. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found it necessary to supply power to the board independently through the USB connector to access the chip at all.&amp;nbsp; Supplying power via the SWD wasn't sufficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then connected to the device while reset was asserted which ensures that the software on the device did not disable the SWD function on the chip pins etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above may be the reason for the difficulty in connecting at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then read the MDM-AP.Status register which contains 0x00000016.&amp;nbsp; This confirmed that it was secured with mass erase and backdoor access disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2012 23:54:52 GMT</pubDate>
    <dc:creator>pgo</dc:creator>
    <dc:date>2012-11-08T23:54:52Z</dc:date>
    <item>
      <title>Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157283#M458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been working with some &lt;STRONG style="color: #000000; font-family: Verdana, Helvetica, sans-serif; font-size: 11px; background-color: #ffffff;"&gt;&lt;A class="medium" href="http://avnetexpress.avnet.com/store/em/EMController/Microcontroller/Freescale-Semiconductor/MK20DX128VFM5/_/R-5003046000052/A-5003046000052/An-0?action=part&amp;amp;catalogId=500201&amp;amp;langId=-1&amp;amp;storeId=500201&amp;amp;listIndex=-1&amp;amp;page=1&amp;amp;rank=0" style="color: #990000; font-family: Verdana, Arial, Helvetica, sans-serif;" title="View Part Detail"&gt;MK20DX128VFM5&lt;/A&gt;&lt;/STRONG&gt; samples that I received from freescale.&amp;nbsp; I now have a designed PCB that I would like to build, but do not have any more parts.&amp;nbsp; I thought I could order a couple of freedom boards, pull of the mk20 and use them on my board, but they seemed to be lock and or secured.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to connect to them with my J-link and through codewarrior.&amp;nbsp; I have used J-link commander to try and get a direct conection, but the chips are not responding.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what state these chips may be in?&amp;nbsp; Is there anything that I can do to make them usable?&amp;nbsp; I sure wish we get some of these parts from mouser digikey, hopefully soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 21:39:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157283#M458</guid>
      <dc:creator>mjg8t</dc:creator>
      <dc:date>2012-10-29T21:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157284#M459</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 had a look at the MK20s on the Freedom boards I have.&amp;nbsp; They are secured and have the mass erase disabled.&lt;/P&gt;&lt;P&gt;This means they cannot be re-programmed except by the on-chip software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unsure why they would need to be in such a state except for security reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 03:27:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157284#M459</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2012-10-30T03:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157285#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct the K20's mcu's are secured and the mass erase disabled feature is on, as you suggest is for security reasons, the only way to erase them is using a J-link programmer + J link commander (sw tool).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the J link commander in the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;&lt;A href="http://www.segger.com/jlink-software.html"&gt;http://www.segger.com/jlink-software.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a video of how do the mass erase, it takes just a couple of seconds; however, we don;t recommend you remove the mcu's from the freedom board since you will render the board unusable and might damage the microcontroller in the removal process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 19:42:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157285#M460</guid>
      <dc:creator>apanecatl</dc:creator>
      <dc:date>2012-10-30T19:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157286#M461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pedro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain how the JLINK is able to erase the device?&amp;nbsp; I had though that it was impossible to do this if the device is both secured and mass erase disabled.&amp;nbsp; I am interested in a reference to some documentation that explains the method.&amp;nbsp; Not just JLINK commands to use but the underlying method available on the chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 00:59:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157286#M461</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2012-11-01T00:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157287#M462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agree with pgo. The device can never be accessed from any external sources, including the J-link, if the device is both secured and the mass erase disabled through FSEC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 05:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157287#M462</guid>
      <dc:creator>rogerzhong</dc:creator>
      <dc:date>2012-11-07T05:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157288#M463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I knew how to unsecure the kinetis with jlink..&lt;/P&gt;&lt;P&gt;But the issue for me is that I can't access the k20 on freedom board via JTAG/SWD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 15:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157288#M463</guid>
      <dc:creator>qiaoy</dc:creator>
      <dc:date>2012-11-07T15:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157289#M464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger, Boss is calling you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 06:55:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157289#M464</guid>
      <dc:creator>oliverzhang</dc:creator>
      <dc:date>2012-11-08T06:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157290#M465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, can someone give evidence that the device can or cannot be accessed after being "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;secured and the mass erase disabled&lt;/SPAN&gt;".&amp;nbsp; I don't think that by someone stating that it can or can't without being able to refer to some documentation stating the case is considered an answer.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what where lies the answer? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the same problem as Yu Qiao in that the device will not respond.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 15:20:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157290#M465</guid>
      <dc:creator>mjg8t</dc:creator>
      <dc:date>2012-11-08T15:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157291#M466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the device has security plus mass erase disabled, it means game over:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/11/04/how-not-to-secure-my-microcontroller/" title="http://mcuoneclipse.com/2012/11/04/how-not-to-secure-my-microcontroller/"&gt;How (not) to Secure my Microcontroller | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unless you know the back door mechanism which has been implemented by the OpenSDA producer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See as well the KL25Z Reference manual (KL25P80M48SF0RM.pdf), search for MEEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page 153, chapter 9.3.1:&lt;/P&gt;&lt;P&gt;When mass erase is disabled (via MEEN and SEC settings), the erase&lt;/P&gt;&lt;P&gt;request does not occur and the Flash Mass Erase in Progress bit&lt;/P&gt;&lt;P&gt;continues to assert until the next system reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page 428, FTFA_FSEC:&lt;/P&gt;&lt;P&gt;Mass Erase Enable Bits&lt;/P&gt;&lt;P&gt;Enables and disables mass erase capability of the flash memory module. The state of the MEEN bits is&lt;/P&gt;&lt;P&gt;only relevant when the SEC bits are set to secure outside of NVM Normal Mode. When the SEC field is&lt;/P&gt;&lt;P&gt;set to unsecure, the MEEN setting does not matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chapter 8:Security, page 149&lt;/P&gt;&lt;P&gt;In the unsecured state all flash commands are available on the programming interfaces&lt;/P&gt;&lt;P&gt;either from the debug port (SWD) or user code execution. When the flash is secured&lt;/P&gt;&lt;P&gt;(FSEC[SEC] = 00, 01, or 11), the programmer interfaces are only allowed to launch mass&lt;/P&gt;&lt;P&gt;erase operations. Additionally, in this mode, the debug port has no access to memory&lt;/P&gt;&lt;P&gt;locations.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Hope this helps,&lt;BR /&gt;&lt;/SPAN&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 16:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157291#M466</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-11-08T16:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157292#M467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the comprehensive information!&amp;nbsp;&amp;nbsp; Off to patiently waiting for the smaller parts to trickle into the distributors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 16:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157292#M467</guid>
      <dc:creator>mjg8t</dc:creator>
      <dc:date>2012-11-08T16:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157293#M468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not directly related to the &lt;STRONG&gt;un-securing&lt;/STRONG&gt; the device but I noticed that accessing the K20 on the FRDM-KL25 board using the SWD connector may have problems unrelated to the security. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found it necessary to supply power to the board independently through the USB connector to access the chip at all.&amp;nbsp; Supplying power via the SWD wasn't sufficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then connected to the device while reset was asserted which ensures that the software on the device did not disable the SWD function on the chip pins etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above may be the reason for the difficulty in connecting at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then read the MDM-AP.Status register which contains 0x00000016.&amp;nbsp; This confirmed that it was secured with mass erase and backdoor access disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 23:54:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157293#M468</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2012-11-08T23:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Use removed MK20 part from freedom board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157294#M469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a FRDM KL25Z&amp;nbsp; board but could not flash the MK20 (with segger SWD) because to be protected, I bought the IC MK20DX128VFM5 and replace on the board. The objective is to again take again the functional board, then build a robot with debugger on board. (simulate frdm kl25z)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question is: Where can I get the Bootloader MSD to unload with segger? I already used the segger "12_OpenSDA_FRDM-KL25Z" by &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.segger.com%2Fdownloads%2Fjlink" rel="nofollow" target="_blank"&gt;https://www.segger.com/downloads/jlink&lt;/A&gt;&lt;SPAN&gt; but the MK20 does not work after scheduled. Ie the PC should recognize right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My circuit hi level is:&amp;nbsp; PC&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp; Segger -&amp;gt;&amp;nbsp;&amp;nbsp; J8 (SWD)&amp;nbsp; FRDMKL25Z&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Pedro Santos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jul 2016 14:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Use-removed-MK20-part-from-freedom-board/m-p/157294#M469</guid>
      <dc:creator>prtronicsyslda</dc:creator>
      <dc:date>2016-07-17T14:31:12Z</dc:date>
    </item>
  </channel>
</rss>

