<?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 Re: Bootloader in half-duplex (RS485) environment in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684015#M401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ma Hui:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've downloaded&amp;nbsp;NXP_Kinetis_Bootloader_2_0_0/, and I have a simple question: How do I compile the flash-based bootloader for the&amp;nbsp;MKL25Z4 target?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a project file to import&amp;nbsp;into KDS? &amp;nbsp;Is there a Makefile? &amp;nbsp;My goal is simply to compile an image that I can load into a FRDM-KL25Z board to verify that I've made a working flash-based bootloader, but I don't see how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Robert Poor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Jul 2017 02:09:24 GMT</pubDate>
    <dc:creator>robertpoor</dc:creator>
    <dc:date>2017-07-29T02:09:24Z</dc:date>
    <item>
      <title>Bootloader in half-duplex (RS485) environment</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684012#M398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My client is building a system that will be potted in epoxy with&amp;nbsp;half-duplex RS485 as the sole communication link to the KL27Z (notably there is no JTAG). &amp;nbsp;This means that any character that the KL27Z transmits over LPUART0 will be simultaneously received by LPUART0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our firmware, we avoid these "ghost echo" characters by disabling LPUART's receiver whenever we transmit a character. &amp;nbsp;(This is safe because our RS485 protocols are strictly master / slave, and the master won't be trying to transmit&amp;nbsp;serial data when the KL27Z is transmitting.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gather that I'll need to write a custom flash-based bootloader to work in this situation. &amp;nbsp;My current development plan is as follows:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Verify that I can communicate with the ROM-based bootloader on a stock FRDM-KL27Z via blhost [DONE]&lt;/LI&gt;&lt;LI&gt;Compile an unmodified flash-based bootloader for the&amp;nbsp;FRDM-KL27Z board&lt;/LI&gt;&lt;LI&gt;Load unmodified flash-based bootloader into the FRDM-KL27Z board&amp;nbsp;and confirm I can communicate with it via blhost&lt;/LI&gt;&lt;LI&gt;Modify the bootloader for half-duplex RS485 serial communication (by disabling LPUART receiver whenever transmitting a character)&lt;/LI&gt;&lt;LI&gt;Verify operation on custom KL27Z based board&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently stuck at step 2: where do I find the recipe for the 2.0 bootloader, including compiling from source code and loading into the FRDM27 board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 18:41:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684012#M398</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2017-06-12T18:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader in half-duplex (RS485) environment</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684013#M399</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;First of all, sorry for the later reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the KL27 product provides ROM bootloader, customer need to refer the bootloader for other L series product, such as KL25/KL26.&lt;/P&gt;&lt;P&gt;The bootloader v2.0 for KL25 software located at ..\NXP_Kinetis_Bootloader_2_0_0\targets\MKL25Z4\iar folder.&lt;BR /&gt;Customer could refer and using LPUART module driver instead of UART module.&lt;BR /&gt;The AN2295 is also about the serial bootloader, which also provide serial bootloader for Kinetis L family.&lt;BR /&gt;Wish it helps.&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>Mon, 26 Jun 2017 06:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684013#M399</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-06-26T06:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader in half-duplex (RS485) environment</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684014#M400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. &amp;nbsp;I'll start with the flash bootloader for the KL25 and see if I can get it compiled and loaded onto the FRDM KL27Z. &amp;nbsp;Thank you for the pointer to AN2295.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- rdp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:10:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684014#M400</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2017-06-26T13:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader in half-duplex (RS485) environment</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684015#M401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ma Hui:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've downloaded&amp;nbsp;NXP_Kinetis_Bootloader_2_0_0/, and I have a simple question: How do I compile the flash-based bootloader for the&amp;nbsp;MKL25Z4 target?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a project file to import&amp;nbsp;into KDS? &amp;nbsp;Is there a Makefile? &amp;nbsp;My goal is simply to compile an image that I can load into a FRDM-KL25Z board to verify that I've made a working flash-based bootloader, but I don't see how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Robert Poor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 02:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684015#M401</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2017-07-29T02:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader in half-duplex (RS485) environment</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684016#M402</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;The IDE software could select IAR, KDS or Keil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bootloader project for KDS IDE could be found with below path:&lt;/P&gt;&lt;P&gt;..\NXP_Kinetis_Bootloader_2_0_0\targets\MKL25Z4\kds&lt;/P&gt;&lt;P&gt;For you are using FRDM-KL25Z, you need to select the [freedom_bootloader] demo, which located at :&lt;/P&gt;&lt;P&gt;..\NXP_Kinetis_Bootloader_2_0_0\targets\MKL25Z4\kds\freedom_bootloader&lt;/P&gt;&lt;P&gt;Then you need use KDS software menu [File]-&amp;gt;[Import]-&amp;gt;[Existing Project into Workspace], then to select the root directory and following the wizard to import the project.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6522iABC7C45F8C0BAF51/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&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>Tue, 01 Aug 2017 06:26:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684016#M402</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-08-01T06:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader in half-duplex (RS485) environment</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684017#M403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Ma Hui: Yes - that was the info I needed to get going. &amp;nbsp;I have other questions, but I'll start a separate thread for them -- in the meantime, I'm marking this as the correct answer. &amp;nbsp;Many thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 18:01:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/684017#M403</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2017-08-01T18:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader in half-duplex (RS485) environment</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/1275323#M1307</link>
      <description>&lt;P&gt;Hey there robertpoor,&lt;/P&gt;&lt;P&gt;We're just looking to do exactly this. Seems straight forward, but thought I would check to see if you're still around and have anything to pass on from your experience.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&amp;nbsp;&lt;/P&gt;&lt;P&gt;~ac80&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 04:10:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-in-half-duplex-RS485-environment/m-p/1275323#M1307</guid>
      <dc:creator>ac80</dc:creator>
      <dc:date>2021-05-12T04:10:21Z</dc:date>
    </item>
  </channel>
</rss>

