<?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>S32 Design Studio中的主题 Re: Auto-generated *.bin file is too big by S32DS for ARM</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880501#M4597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the additional details.&lt;/P&gt;&lt;P&gt;If the data in your custom RAM section ("&lt;EM&gt;.FlashOperation&lt;/EM&gt;") are not initialized you basically need to tell linker not to load the section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be done by adding &lt;SPAN style="color: #373737; background-color: #ffffff; font-weight: 300;"&gt;&lt;STRONG&gt;NOLOAD&lt;/STRONG&gt; argument:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;.FlashOperation (NOLOAD):
 {
 &amp;nbsp;&amp;nbsp;&amp;nbsp;KEEP(*(.flashoperation))
 } &amp;gt; m_flashoperation‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stanislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2019 13:08:39 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2019-01-21T13:08:39Z</dc:date>
    <item>
      <title>Auto-generated *.bin file is too big by S32DS for ARM</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880498#M4594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've suddenly found that the .*bin file generated by IDE (S32DS) is too large,and&amp;nbsp;bigger than the chip's capability after I put some code to SRAM_U (S32K142) by using *.ld file (Custom Section Block). See below:&lt;/P&gt;&lt;P&gt;Any solutions would be very appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ld_file.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63142iDFDE2872DEDABC0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ld_file.JPG" alt="ld_file.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="bin.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63210i2F6281D691545BAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="bin.JPG" alt="bin.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 02:52:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880498#M4594</guid>
      <dc:creator>13761826501</dc:creator>
      <dc:date>2019-01-17T02:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-generated *.bin file is too big by S32DS for ARM</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880499#M4595</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;I assume you are building "&lt;STRONG&gt;Debug_FLASH&lt;/STRONG&gt;" build configuration which is basically creating ROM image of your application. There should not be any content in your binary file in RAM - since after power on reset such a RAM section is not initialized.&lt;/P&gt;&lt;P&gt;If a binary file (ROM image) contains a block of data placed into RAM&amp;nbsp; -&amp;nbsp; this creates huge gap since RAM starts around&amp;nbsp; at 0x2000_0000 whereas FLASH memory block starts at 0x0000_0000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A Raw Binary file is continuous memory block and the gaps are filled with a dummy values.&lt;/P&gt;&lt;P&gt;This is possibly the reason why your raw binary file is so big.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd recommend you to check the s-record file and search for RAM addresses. If your s-record contains a RAM address try to match this address with a linker section that is responsible for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems in your case the section responsible for the gap is "&lt;STRONG&gt;.CustomSectionBlock&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;The solution is to change the load address of this block and place it into FLASH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;.CustomSectionBlock&amp;nbsp;: AT(ROM Address)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where "ROM Address" is address in rom where image of this ram section should be placed.&lt;/P&gt;&lt;P&gt;Typically it is&amp;nbsp;the first free address in FLASH after all ROM sections (.text, rodata,...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you possibly post your .ld file and .map file if it does not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 10:19:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880499#M4595</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2019-01-17T10:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-generated *.bin file is too big by S32DS for ARM</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880500#M4596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stanislav,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Yeah you assumption is right, but the answer might not work out for me. &amp;nbsp;I wanna define an array which has its name pointer pointed to a certain RAM address at which located from&amp;nbsp;&amp;nbsp;0x20000440 to&amp;nbsp;&lt;SPAN&gt;0x200006c0. The executable data to be stored in the RAM area (0x20000440~0x200006c0) are&amp;nbsp;designed to be downloaded from Upper Computer via LIN communication. Which means that after power on reset, data will be placed to "0x20000440~0x200006c0" properly so that I can use "CopyToRAM[index]" to access those address area directly. see below code snippet:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63816i49EB55F91E875307/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and I've open the RAM area in SRAM_U:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63866i2AEBB2E334059C07/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then place the data to the absolute address:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63905i1438D8AE85A19EB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.JPG" alt="3.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That's really helps me when accessing a certain SRAM_U memory. but the *.bin file expanded as long as I put the "CopyToRam[]" array to SRAM_U through this way. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is that possible to use this way to access a certain absolute address at RAM meanwhile the *.bin that generated is not affected?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2019 10:43:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880500#M4596</guid>
      <dc:creator>13761826501</dc:creator>
      <dc:date>2019-01-19T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-generated *.bin file is too big by S32DS for ARM</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880501#M4597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the additional details.&lt;/P&gt;&lt;P&gt;If the data in your custom RAM section ("&lt;EM&gt;.FlashOperation&lt;/EM&gt;") are not initialized you basically need to tell linker not to load the section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be done by adding &lt;SPAN style="color: #373737; background-color: #ffffff; font-weight: 300;"&gt;&lt;STRONG&gt;NOLOAD&lt;/STRONG&gt; argument:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;.FlashOperation (NOLOAD):
 {
 &amp;nbsp;&amp;nbsp;&amp;nbsp;KEEP(*(.flashoperation))
 } &amp;gt; m_flashoperation‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stanislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2019 13:08:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880501#M4597</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2019-01-21T13:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-generated *.bin file is too big by S32DS for ARM</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880502#M4598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks man, it worked!&amp;nbsp; Thanks again for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 01:55:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880502#M4598</guid>
      <dc:creator>13761826501</dc:creator>
      <dc:date>2019-01-22T01:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-generated *.bin file is too big by S32DS for ARM</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880503#M4599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stanislav,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I have solved the too big .bin file problem by your suggest.But I find the .bin file be filled with 0x00 for 0x0000 to 0xb000 at same time.(PS. I generate app.bin file for bootloader appcation,the start address of app code is 0x4000)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; How can I need to set for this problem? I need the app.bin code start at 0x4000.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78404i6CB0460955EA399D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78316i98AAD50AAE598B7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78530iAB64C484D4BBD4F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;BTY, I find the&amp;nbsp;m_interrupts in 0x3c00,the m_data in 0x4410.This&amp;nbsp;circumstances different with my config.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78450i3C9A8DE395C0DE8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 13:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880503#M4599</guid>
      <dc:creator>simonliu</dc:creator>
      <dc:date>2019-03-22T13:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-generated *.bin file is too big by S32DS for ARM</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880504#M4600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Stanislav,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for support ! I have solved this problem.Tks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 13:42:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/880504#M4600</guid>
      <dc:creator>simonliu</dc:creator>
      <dc:date>2019-03-22T13:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-generated *.bin file is too big by S32DS for ARM</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/1545878#M9334</link>
      <description>&lt;P&gt;can i used in the s32DS for PA program?&amp;nbsp; &amp;nbsp;my mpc5744P also creates a bin file is too big.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2022 03:20:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Auto-generated-bin-file-is-too-big-by-S32DS-for-ARM/m-p/1545878#M9334</guid>
      <dc:creator>binZhang01</dc:creator>
      <dc:date>2022-10-29T03:20:37Z</dc:date>
    </item>
  </channel>
</rss>

