<?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 Motor Suite中的主题 Re: Issues with KMS Application when ported to custom hardware</title>
    <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792218#M563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The part is not secure, it's the KDS and P&amp;amp;E algorythm incorrectly interpreting the FSEC value of 0xEE as secure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like the KDS eclipse plug ins version and the multilink are out of date.&amp;nbsp; Make sure you download the latest version of the programming eclipse plug ins from P&amp;amp;E.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KMS is now supported by MCUXpresso and the latest SDK.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the previous update does not work I would suggest porting your code to the latest version of KMS and using MCUXpresso IDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Philip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2018 19:45:51 GMT</pubDate>
    <dc:creator>philip_drake</dc:creator>
    <dc:date>2018-08-17T19:45:51Z</dc:date>
    <item>
      <title>Issues with KMS Application when ported to custom hardware</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792214#M559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have started a sensor-less speed control application with KMS and took it to KDS to give is other functionality as needed. I have used a FRDM-KV31F board and every thing works as expected. I have recently received my custom board that has the same part number for the micro controller (MKV31F512VLL12P). When I flash the application in to my custom board the micro keep resting it self. I have tested that same board with some simple project from the SDK folder they all works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abdullah&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 13:32:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792214#M559</guid>
      <dc:creator>abdullahmamun</dc:creator>
      <dc:date>2018-08-16T13:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with KMS Application when ported to custom hardware</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792215#M560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Abdullah,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;It sounds like the MCU is not under control of the debug interface and the MCU may be blank. The constant resets is common if the part is blank.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Does you debug JTAG or SWD interface include the Reset pin.&amp;nbsp; The reset pin is required if the MCU has been secured.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;So this leads me to the next discussion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Were you ever able to connect to the MCU on your custom board? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;From the factory the MCU come programmed with two things in the flash, the flashloader and the KMS library.&amp;nbsp; It also is protected against mass erase by the setting of the Flash Security Register with a value of 0xEE which is also not -secure.&amp;nbsp; Some of the debug tools mistook the flash mass erase protection as being secure and would ask the user to mass erase.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If the part was mass erase the part is now secure and will require the reset pin to regain control over the MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If the part was mass erased during this interaction then the KMS software will not work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If the part was mass erase, and you still want to use KMS you must replace the MCU on your customer board with another factory programmed MCU.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Philip&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 14:36:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792215#M560</guid>
      <dc:creator>philip_drake</dc:creator>
      <dc:date>2018-08-16T14:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with KMS Application when ported to custom hardware</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792216#M561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philip&lt;/P&gt;&lt;P&gt;Thanks for your quick response. Although I have used KMS enabled MCU I don't need need is to interact with KMS anymore and the reset pin is connected. I am using SWD with a PE micro USB Multilink. As I have mentioned previously it is still working fine with other simple projects. It is only an issue when I load the motor control application from KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Abdullah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 23:19:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792216#M561</guid>
      <dc:creator>abdullahmamun</dc:creator>
      <dc:date>2018-08-16T23:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with KMS Application when ported to custom hardware</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792217#M562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Philip,&lt;/P&gt;&lt;P&gt;I have replaced the MCU today. Now it is prompting that the "Device is secure. Erase to unsecure?" if I select "No" it takes me to the P&amp;amp;E Connection assistance and only action that works is Abort. wondering if you can help me with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Abdullah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 15:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792217#M562</guid>
      <dc:creator>abdullahmamun</dc:creator>
      <dc:date>2018-08-17T15:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with KMS Application when ported to custom hardware</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792218#M563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The part is not secure, it's the KDS and P&amp;amp;E algorythm incorrectly interpreting the FSEC value of 0xEE as secure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like the KDS eclipse plug ins version and the multilink are out of date.&amp;nbsp; Make sure you download the latest version of the programming eclipse plug ins from P&amp;amp;E.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KMS is now supported by MCUXpresso and the latest SDK.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the previous update does not work I would suggest porting your code to the latest version of KMS and using MCUXpresso IDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Philip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:45:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Issues-with-KMS-Application-when-ported-to-custom-hardware/m-p/792218#M563</guid>
      <dc:creator>philip_drake</dc:creator>
      <dc:date>2018-08-17T19:45:51Z</dc:date>
    </item>
  </channel>
</rss>

