<?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: Flash procedure of the MKL02Z32VFM4 processor using Rx/Tx connection.</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231790#M5089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Paul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer. I did not have the time to answer you recently.&lt;/P&gt;&lt;P&gt;Sadly it does not help me a noob like me at all. Therfore I have lots of open questions for (I apologise in advance!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main MCU send change flash command: - No problem there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KL02 write a fixed byte a special value:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what is the "fixed byte"?&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what is meant by special value and write it where?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software Reset:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have been trying to figure this out but do not know which register I have to write so the SYSRESETREQ is set ... ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter Bootloader mode:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How can I enter this mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very sorry for all the questions, but I have to start from scratch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Edward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 08:03:45 GMT</pubDate>
    <dc:creator>edwardkäding</dc:creator>
    <dc:date>2014-03-04T08:03:45Z</dc:date>
    <item>
      <title>Flash procedure of the MKL02Z32VFM4 processor using Rx/Tx connection.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231788#M5087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Freescale Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new in this forum and appologise if this question has already been answered.&lt;/P&gt;&lt;P&gt;The customer support told me to write my questions in this forum so here I am.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have finished programming the Freescale MKL02Z32VFM4 processor and also set up the Rx/Tx axynchronous serial communication with the main CPU (continous transfer and not Master / Slave).&lt;/P&gt;&lt;P&gt;In future we would like to be able to flash the KL02 MCU using the the main CPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to flash the KL02-CPU using the same UART connection? Or do we need a second UART connection? Is it possible at all?&lt;/P&gt;&lt;P&gt;What is the flash procedure in general? Do we have to modify the internal programm when a flash command is set in motion or does it stop automatically etc..&lt;/P&gt;&lt;P&gt;Basically, all the information to implement a working flash procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thank everyone in advance who can help me.&lt;/P&gt;&lt;P&gt;Edward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 14:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231788#M5087</guid>
      <dc:creator>edwardkäding</dc:creator>
      <dc:date>2014-02-13T14:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Flash procedure of the MKL02Z32VFM4 processor using Rx/Tx connection.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231789#M5088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Edward&lt;/P&gt;&lt;P&gt;Yes, you no need to use another UART channel. &lt;/P&gt;&lt;P&gt;The general process as below. &lt;/P&gt;&lt;P&gt;Main MCU send change flash command -&amp;gt; KL02 write a fixed byte a special value -&amp;gt; software reset -&amp;gt; enter bootloader mode -&amp;gt; program flash -&amp;gt; change that fixed byte to 0x00 -&amp;gt; software reset -&amp;gt; normal run mode -&amp;gt; UART communication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 09:32:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231789#M5088</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2014-02-18T09:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Flash procedure of the MKL02Z32VFM4 processor using Rx/Tx connection.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231790#M5089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Paul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer. I did not have the time to answer you recently.&lt;/P&gt;&lt;P&gt;Sadly it does not help me a noob like me at all. Therfore I have lots of open questions for (I apologise in advance!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main MCU send change flash command: - No problem there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KL02 write a fixed byte a special value:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what is the "fixed byte"?&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what is meant by special value and write it where?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software Reset:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have been trying to figure this out but do not know which register I have to write so the SYSRESETREQ is set ... ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter Bootloader mode:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How can I enter this mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very sorry for all the questions, but I have to start from scratch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Edward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:03:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231790#M5089</guid>
      <dc:creator>edwardkäding</dc:creator>
      <dc:date>2014-03-04T08:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flash procedure of the MKL02Z32VFM4 processor using Rx/Tx connection.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231791#M5090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Edward&lt;/P&gt;&lt;P&gt;Please see my comment below.&lt;/P&gt;&lt;P&gt;KL02 write a fixed byte a special value:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what is the "fixed byte"?&lt;/P&gt;&lt;P&gt;I think you can set to 0xAA&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what is meant by special value and write it where?&lt;/P&gt;&lt;P&gt;One byte in flash where you do not place any code or other data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software Reset:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have been trying to figure this out but do not know which register I have to write so the SYSRESETREQ is set ... ?&lt;/P&gt;&lt;P&gt;You can reference following code. &lt;/P&gt;&lt;P&gt;#define NVIC_SystemReset()&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; SCB_AIRCR = SCB_AIRCR_VECTKEY(0x5FA)| SCB_AIRCR_SYSRESETREQ_MASK;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; while(1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Enter Bootloader mode:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How can I enter this mode?&lt;/P&gt;&lt;P&gt;You can reference this application note. &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 02:36:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231791#M5090</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2014-03-05T02:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Flash procedure of the MKL02Z32VFM4 processor using Rx/Tx connection.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231792#M5091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your very quick response.&lt;/P&gt;&lt;P&gt;I hope I can take a look at your advices. I still have 3 other projects which I am working at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice week,&lt;/P&gt;&lt;P&gt;Edward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 06:28:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231792#M5091</guid>
      <dc:creator>edwardkäding</dc:creator>
      <dc:date>2014-03-05T06:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Flash procedure of the MKL02Z32VFM4 processor using Rx/Tx connection.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231793#M5092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Edward&lt;/P&gt;&lt;P&gt;OK. No problem. Any questions, we can discuss in community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 08:37:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-procedure-of-the-MKL02Z32VFM4-processor-using-Rx-Tx/m-p/231793#M5092</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2014-03-05T08:37:47Z</dc:date>
    </item>
  </channel>
</rss>

