<?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 &amp;quot;Start address&amp;quot; error with DMA memory sections (IMXRT) in MCUXpresso Secure Provisioning Tool</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036224#M12</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp; I am getting an error for the Start Address when trying to generate a bootable image using the Provisioning Tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My project uses a section of OCRAM for a noncached DMA buffer location.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remove this section, the Start Address is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I use the Provisioning Tool with this DMA buffer section?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100418i9936B2A1448CF222/image-size/large?v=v2&amp;amp;px=999" role="button" title="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg" alt="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg" /&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="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100539iAC9E3D4D4D795C08/image-size/large?v=v2&amp;amp;px=999" role="button" title="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg" alt="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg" /&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="start_addr_error.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100235iCB0D0901BF307DB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="start_addr_error.jpg" alt="start_addr_error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Feb 2020 21:02:23 GMT</pubDate>
    <dc:creator>jackking</dc:creator>
    <dc:date>2020-02-16T21:02:23Z</dc:date>
    <item>
      <title>"Start address" error with DMA memory sections (IMXRT)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036224#M12</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp; I am getting an error for the Start Address when trying to generate a bootable image using the Provisioning Tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My project uses a section of OCRAM for a noncached DMA buffer location.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remove this section, the Start Address is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I use the Provisioning Tool with this DMA buffer section?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100418i9936B2A1448CF222/image-size/large?v=v2&amp;amp;px=999" role="button" title="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg" alt="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg" /&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="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100539iAC9E3D4D4D795C08/image-size/large?v=v2&amp;amp;px=999" role="button" title="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg" alt="Properties_for_MIMXRT1062xxxxA_Project_OS_TEST07.jpg" /&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="start_addr_error.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100235iCB0D0901BF307DB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="start_addr_error.jpg" alt="start_addr_error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Feb 2020 21:02:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036224#M12</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2020-02-16T21:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: "Start address" error with DMA memory sections (IMXRT)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036225#M13</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible for you to provide an image and a map? Not necessary of your application, but an example so we can reproduce and debug the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 10:16:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036225#M13</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2020-02-21T10:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: "Start address" error with DMA memory sections (IMXRT)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036226#M14</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure,&amp;nbsp; here is a simple example based on hello_world sample.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a DMA memory region and initialized a byte array in the DMA region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use an Embedded Artists EVK, so you would need to change the flash driver if you want to build it for the NXP EVK, but I included the Debug .axf file in the zip file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SPT_test.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102618i7C2EE48192307797/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPT_test.jpg" alt="SPT_test.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Feb 2020 17:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036226#M14</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2020-02-22T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: "Start address" error with DMA memory sections (IMXRT)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036227#M15</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look at the example attached and discovered two possible issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First one is about&amp;nbsp;XIP_BOOT_HEADER_ENABLE preprocessor defined symbol which is set to 1 and must be set to 0. This version of SPT is not handle&amp;nbsp;&lt;SPAN&gt;XIP_BOOT_HEADER_ENABLE=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;&lt;/SPAN&gt;Did you intentional set&amp;nbsp;NonCacheable section as .bss? When&amp;nbsp;&lt;SPAN&gt;NonCacheable&amp;nbsp;section is set as .bss, then there is no relocation of the&amp;nbsp;.data_RAM4 section from flash, because the size of this section is 0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.data_RAM4 00000000 20240000 20240000 00030004 2**2&lt;/P&gt;&lt;P&gt;CONTENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;NonCacheable&lt;SPAN&gt;&amp;nbsp;section is placed in .data, relocation data is added and image can be loaded by SPT with no error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;.data_RAM4 00000c80 20240000 60005b64 00020000 2**5&lt;BR /&gt;CONTENTS, ALLOC, LOAD, DATA&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Adrian&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 14:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036227#M15</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2020-02-25T14:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: "Start address" error with DMA memory sections (IMXRT)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036228#M16</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The XIP header was an error, as I created this project just to demonstrate the address error for you, not actually create a bootable image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The NonCacheable setting is from the default settings in Hello World example.&amp;nbsp; All I did was change the memory region used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After changing it to .data, the address is correct for SPT.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Properties_for_evkmimxrt1060_hello_world.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98010iC0B54E3EFF7A046C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Properties_for_evkmimxrt1060_hello_world.jpg" alt="Properties_for_evkmimxrt1060_hello_world.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 18:03:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Start-address-quot-error-with-DMA-memory-sections-IMXRT/m-p/1036228#M16</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2020-02-25T18:03:34Z</dc:date>
    </item>
  </channel>
</rss>

