<?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: fill 0x00 to the user flash</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015105#M5877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,now i use a new problem ,i use the same solution &amp;nbsp;in the S32K146,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it show this&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95938i6CE32D26F3D01795/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it generate &amp;nbsp;the bin file over 128k byte &amp;nbsp;and the accessory is my ld file &amp;nbsp;,my IDE is&amp;nbsp;&lt;/P&gt;&lt;P&gt;S32 Design Studio for ARM Version 2018.R1&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/95943iFBCE98CFB3FB07F8/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_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95944i90F157030B151492/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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2019 02:26:15 GMT</pubDate>
    <dc:creator>oceansea</dc:creator>
    <dc:date>2019-12-09T02:26:15Z</dc:date>
    <item>
      <title>fill 0x00 to the user flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015099#M5871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i use the S32K MCU,and i set generate bin file ,it's 70kB(addr is 0~0x117FF)&lt;/P&gt;&lt;P&gt;but i want to fill 0x00 to &amp;nbsp;the addr &amp;nbsp;0x11800~0x11fff, &amp;nbsp;because i need set checksum .&lt;/P&gt;&lt;P&gt;how to set &amp;nbsp;auto fill the bin file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 07:38:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015099#M5871</guid>
      <dc:creator>oceansea</dc:creator>
      <dc:date>2019-11-20T07:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: fill 0x00 to the user flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015100#M5872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can modify linker file for that and define for example m_fill memory area and .fill section:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62324iCF7AC7773DB5731A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&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/65719i189E6FB9501E8BEB/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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In attachment is an example. Hope it helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:42:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015100#M5872</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-11-20T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: fill 0x00 to the user flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015101#M5873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,thanks reply&amp;nbsp;&lt;/P&gt;&lt;P&gt;i do follow your idea, but it&amp;nbsp;can't hanve a perfect &amp;nbsp;result, i do this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93130i4A256216CEEF1180/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92715i067E54FCE35E792E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;because my prj is app ,it has a bootloader jump to here. so my start addr not 0x00000000,&lt;/P&gt;&lt;P&gt;is 0x20000.And then i generater the bin file&amp;nbsp;&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/93190i7F1F706B9CB72678/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;the end addr is 0x20DDB, i think ,&lt;/P&gt;&lt;P&gt;my start is 0x20000,and the m_text start addr is 0x20410,lenth is 0x1EBF0, so&amp;nbsp;&lt;/P&gt;&lt;P&gt;the app end addr is 0x3EFFF.Then ,the m_fill start addr is 0x3F000,lenth is&lt;/P&gt;&lt;P&gt;0x1000, and the file end addr should be 0x40000. &amp;nbsp; Because my app file start is&amp;nbsp;&lt;/P&gt;&lt;P&gt;0x20000,not 0 ,so the file end addr should be (0x40000-0x20000)=0x20000.&lt;/P&gt;&lt;P&gt;My &amp;nbsp;MCU is S32K148&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 03:34:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015101#M5873</guid>
      <dc:creator>oceansea</dc:creator>
      <dc:date>2019-11-21T03:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: fill 0x00 to the user flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015102#M5874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what's wrong with your project - but on my side is everything working okay - I used S32K148 and your address range. Here is S-Record:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94259i45060001B2CF57A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here raw binary file (0x3F000 - 0x20000 - binary file starts always from 0x00000000):&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/93508iCEFA27E21A8F1D0E/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;/P&gt;&lt;P&gt;I forgot mention that for raw binary file you also need to fill by 0x00&amp;nbsp; unused m_text section. Binary doesn't contain addresses and your 0x00 part starts right after last program instruction. Thats why bin file has 128k and s-record only 29k. So,&amp;nbsp; just add into last m_text entry:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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/93980i42E1A92EF5B4A28E/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;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 08:22:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015102#M5874</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-11-22T08:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: fill 0x00 to the user flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015103#M5875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;thanks reply ,is perfect solve my problem.&lt;/P&gt;&lt;P&gt;But i don't &amp;nbsp;about&amp;nbsp;__ROM_AT = .;&lt;/P&gt;&lt;P&gt;can you tell me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 01:01:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015103#M5875</guid>
      <dc:creator>oceansea</dc:creator>
      <dc:date>2019-11-25T01:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: fill 0x00 to the user flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015104#M5876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took this part from another thread and originally it is from Erich Styger's blog -&amp;nbsp;&lt;A class="link-titled" href="https://mcuoneclipse.com/2014/06/23/filling-unused-memory-with-the-gnu-linker/" title="https://mcuoneclipse.com/2014/06/23/filling-unused-memory-with-the-gnu-linker/"&gt;FILLing unused Memory with the GNU Linker | MCU on Eclipse&lt;/A&gt;&amp;nbsp; - as he said - some Linkers/startup code needs this symbol to be defined. For S32DS for ARM&amp;nbsp; v2018.R1 - you can remove it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 07:16:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015104#M5876</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-11-25T07:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: fill 0x00 to the user flash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015105#M5877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,now i use a new problem ,i use the same solution &amp;nbsp;in the S32K146,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it show this&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95938i6CE32D26F3D01795/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it generate &amp;nbsp;the bin file over 128k byte &amp;nbsp;and the accessory is my ld file &amp;nbsp;,my IDE is&amp;nbsp;&lt;/P&gt;&lt;P&gt;S32 Design Studio for ARM Version 2018.R1&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/95943iFBCE98CFB3FB07F8/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_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95944i90F157030B151492/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 02:26:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fill-0x00-to-the-user-flash/m-p/1015105#M5877</guid>
      <dc:creator>oceansea</dc:creator>
      <dc:date>2019-12-09T02:26:15Z</dc:date>
    </item>
  </channel>
</rss>

