<?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>MCU Bootloader中的主题 Re: Kinetis Bootloader - How to build from sources?</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721945#M621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Jing.&amp;nbsp; I'm working with NXP_Kinetis_Bootloader_2_0_0 because this release has support for the MK66.&amp;nbsp; When I import the flashloader project and open the properties, I see that there are no values on the C/C++ Tool Settings page, so there is no path to any tools for building he project.&amp;nbsp; I suspect I'll have to reread the porting guide.&amp;nbsp; I tried importing the K64 project from FSL_Kinetis_Bootloader_1_2_0 and that builds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2018 17:02:20 GMT</pubDate>
    <dc:creator>jeremyanderson</dc:creator>
    <dc:date>2018-04-09T17:02:20Z</dc:date>
    <item>
      <title>Kinetis Bootloader - How to build from sources?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721940#M616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following MCU: S9KEAZN64AMLH (KEA Family - ARM® Cortex®-M0+)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given bootloader package &lt;STRONG&gt;NXP_Kinetis_Bootloader_1.2.0 for KS22 package &lt;/STRONG&gt;from &lt;A class="" href="https://www.nxp.com/pip/MCUBOOT?tab=Design_Tools_Tab" title="https://www.nxp.com/pip/MCUBOOT?tab=Design_Tools_Tab"&gt;MCU Bootloader|NXP&lt;/A&gt;, I want to change some settings in the source code of that bootloader, build and upload binary file to MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded the package and I have imported the project into CodeWarrior workspace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After project import, there a some things I don't understand:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="img.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61092i67EB9417F819589C/image-size/large?v=v2&amp;amp;px=999" role="button" title="img.png" alt="img.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Why are there three projects instead of one?&lt;/P&gt;&lt;P&gt;2. What are the configurations I have to make in order to be able to generate final bootloader image (probably .bin) which shall be uploaded on MCU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Is there any other IDE recommended for this or CodeWarrior should be fine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 11:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721940#M616</guid>
      <dc:creator>curiosul</dc:creator>
      <dc:date>2018-03-21T11:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader - How to build from sources?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721941#M617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;The three project has different usage&lt;/P&gt;&lt;P&gt;&amp;nbsp;flashloader: This subproject is the core of project. This subproject is laid in RAM. Because when implementing flash operation, code must be laid in RAM. When boot up, flashloader_loader/tower_bootloader copys flashloader's image to ram.&lt;BR /&gt;&amp;nbsp;flashloader_loader: If you don't want to keep bootloader after download application, you can use this subproject. This code is laid in flash address0, and can be covered when download application. It need flashloader to be pre-compile.&amp;nbsp;&lt;BR /&gt; tower_bootloader: If you want to keep bootloader after download application, you should use this subproject. You application should locate at 0xa000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, bootloader is default build in IAR/KEIL/KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 05:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721941#M617</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-03-22T05:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader - How to build from sources?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721942#M618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I finally managed to open that project correctly using KDS!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 12:37:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721942#M618</guid>
      <dc:creator>curiosul</dc:creator>
      <dc:date>2018-03-26T12:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader - How to build from sources?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721943#M619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I opened the same set of projects presuming that there is no harm in doing so.&amp;nbsp; I see from the above remarks that I'd need to compile the flashloader project anyway.&amp;nbsp; Now I cannot get the flashloader_loader project to compile.&amp;nbsp; The flashloader project does not seem to do anything when I compile it, but the flashloader_loader project reports that it cannot find a file:&lt;BR /&gt;Description Resource Path Location Type&lt;BR /&gt;fatal error: release/flashloader_image.c: No such file or directory bl_flashloader.c /flashloader_loader/src/bootloader/src line 40 C/C++ Problem&lt;/P&gt;&lt;P&gt;I looked at the batch file which I think is supposed to create this file and it invokes a Python script, but the path looks wrong.&amp;nbsp; When I change it though, no difference.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;The shortest answer for me would be what directory to import as a project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 22:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721943#M619</guid>
      <dc:creator>jeremyanderson</dc:creator>
      <dc:date>2018-04-04T22:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader - How to build from sources?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721944#M620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;When you compiled flashloader, did you see "Error while running cmd /c C:\work\bootloader\FSL_Kinetis_Bootloader_1_2_0_KS22_1_0_0\targets\MKS22F25612\iar\flashloader\..\..\..\..\bin\create_flashloader_image.bat C:\work\bootloader\ ........"&lt;/P&gt;&lt;P&gt;If yes, this is may because create_fl_image.py was written in python2, and you installed python3. Syntax error will happen when execute the file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 06:17:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721944#M620</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-04-09T06:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader - How to build from sources?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721945#M621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Jing.&amp;nbsp; I'm working with NXP_Kinetis_Bootloader_2_0_0 because this release has support for the MK66.&amp;nbsp; When I import the flashloader project and open the properties, I see that there are no values on the C/C++ Tool Settings page, so there is no path to any tools for building he project.&amp;nbsp; I suspect I'll have to reread the porting guide.&amp;nbsp; I tried importing the K64 project from FSL_Kinetis_Bootloader_1_2_0 and that builds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 17:02:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721945#M621</guid>
      <dc:creator>jeremyanderson</dc:creator>
      <dc:date>2018-04-09T17:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader - How to build from sources?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721946#M622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jing Pan for this advice.&amp;nbsp; I had several other problems to solve first.&amp;nbsp; The .cproject for the MK66 was missing a parent class definition.&amp;nbsp; Once I got that fixed I was able to go through the project properties and get things mostly right, but still encountered problems building the image.&amp;nbsp; I changed the script that invokes python by changing "python" to "py -2.7".&amp;nbsp; Now the whole thing builds (mostly) just fine.&amp;nbsp; Still fighting through a post build thing, but I am getting an image built.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 19:39:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/721946#M622</guid>
      <dc:creator>jeremyanderson</dc:creator>
      <dc:date>2018-04-10T19:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader - How to build from sources?</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/1588483#M1376</link>
      <description>&lt;P&gt;In flashloader_loader mode,how to load flashloader，with blhost？!But,as reference manual said,"The image on the flash has 2 programs: flashloader_loader and flashloader".If like this，how do they laid in the flash? I buid my own&amp;nbsp;flashloader_loader and flashloader with IDE sdk,I dont know how to deal with them.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 18:45:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-How-to-build-from-sources/m-p/1588483#M1376</guid>
      <dc:creator>nibabajohn</dc:creator>
      <dc:date>2023-01-26T18:45:38Z</dc:date>
    </item>
  </channel>
</rss>

