<?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: .hex file alignment in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378753#M1985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can disable re-generation of the linker file in PE, see &lt;A href="http://mcuoneclipse.com/2012/03/23/disable-my-code-generation/" title="http://mcuoneclipse.com/2012/03/23/disable-my-code-generation/"&gt;Disable my Code Generation | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 06:05:53 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2015-01-27T06:05:53Z</dc:date>
    <item>
      <title>.hex file alignment</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378752#M1984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So on a K22, the FLASH system wants to write 8 bytes on 8 byte alignment.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KDS isn't doing alignment like that on the back end of the .hex file.&amp;nbsp; I've got one that goes:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;:10AA2800000000000000000000000000000000001E&lt;/P&gt;&lt;P&gt;:10AA3800000000000000000000000000000000000E&lt;/P&gt;&lt;P&gt;:10AA480000000000000000000000000000000000FE&lt;/P&gt;&lt;P&gt;:10AA580000000000000000000000000000000000EE&lt;/P&gt;&lt;P&gt;:10AA680000000000000000000000000000000000DE&lt;/P&gt;&lt;P&gt;:10AA780000000000000000000000000000000000CE&lt;/P&gt;&lt;P&gt;:10AA8800880603000000FF1F00040000880A030076&lt;/P&gt;&lt;P&gt;:10AA98000000002000A000000000000000000000EE&lt;/P&gt;&lt;P&gt;:04AAA80000000000AA&lt;/P&gt;&lt;P&gt;:040000031000D7D141&lt;/P&gt;&lt;P&gt;:00000001FF&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So from this the last address is AAA8 + 4 bytes which isn't mod 8&amp;nbsp; I see things in the .ld file that are alignment oriented but that file is created by PE so I'm not too hip on editing it.&amp;nbsp; What I need is fill too which I don't know how to force done.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I get the environment to force that to 8 byte align/fill?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 22:43:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378752#M1984</guid>
      <dc:creator>randylee</dc:creator>
      <dc:date>2015-01-26T22:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: .hex file alignment</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378753#M1985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can disable re-generation of the linker file in PE, see &lt;A href="http://mcuoneclipse.com/2012/03/23/disable-my-code-generation/" title="http://mcuoneclipse.com/2012/03/23/disable-my-code-generation/"&gt;Disable my Code Generation | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 06:05:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378753#M1985</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-01-27T06:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: .hex file alignment</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378754#M1986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, I could tweak the linker file without it being regenerated but then I'd loose the ability to automatically add (or subtract) anything form the project too.&amp;nbsp; It's rather a little like editing your binary.... doable, but not great practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't suppose there's a better solution to this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:05:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378754#M1986</guid>
      <dc:creator>randylee</dc:creator>
      <dc:date>2015-01-27T14:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: .hex file alignment</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378755#M1987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you disable linker file generation (as outlined in that blog article), it disables linker file generation only. Everything else remains as before.&lt;/P&gt;&lt;P&gt;I'm using this in a few of my projects where I need some very specific stuff in the linker file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 16:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378755#M1987</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-01-27T16:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: .hex file alignment</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378756#M1988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I'll buy that and see where I get long term with it.&amp;nbsp; Looking at my diffs over time, this file hasn't changed (aside from the build number) since it was first laid down so I'll believe that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KDS, BTW as a little different options and layout than CW does in this regard.&amp;nbsp; Looks like it works in mostly the same way tho.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 18:42:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/hex-file-alignment/m-p/378756#M1988</guid>
      <dc:creator>randylee</dc:creator>
      <dc:date>2015-01-27T18:42:15Z</dc:date>
    </item>
  </channel>
</rss>

