<?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: burst access across SRAM upper / lower boundary in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/burst-access-across-SRAM-upper-lower-boundary/m-p/370895#M1796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran into a problem with this. We had allocated all the RAM as a single block. The boundary between the upper and lower SRAM ended up in the middle of our heap. We had allocated an array buffer across the boundary. The buffer was used to collect data to be parsed. While parsing the data, we randomly ended up with a misaligned WORD or DWORD read across the boundary. This lead to a hard fault. It was very intermittent and very difficult to find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the boundary was in the heap, Our solution was: on startup we allocated a small array over the boundary and orphaned it. This guarantied no active data item straddled the boundary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Norm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2015 19:28:02 GMT</pubDate>
    <dc:creator>ndavies</dc:creator>
    <dc:date>2015-04-01T19:28:02Z</dc:date>
    <item>
      <title>burst access across SRAM upper / lower boundary</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/burst-access-across-SRAM-upper-lower-boundary/m-p/370894#M1795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The manual for K22 states:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Burst-access cannot occur across the 0x2000_0000 boundary&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;that separates the two SRAM arrays. The two arrays should be&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;treated as separate memory ranges for burst accesses.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone give me an example of when "burst access" might occur in an application?&amp;nbsp; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to use the SRAM as one block (disable the two seperate blocks in linker map, and just use one).&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Has anyone actually encountered a problem in real life doing this?&amp;nbsp; And not just in theory.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 16:44:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/burst-access-across-SRAM-upper-lower-boundary/m-p/370894#M1795</guid>
      <dc:creator>mike1974</dc:creator>
      <dc:date>2015-04-01T16:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: burst access across SRAM upper / lower boundary</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/burst-access-across-SRAM-upper-lower-boundary/m-p/370895#M1796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran into a problem with this. We had allocated all the RAM as a single block. The boundary between the upper and lower SRAM ended up in the middle of our heap. We had allocated an array buffer across the boundary. The buffer was used to collect data to be parsed. While parsing the data, we randomly ended up with a misaligned WORD or DWORD read across the boundary. This lead to a hard fault. It was very intermittent and very difficult to find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the boundary was in the heap, Our solution was: on startup we allocated a small array over the boundary and orphaned it. This guarantied no active data item straddled the boundary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Norm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 19:28:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/burst-access-across-SRAM-upper-lower-boundary/m-p/370895#M1796</guid>
      <dc:creator>ndavies</dc:creator>
      <dc:date>2015-04-01T19:28:02Z</dc:date>
    </item>
  </channel>
</rss>

