<?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のトピックDesign Note: blhost to program KL03</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Design-Note-blhost-to-program-KL03/m-p/404856#M22536</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;Here is a notice when using blhost to program KL03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue Background:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To program KL03 by blhost.exe, user will get the flash is in security state as below message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input 1: blhost.exe --p com47,38400 -- get-property 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Respond Message:&lt;/P&gt;&lt;P&gt;ping responded in attempt(s) &lt;/P&gt;&lt;P&gt;Inject command 'get-property' &lt;/P&gt;&lt;P&gt;Response status=0 &amp;lt;0x0&amp;gt;Success &lt;/P&gt;&lt;P&gt;Response word1=1 &amp;lt;0x1&amp;gt;&lt;/P&gt;&lt;P&gt;Flash Security State = &lt;SPAN style="color: #ff0000;"&gt;SECURE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input 2: blhost.exe --p com47,38400 -- flash-erase-all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Respond Message:&lt;/P&gt;&lt;P&gt;Ping tesponded in 1 attempt(s) &lt;/P&gt;&lt;P&gt;Inject command 'flash-erase-all' &lt;/P&gt;&lt;P&gt;Response status=&lt;SPAN style="color: #ff0000;"&gt;10001 &amp;lt;0x2711&amp;gt;Command disallowed when security is enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The symptom is similar to programming fail by BDM in some cases. The solution is down BDM speed.&lt;/P&gt;&lt;P&gt;So set the baud rate speed down to 9600 with each command and the problem is gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Moris Hsu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2015 08:14:04 GMT</pubDate>
    <dc:creator>LaMoris</dc:creator>
    <dc:date>2015-04-14T08:14:04Z</dc:date>
    <item>
      <title>Design Note: blhost to program KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Design-Note-blhost-to-program-KL03/m-p/404856#M22536</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;Here is a notice when using blhost to program KL03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue Background:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To program KL03 by blhost.exe, user will get the flash is in security state as below message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input 1: blhost.exe --p com47,38400 -- get-property 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Respond Message:&lt;/P&gt;&lt;P&gt;ping responded in attempt(s) &lt;/P&gt;&lt;P&gt;Inject command 'get-property' &lt;/P&gt;&lt;P&gt;Response status=0 &amp;lt;0x0&amp;gt;Success &lt;/P&gt;&lt;P&gt;Response word1=1 &amp;lt;0x1&amp;gt;&lt;/P&gt;&lt;P&gt;Flash Security State = &lt;SPAN style="color: #ff0000;"&gt;SECURE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input 2: blhost.exe --p com47,38400 -- flash-erase-all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Respond Message:&lt;/P&gt;&lt;P&gt;Ping tesponded in 1 attempt(s) &lt;/P&gt;&lt;P&gt;Inject command 'flash-erase-all' &lt;/P&gt;&lt;P&gt;Response status=&lt;SPAN style="color: #ff0000;"&gt;10001 &amp;lt;0x2711&amp;gt;Command disallowed when security is enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The symptom is similar to programming fail by BDM in some cases. The solution is down BDM speed.&lt;/P&gt;&lt;P&gt;So set the baud rate speed down to 9600 with each command and the problem is gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Moris Hsu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 08:14:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Design-Note-blhost-to-program-KL03/m-p/404856#M22536</guid>
      <dc:creator>LaMoris</dc:creator>
      <dc:date>2015-04-14T08:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Design Note: blhost to program KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Design-Note-blhost-to-program-KL03/m-p/404857#M22537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Hi Moris,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;My KL03 went secure on 2 occasions now after failing to program it using blhost.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;After the first time I found your post and changed the baudrate to 9600.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;The problem did still occur on 9600 only it went good more times before failing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Any idea what might cause this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Is there a way to recover the device after it is secure?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;PS: I’m getting tired of desoldering the processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 16:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Design-Note-blhost-to-program-KL03/m-p/404857#M22537</guid>
      <dc:creator>publius</dc:creator>
      <dc:date>2015-08-15T16:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Design Note: blhost to program KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Design-Note-blhost-to-program-KL03/m-p/404858#M22538</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;Are you sure that the flash security is not being set by the program that you are loading? Check the Flash configuration settings in the project - in case they are random (not controlled by the code) there is alway a risk of securing the device each time it is programed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case this is an unreliability in the KBOOT loader you can also take a look at the uTasker version at &lt;A href="http://www.utasker.com/kinetis/FRDM-KL03Z.html" title="http://www.utasker.com/kinetis/FRDM-KL03Z.html"&gt;µTasker FRDM-KL03Z support&lt;/A&gt; which supports - this however won't help if you use the ROMed one.&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;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KL03: &lt;A href="http://www.utasker.com/kinetis/FRDM-KL03Z.html" title="http://www.utasker.com/kinetis/FRDM-KL03Z.html"&gt;µTasker FRDM-KL03Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 13:15:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Design-Note-blhost-to-program-KL03/m-p/404858#M22538</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-08-17T13:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Design Note: blhost to program KL03</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Design-Note-blhost-to-program-KL03/m-p/404859#M22539</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;We are having similar difficulties here in this thread: &lt;A href="https://community.nxp.com/message/574523"&gt;KL03 blhost secure&lt;/A&gt;&amp;nbsp; regarding secure flash on new units. Any help would be very appreciated.&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;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 17:17:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Design-Note-blhost-to-program-KL03/m-p/404859#M22539</guid>
      <dc:creator>PabloBaena</dc:creator>
      <dc:date>2015-10-08T17:17:59Z</dc:date>
    </item>
  </channel>
</rss>

