<?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: Generated Srec file has wrong only 16bit address in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1385621#M13211</link>
    <description>&lt;P&gt;Hello&amp;nbsp;KARTHIK SV,&lt;/P&gt;
&lt;P&gt;You may also modify the behavior of objcopy command by the appropriate options.&lt;/P&gt;
&lt;P&gt;The "--srec-len=xx" allows configuring the length of S-records.&lt;/P&gt;
&lt;P&gt;The "--srec-forceS3" allows selecting 32bit addresses in generated S-records.&lt;/P&gt;
&lt;P&gt;Please edit the project properties, go to section Standard S32DS Create Flash Image -&amp;gt; General and add these options into the Other flags field.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 843px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164969i2EA5B14281648A1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note: do not forget to clean the project before the next build.&lt;/P&gt;
&lt;P&gt;I hope it helps you.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Radek&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 10:57:30 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2021-12-13T10:57:30Z</dc:date>
    <item>
      <title>Generated Srec file has wrong only 16bit address</title>
      <link>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1382612#M13122</link>
      <description>&lt;P&gt;Hi team&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was generating Srec file , everytime we build a project (Enabled &lt;STRONG&gt;create flash image&lt;/STRONG&gt; checkbox in project settings)&lt;/P&gt;&lt;P&gt;So I was able to generate Srec file , everytime a build is done&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the problem is it is creating only 16bit address , Srec file (PFA)&lt;/P&gt;&lt;P&gt;Please let me know if I have to modify any items in settings tab&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (40).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164322i9856E366B0048926/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (40).png" alt="Screenshot (40).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Karthik SV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 11:02:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1382612#M13122</guid>
      <dc:creator>KARTHKSARODE</dc:creator>
      <dc:date>2021-12-07T11:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Generated Srec file has wrong only 16bit address</title>
      <link>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1384089#M13174</link>
      <description>&lt;P&gt;Hi Karthik,&lt;/P&gt;
&lt;P&gt;I just tested it.&lt;/P&gt;
&lt;P&gt;The S32DS selects the S-record type based on the linker file.&lt;/P&gt;
&lt;P&gt;If it fits within to the 16bit address space, it will create an s-record with 16bit addressing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add the following to the linker file, and it should generate a 32bit-address s-record:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1639060130098.png" style="width: 626px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164656iF25F86406DD80E19/image-dimensions/626x288?v=v2" width="626" height="288" role="button" title="danielmartynek_0-1639060130098.png" alt="danielmartynek_0-1639060130098.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1639060177109.png" style="width: 661px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164657i94D0F660AAC00A06/image-dimensions/661x328?v=v2" width="661" height="328" role="button" title="danielmartynek_1-1639060177109.png" alt="danielmartynek_1-1639060177109.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1639393633583.png" style="width: 584px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164970i3FAE2511EABBBC45/image-dimensions/584x145?v=v2" width="584" height="145" role="button" title="danielmartynek_0-1639393633583.png" alt="danielmartynek_0-1639393633583.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 11:07:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1384089#M13174</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-12-13T11:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Generated Srec file has wrong only 16bit address</title>
      <link>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1384586#M13182</link>
      <description>&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;I tried doing the same thing , what you have suggested !!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once build is done , I can see the MEMORY Section m_dfash created in .map file&lt;/P&gt;&lt;P&gt;But Srec still has 16 bit address , not 32 bit address&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; : I have modified the &lt;STRONG&gt;S32K1xx_flash.ld&lt;/STRONG&gt; linker file&lt;/P&gt;&lt;P&gt;Please let me know , if i have to make changes in linker file&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KARTHIK SV&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 06:41:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1384586#M13182</guid>
      <dc:creator>KARTHKSARODE</dc:creator>
      <dc:date>2021-12-10T06:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Generated Srec file has wrong only 16bit address</title>
      <link>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1384598#M13185</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please find the modified linker file &amp;amp; generated srec file&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if there is any error in linker file&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; : To upload here , I have modified those file as &lt;STRONG&gt;.txt&lt;/STRONG&gt; file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KARTHIK SV&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 06:54:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1384598#M13185</guid>
      <dc:creator>KARTHKSARODE</dc:creator>
      <dc:date>2021-12-10T06:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Generated Srec file has wrong only 16bit address</title>
      <link>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1385621#M13211</link>
      <description>&lt;P&gt;Hello&amp;nbsp;KARTHIK SV,&lt;/P&gt;
&lt;P&gt;You may also modify the behavior of objcopy command by the appropriate options.&lt;/P&gt;
&lt;P&gt;The "--srec-len=xx" allows configuring the length of S-records.&lt;/P&gt;
&lt;P&gt;The "--srec-forceS3" allows selecting 32bit addresses in generated S-records.&lt;/P&gt;
&lt;P&gt;Please edit the project properties, go to section Standard S32DS Create Flash Image -&amp;gt; General and add these options into the Other flags field.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 843px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164969i2EA5B14281648A1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note: do not forget to clean the project before the next build.&lt;/P&gt;
&lt;P&gt;I hope it helps you.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Radek&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 10:57:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Generated-Srec-file-has-wrong-only-16bit-address/m-p/1385621#M13211</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2021-12-13T10:57:30Z</dc:date>
    </item>
  </channel>
</rss>

