<?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: Include .bin (Bootloader) in Project. I trying to use .incbin in file assenly .S in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568404#M64434</link>
    <description>&lt;P&gt;then just use address zero, for example&lt;/P&gt;&lt;PRE&gt;.text 0x0000 : {
      "myBootloader.bin"
    }    &lt;/PRE&gt;</description>
    <pubDate>Mon, 12 Dec 2022 14:55:24 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2022-12-12T14:55:24Z</dc:date>
    <item>
      <title>Include .bin (Bootloader) in Project. I trying to use .incbin in file assenly .S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568178#M64430</link>
      <description>&lt;P&gt;I need to insert a Bootloader developed by an employer of my company.&lt;/P&gt;&lt;P&gt;He gives me, a .bin file. I tryied to use .incbin Assembly directive, but at the end of buildind when I check if bootloader is present in section .bootloader (I created this section only for bootloader), I see that the bootloader section is empty. I see only zero value.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;/* Define each memory region */&lt;BR /&gt;m_bootloader (rx) : ORIGIN = 0x00000000, LENGTH = 0x00008000&lt;BR /&gt;PROGRAM_FLASH (rx) : ORIGIN = 0x00008000, LENGTH = 0x80000 /* 512K bytes (alias Flash) */&lt;BR /&gt;SRAM_UPPER (rwx) : ORIGIN = 0x20000000, LENGTH = 0x10000 /* 64K bytes (alias RAM) */&lt;BR /&gt;SRAM_LOWER (rwx) : ORIGIN = 0x1fff0000, LENGTH = 0x10000 /* 64K bytes (alias RAM2) */&lt;BR /&gt;FLEX_RAM (rwx) : ORIGIN = 0x14000000, LENGTH = 0x1000 /* 4K bytes (alias RAM3) */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;SECTIONS&lt;BR /&gt;{&lt;BR /&gt;.bootloader :&lt;BR /&gt;{&lt;BR /&gt;. = ALIGN(4);&lt;BR /&gt;KEEP (*(.bootloader))&lt;BR /&gt;. = ALIGN(4);&lt;BR /&gt;} &amp;gt; m_bootloader&lt;BR /&gt;&lt;BR /&gt;/* MAIN TEXT SECTION */&lt;BR /&gt;.text : ALIGN(4)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the bootloader.S file:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;.section .bootloader, "a"&lt;BR /&gt;//.align 2&lt;/P&gt;&lt;P&gt;.incbin "/bootloader/Bootloader_MK22_Base.bin"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 09:48:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568178#M64430</guid>
      <dc:creator>vdavi81_cefla</dc:creator>
      <dc:date>2022-12-12T09:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Include .bin (Bootloader) in Project. I trying to use .incbin in file assenly .S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568359#M64432</link>
      <description>&lt;P&gt;I wrote about including a binary file in the linker file here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2022/06/17/include-bin-binary-files-in-a-gnu-linker-file/" target="_blank"&gt;https://mcuoneclipse.com/2022/06/17/include-bin-binary-files-in-a-gnu-linker-file/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 13:55:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568359#M64432</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-12-12T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Include .bin (Bootloader) in Project. I trying to use .incbin in file assenly .S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568394#M64433</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;but I need to have the values of the firmware (It is a bootloader) starting in the mem address zero.. like shown in figure below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vdavi81_cefla_0-1670856450415.png" style="width: 883px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204073i29EA30937B01D223/image-dimensions/883x405?v=v2" width="883" height="405" role="button" title="vdavi81_cefla_0-1670856450415.png" alt="vdavi81_cefla_0-1670856450415.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 14:48:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568394#M64433</guid>
      <dc:creator>vdavi81_cefla</dc:creator>
      <dc:date>2022-12-12T14:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Include .bin (Bootloader) in Project. I trying to use .incbin in file assenly .S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568404#M64434</link>
      <description>&lt;P&gt;then just use address zero, for example&lt;/P&gt;&lt;PRE&gt;.text 0x0000 : {
      "myBootloader.bin"
    }    &lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Dec 2022 14:55:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568404#M64434</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-12-12T14:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Include .bin (Bootloader) in Project. I trying to use .incbin in file assenly .S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568413#M64435</link>
      <description>&lt;P&gt;I that I wrote, but the myBootloader.bin doesn't write in 0x000 position&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568413#M64435</guid>
      <dc:creator>vdavi81_cefla</dc:creator>
      <dc:date>2022-12-12T15:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Include .bin (Bootloader) in Project. I trying to use .incbin in file assenly .S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568443#M64436</link>
      <description>&lt;P&gt;then just use the address where you wanna have it.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 15:58:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1568443#M64436</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-12-12T15:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Include .bin (Bootloader) in Project. I trying to use .incbin in file assenly .S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1569035#M64443</link>
      <description>&lt;P&gt;I'd like to make some test ... Where I can download Kinetis Flash Tools?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 14:28:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1569035#M64443</guid>
      <dc:creator>vdavi81_cefla</dc:creator>
      <dc:date>2022-12-13T14:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Include .bin (Bootloader) in Project. I trying to use .incbin in file assenly .S</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1569045#M64444</link>
      <description>&lt;P&gt;It is part of the MCUXpresso IDE: &lt;A href="https://mcuoneclipse.com/2020/12/05/standalone-and-command-line-programmer-with-mcuxpresso/" target="_blank"&gt;https://mcuoneclipse.com/2020/12/05/standalone-and-command-line-programmer-with-mcuxpresso/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 14:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Include-bin-Bootloader-in-Project-I-trying-to-use-incbin-in-file/m-p/1569045#M64444</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-12-13T14:37:57Z</dc:date>
    </item>
  </channel>
</rss>

