<?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 How code i modified the BCA by write the memory command In KL27 ? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-code-i-modified-the-BCA-by-write-the-memory-command-In-KL27/m-p/403967#M22497</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to modified&amp;nbsp; the BCA by write the memory command In KL27,i tried to write the code like this：&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define BCAddress 0x03C0&lt;/P&gt;&lt;P&gt;#define usbStringsPointerAddress BCAddress+0x18&lt;/P&gt;&lt;P&gt;uint32_t kdskey = 0x6766636b;&lt;/P&gt;&lt;P&gt;uint32_t status1=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;status1 = flash_init(&amp;amp;flashInstance);&lt;/P&gt;&lt;P&gt;status1 = flash_program(&amp;amp;flashInstance, BCAddress, (uint32_t *) &amp;amp;kdskey, sizeof(uint32_t));&lt;/P&gt;&lt;P&gt;status1 = flash_program(&amp;amp;flashInstance, usbStringsPointerAddress, (uint32_t *) &amp;amp;g_languages, sizeof(uint32_t)); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the debug mode ,i found that all of the "status1" is "0"( it means kStatus_Success), then the program keep running and i stop it. i checked the Memory Brower ,in the places of "0x03C0" and "0x03C0 + 0x18",the value&amp;nbsp; is&amp;nbsp; 0xFF always. &lt;/P&gt;&lt;P&gt;I don't know why it can't work,and how could it be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Franck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2015 15:23:00 GMT</pubDate>
    <dc:creator>franck_lu</dc:creator>
    <dc:date>2015-09-23T15:23:00Z</dc:date>
    <item>
      <title>How code i modified the BCA by write the memory command In KL27 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-code-i-modified-the-BCA-by-write-the-memory-command-In-KL27/m-p/403967#M22497</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to modified&amp;nbsp; the BCA by write the memory command In KL27,i tried to write the code like this：&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define BCAddress 0x03C0&lt;/P&gt;&lt;P&gt;#define usbStringsPointerAddress BCAddress+0x18&lt;/P&gt;&lt;P&gt;uint32_t kdskey = 0x6766636b;&lt;/P&gt;&lt;P&gt;uint32_t status1=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;status1 = flash_init(&amp;amp;flashInstance);&lt;/P&gt;&lt;P&gt;status1 = flash_program(&amp;amp;flashInstance, BCAddress, (uint32_t *) &amp;amp;kdskey, sizeof(uint32_t));&lt;/P&gt;&lt;P&gt;status1 = flash_program(&amp;amp;flashInstance, usbStringsPointerAddress, (uint32_t *) &amp;amp;g_languages, sizeof(uint32_t)); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the debug mode ,i found that all of the "status1" is "0"( it means kStatus_Success), then the program keep running and i stop it. i checked the Memory Brower ,in the places of "0x03C0" and "0x03C0 + 0x18",the value&amp;nbsp; is&amp;nbsp; 0xFF always. &lt;/P&gt;&lt;P&gt;I don't know why it can't work,and how could it be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Franck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 15:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-code-i-modified-the-BCA-by-write-the-memory-command-In-KL27/m-p/403967#M22497</guid>
      <dc:creator>franck_lu</dc:creator>
      <dc:date>2015-09-23T15:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: How code i modified the BCA by write the memory command In KL27 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-code-i-modified-the-BCA-by-write-the-memory-command-In-KL27/m-p/403968#M22498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Franck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check below document about how to program BCA address, wish it helps.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-256669"&gt;Adapting KDS project for KBOOT flash resident bootloader&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 02:25:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-code-i-modified-the-BCA-by-write-the-memory-command-In-KL27/m-p/403968#M22498</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-09-24T02:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: How code i modified the BCA by write the memory command In KL27 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-code-i-modified-the-BCA-by-write-the-memory-command-In-KL27/m-p/403969#M22499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;STRONG style="font-size: 13px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;A href="https://community.nxp.com/people/Hui_Ma"&gt;Hui_Ma&lt;/A&gt; :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I solved it &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;thank you very match&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 09:12:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-code-i-modified-the-BCA-by-write-the-memory-command-In-KL27/m-p/403969#M22499</guid>
      <dc:creator>franck_lu</dc:creator>
      <dc:date>2015-09-29T09:12:22Z</dc:date>
    </item>
  </channel>
</rss>

